@descope/flow-components 3.13.2 → 3.14.0
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/fm/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/467.js +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/537.js +2 -0
- package/dist/fm/537.js.map +1 -0
- package/dist/fm/985.js +1 -1
- package/dist/fm/985.js.map +1 -1
- package/dist/fm/@mf-types/compiled-types/MultiSso/MultiSso.d.ts +39 -0
- package/dist/fm/@mf-types/compiled-types/MultiSso/index.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/componentClasses.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/components.d.ts +1 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/__federation_expose_theme.js.map +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/flowComponents.js.map +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/main.js.map +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +1380 -811
- package/dist/index.d.ts +115 -77
- package/dist/index.esm.js +9 -2
- package/dist/types/MultiSso/MultiSso.d.ts +39 -0
- package/dist/types/MultiSso/index.d.ts +1 -0
- package/dist/types/componentClasses.d.ts +1 -0
- package/dist/types/components.d.ts +1 -0
- package/package.json +2 -2
- package/dist/fm/30.js +0 -2
- package/dist/fm/30.js.map +0 -1
package/dist/fm/222.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_descope_flow_components_3_13_2_1780866954577=self.webpackChunk_descope_flow_components_3_13_2_1780866954577||[]).push([[222],{5222(t,e,i){i.d(e,{$9:()=>Hy,$y:()=>Yu,A8:()=>xc,Ag:()=>Ka,C1:()=>Vc,C9:()=>xo,Cz:()=>ac,Er:()=>Zp,G6:()=>Gx,HO:()=>$i,HT:()=>to,J1:()=>ko,Jr:()=>Wi,Lg:()=>Pu,MN:()=>cs,Mz:()=>La,NF:()=>Zs,O7:()=>yM,Od:()=>bu,QW:()=>ec,Qb:()=>LM,SE:()=>so,SQ:()=>So,T$:()=>gy,T1:()=>ej,TV:()=>Gu,Ul:()=>aa,VN:()=>vd,VX:()=>vr,_w:()=>Ee,a5:()=>Hx,bL:()=>ur,bU:()=>Tg,br:()=>V,dX:()=>eh,dq:()=>im,du:()=>Gh,e7:()=>Ce,eA:()=>Cc,eo:()=>pl,ew:()=>he,fp:()=>Nl,gZ:()=>lu,h5:()=>WM,jH:()=>Sr,k0:()=>Nr,l1:()=>oo,lZ:()=>cb,md:()=>Dr,ml:()=>Qt,mq:()=>Xc,o9:()=>Ar,o_:()=>fe,pp:()=>Fc,px:()=>wu,q:()=>Km,q4:()=>zi,qn:()=>vo,rG:()=>Tu,sK:()=>Li,tD:()=>Xd,tS:()=>iu,td:()=>Oh,tl:()=>Xr,ul:()=>Pa,v_:()=>xr,w8:()=>qn,wt:()=>Na,xO:()=>Is,xp:()=>hu,xs:()=>wn,yW:()=>FM,yi:()=>um,yj:()=>_g,zQ:()=>Fx,zZ:()=>Zm});var o=i(7949),n=i(72),r=i.n(n),s=i(8089),a=i.n(s),l=i(465),d=i.n(l),c=(i(8231),i(4873),i(865),i(4598),i(7519)),u=(i(496),i(7726),i(4155),i(9504),i(1399),i(5877),i(3798),i(8619),i(1394)),p=i(3667),h=(i(8319),i(3826)),g=i(8677),M=i(127),m=(i(9849),i(4899),i(3977),i(9435),i(7822),i(5595),i(6601),i(9792)),y=i(1206),b=i(8733),N=i(268);const I="descope",x=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),j=(...t)=>x(t.filter(t=>!!t).join("-")),T=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),D=t=>"function"==typeof t,z=(t,e,{excludeAttrs:i=[],includeAttrs:o=[]})=>{const n=Array.from(t.attributes).filter(t=>!i.includes(t.name)&&(!o.length||o.includes(t.name))).map(t=>t.name);e(n);const r=new MutationObserver(t=>{t.forEach(t=>{"attributes"!==t.type||i.includes(t.attributeName)||o.length&&!o.includes(t.attributeName)||e([t.attributeName])})});return r.observe(t,{attributes:!0}),{disconnect:()=>r.disconnect()}},v=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver(t=>{t.forEach(t=>{"childList"!==t.type&&"characterData"!==t.type||e(t)})}).observe(t,{childList:!0,characterData:!0,subtree:!0})},C=(t,e,i={})=>o=>{o.forEach(o=>{const n=i[o]||o,r=t.getAttribute(o);e&&(null!==r?e.getAttribute(n)!==r&&e.setAttribute(n,r):e.removeAttribute(n))})},S=(t,e,i)=>{z(t,C(t,e),i),z(e,C(e,t),i)},L=t=>j(I,t),A=(...t)=>`--${j(...t)}`,w=(t,e,i={})=>z(t,C(t,e,i.mapAttrs),i),f=(t,e,{prepend:i=!1}={})=>{let o;try{o=new CSSStyleSheet}catch{return k(t,e,{prepend:i})}const n=e?.shadowRoot||e;if(t&&o.replaceSync(t),n){const t=[...n.adoptedStyleSheets||[]];t[i?"unshift":"push"](o),n.adoptedStyleSheets=t}return t&&!o.cssRules[0]?.style&&console.warn(`No style rules were created, make sure the CSS is valid:\n "${t}"`),o};class E{constructor(t,e,{prepend:i=!1}={}){this.styleEle=document.createElement("style"),this.styleEle.textContent=t,this.styleEle.setAttribute("nonce",window.DESCOPE_NONCE),this.ref=e?.shadowRoot||e,this.ref&&(i?this.ref.prepend(this.styleEle):this.ref.append(this.styleEle))}replaceSync(t){this.styleEle.textContent=t}get cssRules(){return this.styleEle.sheet?.cssRules}}const k=(t,e,{prepend:i=!1}={})=>new E(t,e,{prepend:i}),O=(t,e=2)=>t.trim().split(" ").splice(0,e).map(t=>t[0]?.toUpperCase()).join(""),V=new class{static mountOnPropName="DescopeThemeManager";#t={};#e="light";#i=new Set;#o(){this.#i.forEach(t=>t?.())}get currentThemeName(){return this.#e}set currentThemeName(t){this.#e=t,this.#o()}get currentTheme(){return this.#t[this.currentThemeName]}onCurrentThemeChange(t){return this.#i.add(t),()=>{this.#i.delete(t)}}set themes(t){this.#t=t,this.#o()}get hasThemes(){return!!Object.keys(this.#t).length}},U=.25,Y=.1,W=(t,e)=>t.darken(e).hex(),R=t=>{const e=t.isDark();return t.mix(d()(e?"white":"black"),1).saturate(1).hex()},Q=(t,e)=>t.lightness()<.5?t.lightness(100*e).hex():t.lighten(e).hex(),P=t=>t.luminosity()>.99,B=(t,e)=>(t=>t.luminosity()<.01)(t)?Q(t,U):W(t,.4),Z=(t,e)=>P(t)?W(t,U):Q(t,.4),F=(t,e)=>P(t)?W(t,Y):Q(t,.8),G=(t,e)=>{const i=new(d())(t.main||t);return{main:i.hex(),dark:t.dark||B(i),light:t.light||Z(i),highlight:t.highlight||F(i),contrast:t.contrast||R(i)}},H=t=>`\n :host {\n padding: calc(var(${t.inputOutlineWidth}) + var(${t.inputOutlineOffset}))\n }\n`,J=t=>`\n ${t} > label,\n ${t}::part(label),\n ${t}::part(required-indicator) {\n cursor: pointer;\n }\n`,$=(t,e="input")=>`\n ${t}[disabled] > ${e}:placeholder-shown,\n\t${t}[readonly] > ${e}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,_=t=>`\n ${t}::part(input-field)::after {\n opacity: 0;\n }\n`,q=t=>`\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${t} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,X=t=>A(I,...t),K=(t,e,i)=>{const o=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return o.reduce((t,e,n)=>(void 0===t[e]&&(t[e]={}),n===o.length-1&&(t[e]=i),t[e]),t),t},tt=(t,e,i)=>Object.entries(t).reduce((t,[o,n])=>n?.constructor!==Object?a()(t,i(e.concat(o),n)):a()(t,tt(n,[...e,o],i)),{}),et=(t,e)=>tt(t,[],t=>K({},t,`var(${X(t)})`)),it=(...t)=>t.reduceRight((t,e)=>e.startsWith("--")?`var(${e}${t?`, ${t}`:t})`:`${e}${t?`, ${t}`:t}`,""),ot=(t,e)=>{const i=tt(t,[],(t,i)=>{const o=[...t],n=o.splice(-1),r=A(e,n),s={[n]:r},a={[n]:it(r)};return{theme:K({},[...o,r],i),useVars:a,vars:s}});return[i.theme,i.useVars,i.vars]},nt=t=>`${t}__override`,rt=(t,e,i=!1)=>{const o=`var(${t}${e?`, ${e}`:""})`;return i?`var(${nt(t)}, ${o})`:o};let st=class{constructor(){this.styleMap=new Map}add(t,e,i){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:i}])}toString(){return Array.from(this.styleMap.entries()).reduce((t,[e,i])=>{const o=i.map(({property:t,value:e})=>`${t}: ${e}`).join(";\n");return`${t}${e} { \n${o} \n}\n\n`},"")}};const at=(t,e="fallback")=>j(t,e),lt=(t,e,{fallback:i})=>{if(!i)return{};const o=at(e,i.suffix),n=((...t)=>t.filter(Boolean).map((t,e)=>{return 0===e?t:(i=t).charAt(0).toUpperCase()+i.slice(1);var i}).join(""))(t,i.suffix||"fallback");return{[n]:o,...lt(n,o,i)}},dt=(t,e)=>Object.keys(e).reduce((i,o)=>{const n=A(t,o);return Object.assign(i,{[o]:n},{[o+"Override"]:nt(n)},lt(o,n,e[o]))},{}),ct=({mappings:t={},componentNameOverride:e=""})=>i=>{const o=e||i.componentName;return class e extends i{static get cssVarList(){return{...i.cssVarList,...dt(o,{...t})}}#n;#r;#s;#a;#l;#d;#c;#u;#p;constructor({getRootElement:t,componentNameSuffix:i="",themeSection:o="host",baseSelector:n}={}){super(),this.#a=i,this.#l=o,this.#c=n??this.baseSelector,this.#p=t,this.#u=Object.keys(e.cssVarList).map(t=>j("st",i,t))}get#h(){return V.currentTheme?.[o]||""}#g(){this.#r.replaceSync(this.#h[this.#l]),this.currentThemeName=V.currentThemeName,this.onThemeChange?.(V.currentThemeName)}#M(){this.#r=f("",this.#d,{prepend:!0}),this.#s=V.onCurrentThemeChange(this.#g.bind(this)),this.#g()}#m(){if(this.#u.length){let t=`.${o}`.repeat(5);const e=this.getAttribute("id");e&&(t+=`#${CSS.escape(e)}`),this.#n=f(`:host(${t}) {}`,this.#d)}}#y(t,e){const i=this.#n.cssRules[0].style;if(!i)return;const n=A(o,t.replace(new RegExp("^st-"),""));e?i?.setProperty(n,e):(i?.removeProperty(n),this.removeAttribute(t))}#b(t=[]){t.forEach(t=>{this.#u.includes(t)&&this.#y(t,this.getAttribute(t))})}#N(){if(Object.keys(t).length){const e=((t,e,i)=>{const o=new st,n=(t,e)=>{if(!t)return"";if("string"==typeof t)return t;const i=at(e,t?.suffix);return rt(i,n(t.fallback,i))};return Object.keys(i).forEach(r=>{const s=((t,e)=>{const i={selector:"",property:x(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map(t=>({...i,...t})):[{...i,...e}]:[i]})(r,i[r]),a=A(t,r);s.forEach(({selector:t,property:i,important:r,fallback:s})=>{const l=n(s,a);o.add(((t="",e="")=>D(e)?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),D(i)?i():i,rt(a,l,!0)+(r?"!important":""))})}),o.toString()})(j(o,this.#a),this.#c,t);f(e,this.#d,{prepend:!0})}}#I(t){(this.#d?.classList||this.#d?.host?.classList||this.classList).add(t)}async init(){super.init?.(),!this.shadowRoot?.isConnected&&this.shadowRoot||(this.#d=await(this.#p?.(this))||this.shadowRoot,this.#I(o),this.#N(),this.#M(),this.#m(),z(this,this.#b.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#s?.()}}},ut=t=>class extends t{constructor(){super(),f(':host([draggable="true"]) * { cursor: inherit!important }',this)}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",t=>{if(this.isDraggable){const e=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const i=()=>{e?this.baseElement.setAttribute("tabindex",e):this.baseElement.removeAttribute("tabindex"),t.target.removeEventListener("mouseup",i),t.target.removeEventListener("dragend",i)};t.target.addEventListener("mouseup",i,{once:!0}),t.target.addEventListener("dragend",i,{once:!0})}}),super.init?.()}},pt=t=>class extends t{#x(){const e=this.localName;if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}init(){super.init?.(),this.#x()}},ht=t=>class extends t{updateComponentsContext(t){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:t}))}},gt=t=>class extends t{init(){super.init?.(),(this.baseElement||this).addEventListener("mouseover",t=>{this.setAttribute("hover","true"),t.target.addEventListener("mouseleave",()=>this.removeAttribute("hover"),{once:!0})})}},Mt=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options","loading","allow-custom-value","collapsed","hide-country","hide-subdivision","hide-city"],mt=t=>class extends t{init(){super.init?.(),z(this,t=>t.forEach(t=>{const e=this.getAttribute(t);(t=>Mt.includes(t))(t)?""===e?this.setAttribute(t,"true"):"false"===e&&this.removeAttribute(t):e||console.debug(`attribute "${t}" has no value, should it be added to the boolean attributes list?`)}),{})}},yt=({componentName:t,baseSelector:e=""})=>{class i extends HTMLElement{static get componentName(){return t}#j;#T=!0;get baseSelector(){return e}get baseElement(){return this.#j??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#j||console.warn("missing base element for component",this.localName),this.#j}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#T&&(this.#T=!1,this.init?.())}}return T(pt,gt,mt,ht)(i)};function bt(t,e={}){const i=new Event(t,e);this[`on${t}`]?.(i),this.dispatchEvent(i)}const Nt=t=>class extends t{#D=bt.bind(this,"change");init(){super.init?.(),this.prevValue=this.value,this.addEventListener("change",t=>{t.stopPropagation()}),this.addEventListener("blur",()=>{this.value!==this.prevValue&&(this.#D(),this.prevValue=this.value)})}},It=t=>class extends t{init(){this.#z(),super.init?.()}#z(){["blur","focus","focusin","focusout"].forEach(t=>{this.addEventListener(t,t=>{t.isTrusted&&t.target===this&&t.stopImmediatePropagation()})})}handleFocusEventsDispatching(t){let e;t?.forEach(t=>{t?.addEventListener("focusout",t=>{t.stopImmediatePropagation(),e=setTimeout(()=>{e=null,bt.call(this,"blur"),bt.call(this,"focusout",{bubbles:!0})})});const i=t=>{t.stopImmediatePropagation(),clearTimeout(e),e||(bt.call(this,"focus"),bt.call(this,"focusin",{bubbles:!0}))};t?.addEventListener("focusin",i),t?.addEventListener("focus",i)})}handleInputEventDispatching(){let t=this.value;this.addEventListener("input",e=>{this!==e.target&&(e.stopImmediatePropagation(),t!==this.value&&(t=this.value,bt.call(this,"input",{bubbles:!0,composed:!0})))})}},xt=["required","pattern"],jt=Symbol("validationTarget"),Tt=t=>class extends t{#v=jt;static get observedAttributes(){return[...t.observedAttributes||[],...xt]}static get formAssociated(){return!0}#C;get internals(){return this.#C}set internals(t){this.#C=t}constructor(){super(),this.#C=this.attachInternals()}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}get defaultErrorMsgTooShort(){return`Minimum length is ${this.getAttribute("minlength")}.`}get defaultErrorMsgTooLong(){return`Maximum length is ${this.getAttribute("maxlength")}. `}get defaultErrorMsgRangeUnderflow(){return`At least ${this.getAttribute("min-items-selection")} items are required.`}get defaultErrorMsgRangeOverflow(){return`At most ${this.getAttribute("max-items-selection")} items are allowed.`}get defaultErrorMsgTypeMismatch(){return"Please match the requested type."}getCustomErrorMessage(t,e){return this.hasAttribute(t)?this.getAttribute(t)||" ":e}getErrorMessage(t){const{valueMissing:e,patternMismatch:i,typeMismatch:o,stepMismatch:n,tooShort:r,tooLong:s,rangeOverflow:a,rangeUnderflow:l,badInput:d,customError:c}=t;switch(!0){case e:return this.getCustomErrorMessage("data-errormessage-value-missing",this.defaultErrorMsgValueMissing);case i||n||d:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch",this.defaultErrorMsgPatternMismatch);case o:return this.getCustomErrorMessage("data-errormessage-type-mismatch",this.defaultErrorMsgTypeMismatch);case r:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-short",this.defaultErrorMsgTooShort);case s:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-long",this.defaultErrorMsgTooLong);case l:return this.getCustomErrorMessage("data-errormessage-pattern-range-underflow",this.defaultErrorMsgRangeUnderflow);case a:return this.getCustomErrorMessage("data-errormessage-pattern-range-overflow",this.defaultErrorMsgRangeOverflow);case c:return this.validationMessage;default:return""}}#S(){const t=this.isReadOnly?{}:this.getValidity();this.#C.setValidity(t,this.getErrorMessage(t),this.validationTarget)}get validationMessage(){return this.#C.validationMessage}getValidity(){console.warn("getValidity","is not implemented")}checkValidity(){return this.#C.validity.valid}reportValidity(){return this.#C.reportValidity()}get validity(){return this.#C.validity}get validationTarget(){return this.#v===jt?this.inputElement:this.#v}set validationTarget(t){this.#v=t}setCustomValidity(t){t?this.#C.setValidity({customError:!0},t,this.validationTarget):(this.#C.setValidity({}),this.#S())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}get isDisabled(){return this.hasAttribute("disabled")&&"false"!==this.getAttribute("disabled")}get pattern(){return this.getAttribute("pattern")}get form(){return this.#C.form}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),xt.includes(t)&&this.#S()}init(){super.init?.(),this.addEventListener("change",this.#S),this.addEventListener("invalid",t=>t.stopPropagation()),this.addEventListener("input",this.#S),setTimeout(()=>this.#S())}},Dt=(...t)=>T(Tt,Nt,mt,It)(yt(...t)),zt="FETCH_RESULTS_ERROR",vt=()=>class{constructor(t){this.getAttribute=t,this.isValid=this.#L()}checkConnectorValidity(){this.isValid=this.#L()}#L(){return!this.getRequiredParams().filter(t=>{const e=this.getAttribute(t);return!e||!this.validateParam(t,e)}).length}validateParam(t,e){return e.trim().length>0}getRequiredParams(){return console.error("Connector must implement getRequiredParams"),[]}async fetch(t){return this.isValid?this._fetchResults(t):(console.error(`[${this.constructor.name}] Cannot fetch results: connector is not properly configured`),{results:[],error:"CONNECTOR_INVALID"})}_fetchResults(t){return console.error("Connector must implement fetchResults"),{results:[],error:void 0}}},Ct=({componentName:t,wrappedEleName:e,slots:i=[],style:o,excludeAttrsSync:n=[],includeAttrsSync:r=[],includeForwardProps:s=[],delegatesFocus:a=!0})=>{class l extends(yt({componentName:t,baseSelector:e})){#A=bt.bind(this,"blur");#w=bt.bind(this,"focus");constructor(){super().attachShadow({mode:"open",delegatesFocus:a}).innerHTML=`\n\t\t\t<${e}>\n\t\t\t${i.map(t=>`<slot ${t?`name="${t}" slot="${t}"`:""}></slot>`).join("")}\n\t\t\t</${e}>\n\t\t`,f((D(o)?o():o)||"",this)}init(){super.init?.(),this.baseElement.addEventListener("blur",t=>{this.#A()}),this.baseElement.addEventListener("focus",t=>{this.#w()}),((t,e,i=[])=>{if(!i.length)return;const o=i.reduce((e,i)=>Object.assign(e,{[i]:{get:()=>t[i],set(e){t[i]=e}}}),{});Object.defineProperties(e,o)})(this.baseElement,this,s),S(this.baseElement,this,{excludeAttrs:n,includeAttrs:r})}}return l},St=["invalid","required"],Lt=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if([e]=e.assignedElements(),"slot"!==e?.localName)return e},At=({proxyProps:t=[],useProxyTargets:e=!1,inputEvent:i="input",triggerValidationEvents:o=[],proxyParentValidation:n=!1})=>r=>class extends(Tt(r)){static get observedAttributes(){return[...r.observedAttributes||[],...St]}#f;#D=bt.bind(this,"change");constructor(){super(),this.#f=super.inputElement}warnIfInputElementIsMissing(){clearTimeout(this.inputElementTimerId),this.inputElementTimerId=setTimeout(()=>{!this.#f&&console.warn(this.localName,"no input was found")},0)}get inputElement(){if(this.#f)return this.#f;this.warnIfInputElementIsMissing();const t=this.baseElement.shadowRoot?.querySelector('slot[name="input"]'),e=this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');return this.#f=Lt(t)||Lt(e),this.#f}set inputElement(t){this.#f=t}getValidity(){return this.inputElement?.validity||{}}#E(){this.setAttribute("error-message",this.validationMessage)}reportValidity=()=>{this.inputElement.setCustomValidity(""),this.setCustomValidity(""),this.checkValidity()||(this.setAttribute("invalid","true"),this.#E(),this.focus())};defaultReportValidity(){return super.reportValidity()}init(){if(super.init?.(),this.baseElement._setInvalid=function(t){!t&&this._shouldSetInvalid(t)&&(this.invalid=t)},this.baseElement.addEventListener("input",t=>{t.composed||this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),o.forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.inputElement?.setCustomValidity("")})}),setTimeout(()=>{(Array.isArray(i)?i:[i]).forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.baseElement.checkValidity()?this.removeAttribute("invalid"):this.#E()})}),this.baseElement.addEventListener("change",()=>{this.#D()}),this.addEventListener("invalid",()=>{this.checkValidity()||this.setAttribute("invalid","true"),this.#E()}),t.forEach(t=>{const i=this.querySelector('input[slot="external-input"]')||null,o=e?[this.baseElement,i].filter(Boolean):[];((t,e,i)=>{const o=Array.isArray(e)?e:[e];Object.defineProperty(t,i,{set(t){o.forEach(e=>{e[i]=t})},get:()=>e[0][i],configurable:!0})})(this,[this.inputElement,...o],t)}),this.setSelectionRange=this.inputElement.setSelectionRange?.bind(this.inputElement),w(this,this.inputElement,{includeAttrs:["inputmode"]})}),n){const t=this.inputElement.internals,e=this;this.inputElement.internals=new Proxy(t,{get:(t,i)=>"function"==typeof t[i]&&"setValidity"===i?(...o)=>{if(3===o.length){const t=o.slice(0,o.length-1);t.push(e.inputElement),e.internals[i](...t)}else e.internals[i](...o);return t[i](...o)}:"function"==typeof t[i]?(...o)=>(e.internals[i](...o),t[i](...o)):t[i]})}}},wt=t=>T(At(t),ct({componentNameOverride:L("input-wrapper")})),ft=t=>async e=>{const i=await t(e);return new Promise(t=>{let e=0;const o=()=>{if(e>20)return console.error("could not get shadow root for element",i),void t(i);e++,i?.shadowRoot?t(i.shadowRoot):setTimeout(o)};o()})},Et=({name:t,selector:e,mappings:i={},forward:{attributes:o=[],include:n=!0}={}})=>r=>{const s=t||(t=>t.replace(/[^\w\s]/gi,""))(e),a=ct({mappings:i})(r);return class extends a{static get cssVarList(){return{...a.cssVarList,[s]:dt(s?j(r.componentName,"_"+s):r.componentName,i)}}#k;constructor(){const t=ft(async t=>{const i=(t.shadowRoot||t).querySelector(t.baseSelector);return e&&t.shadowRoot?(await ft(()=>i)(t)).querySelector(e):i});super({getRootElement:t,componentNameSuffix:s&&"_"+s,themeSection:s?"_"+s:void 0,baseSelector:""}),this.#O=()=>t(this).then(t=>t?.host||t)}#O;async#V(){const t=await this.#k;t.onmouseenter=t=>{t.target.setAttribute("hover","true")},t.onmouseleave=t=>{t.target.removeAttribute("hover")}}async init(){super.init?.(),this.#k=this.#O();const t=await this.#k;w(this,t,{[n?"includeAttrs":"excludeAttrs"]:o}),this.#V()}}},kt=()=>!0,Ot=t=>`<pre>${JSON.stringify(t,null,4)}</pre>`,Vt=({itemRenderer:t=Ot,validateSchema:e=kt,slotName:i,rerenderAttrsList:o=[],targetSelector:n,sortFn:r=t=>t})=>s=>class extends s{#U=[];#Y;#W(t){if(!e)return!0;const i=e(t);return!0===i||(console.error("Data schema validation failed",i||""),!1)}#R(){const t=i?`*[slot="${i}"]`:":not([slot])";this.#Y&&this.#Y.querySelectorAll(t).forEach(t=>t.remove())}#Q(){this.#R(),(r?this.data.sort(r):this.data).forEach((e,i)=>{const o="string"==typeof(n=t(e,i,this))?(t=>{const e=document.createElement("template");return e.innerHTML=t,e})(n).content:n instanceof HTMLTemplateElement?n.content:(console.error("Invalid template",n),null);var n;this.#Y&&this.#Y.appendChild(o?.cloneNode(!0))})}set data(t){this.#W(t)&&(this.#U=t,this.#Q())}get data(){return this.#U}init(){super.init?.(),this.#Y=n?this.shadowRoot.querySelector(n):this.baseElement,z(this,t=>{t.includes("data")?this.#P():this.#Q()},{includeAttrs:[...o,"data"]})}#P(){const t=this.getAttribute("data");if(t)try{this.data=JSON.parse(t)}catch(e){console.warn("Invalid JSON data",t)}}},Ut=({triggers:t=[]}={})=>e=>class extends e{static get observedAttributes(){return[...e.observedAttributes||[],...t.map(({attr:t})=>t)]}get#B(){return t.some(({attr:t,value:e})=>this.getAttribute(t)===e)}#Z=()=>{this.toggleAttribute("stretch",this.#B)};attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&this.#Z()}init(){super.init?.(),this.#Z()}},Yt=["blockquote","list","image","table","code","hr","backticks","fence","reference","heading","lheading","html_block"],Wt=L("enriched-text");class Rt extends(yt({componentName:Wt,baseSelector:":host > div"})){#F;#G;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="content"></div>\n ',f("\n :host {\n line-height: 1em;\n word-break: break-word;\n }\n :host > slot {\n width: 100%;\n display: inline-block;\n }\n *, *:last-child {\n margin: 0;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p {\n margin-bottom: 1em;\n }\n a {\n cursor: pointer;\n }\n blockquote {\n padding: 0 2em;\n }\n u {\n text-decoration: underline\n }\n s {\n color: currentColor;\n }\n ",this),this.#H(),v(this,this.#J.bind(this)),this.contentNode?.addEventListener("click",t=>{t.target instanceof HTMLAnchorElement&&t.stopPropagation()})}static get observedAttributes(){return["readonly","link-target-blank"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("readonly"===t&&this.onReadOnlyChange("true"===i),"link-target-blank"===t&&this.#H())}customUnderlineRenderer(){this.processor.renderer.rules.em_open=(t,e,i,o,n)=>("_"===t[e].markup&&(t[e].tag="u"),this.#G(t,e,i,o,n)),this.processor.renderer.rules.em_close=(t,e,i,o,n)=>("_"===t[e].markup&&(t[e].tag="u"),this.#G(t,e,i,o,n))}#$(){this.linkTargetBlank?this.processor.renderer.rules.link_open=(t,e,i,o,n)=>(t[e].attrSet("target","_blank"),this.#F(t,e,i,o,n)):this.processor.renderer.rules.link_open=this.#F}#_(){this.processor&&this.processor.disable(Yt)}#q(){this.#_()}#X(){this.#F=this.processor.renderer.rules.link_open||((t,e,i,o,n)=>n.renderToken(t,e,i)),this.#G=this.processor.renderer.rules.em_open||((t,e,i,o,n)=>n.renderToken(t,e,i))}#H(){this.processor=new o.A("commonmark",{html:!0}),this.#X(),this.#q(),this.#$(),this.customUnderlineRenderer()}get linkTargetBlank(){return"true"===this.getAttribute("link-target-blank")}get contentNode(){return this.shadowRoot.querySelector(".content")}#J(){if(!this.processor)return;let t=(t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value})(this.innerHTML);!t?.trim()&&this.isConnected?this.setAttribute("empty","true"):this.removeAttribute("empty");try{const e=this.processor.parse(t,{references:void 0});t=this.processor.renderer.render(e,{html:!0,breaks:!0})}catch{console.warn("Not parsing invalid markdown token")}this.contentNode.innerHTML=t,this.contentNode.firstChild?.setAttribute("part","content")}onReadOnlyChange(t){t?this.contentNode.setAttribute("inert",t):this.contentNode.removeAttribute("inert")}}const Qt=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDisplay:{selector:()=>":host",property:"display",fallback:"inline-block"},hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},fontFamily:{},fontWeight:{},fontWeightBold:[{selector:()=>":host strong",property:"font-weight"},{selector:()=>":host b",property:"font-weight"}],textColor:{property:"color"},textLineHeight:{property:"line-height"},textAlign:{},linkColor:{selector:"a",property:"color"},linkTextDecoration:{selector:"a",property:"text-decoration"},linkHoverTextDecoration:{selector:"a:hover",property:"text-decoration"},minHeight:{},minWidth:{}}}),ct({componentNameOverride:L("link")}),ct({componentNameOverride:L("text")}),Ut({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(Rt),Pt=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),Bt=(...t)=>Pt(t.filter(t=>!!t).join("-")),Zt=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),Ft=t=>"function"==typeof t,Gt="descope",Ht="host",Jt=(t,e,{excludeAttrs:i=[],includeAttrs:o=[]})=>{const n=Array.from(t.attributes).filter(t=>!i.includes(t.name)&&(!o.length||o.includes(t.name))).map(t=>t.name);e(n),new MutationObserver(t=>{t.forEach(t=>{"attributes"!==t.type||i.includes(t.attributeName)||o.length&&!o.includes(t.attributeName)||e([t.attributeName])})}).observe(t,{attributes:!0})},$t=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver(t=>{t.forEach(t=>{"childList"!==t.type&&"characterData"!==t.type||e(t)})}).observe(t,{childList:!0,characterData:!0,subtree:!0})},_t=(t,e,i={})=>o=>{o.forEach(o=>{const n=i[o]||o,r=t.getAttribute(o);e&&(null!==r?e.getAttribute(n)!==r&&e.setAttribute(n,r):e.removeAttribute(n))})},qt=(t,e,i)=>{Jt(t,_t(t,e),i),Jt(e,_t(e,t),i)},Xt=t=>Bt(Gt,t),Kt=(...t)=>`--${Bt(...t)}`,te=(t,e,i={})=>{Jt(t,_t(t,e,i.mapAttrs),i)},ee=(t,e,i=[])=>{if(!i.length)return;const o=i.reduce((e,i)=>Object.assign(e,{[i]:{get:()=>t[i],set(e){t[i]=e}}}),{});Object.defineProperties(e,o)},ie=.4,oe=.25,ne=.1,re=(t,e)=>t.darken(e).hex(),se=t=>{const e=t.isDark();return t.mix(d()(e?"white":"black"),1).saturate(1).hex()},ae=(t,e)=>t.lightness()<.5?t.lightness(100*e).hex():t.lighten(e).hex(),le=t=>t.luminosity()<.01,de=t=>t.luminosity()>.99,ce=(t,e)=>"dark"===e?de(t)?re(t,oe):ae(t,ie):le(t)?ae(t,oe):re(t,ie),ue=(t,e)=>"dark"===e?le(t)?ae(t,oe):re(t,ie):de(t)?re(t,oe):ae(t,ie),pe=(t,e)=>"dark"===e?le(t)?ae(t,ne):re(t,.8):de(t)?re(t,ne):ae(t,.8),he=(t,e)=>{const i=new(d())(t.main||t);return{main:i.hex(),dark:t.dark||ce(i,e),light:t.light||ue(i,e),highlight:t.highlight||pe(i,e),contrast:t.contrast||se(i)}},ge=t=>`\n :host {\n padding: calc(var(${t.inputOutlineWidth}) + var(${t.inputOutlineOffset}))\n }\n`,Me=t=>`\n ${t} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`,me=t=>`\n ${t}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`,ye=t=>`\n ${t} > label,\n ${t}::part(label),\n ${t}::part(required-indicator) {\n cursor: pointer;\n }\n`,be=(t,e="input")=>`\n ${t}[disabled] > ${e}:placeholder-shown,\n\t${t}[readonly] > ${e}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,Ne=t=>`\n ${t}::part(input-field)::after {\n background: none;\n }\n`,Ie=(t,e)=>`\n ${Me(t)}\n ${ye(t)}\n ${be(t)}\n ${me(t)}\n ${((t,e)=>`\n ${t} input:-webkit-autofill,\n ${t} input:-webkit-autofill::first-line,\n ${t} input:-webkit-autofill:hover,\n ${t} input:-webkit-autofill:active,\n ${t} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${e.inputValueTextColor});\n box-shadow: 0 0 0 var(${e.inputHeight}) var(${e.inputBackgroundColor}) inset;\n }\n`)(t,e)}\n ${Ne(t)}\n ${(t=>`\n ${t}::before {\n\t\theight: unset;\n\t}\n`)(t)}\n ${(t=>`\n ${t} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`)(t)}\n ${(t=>`\n ${t}::part(input-field)::after {\n border: none;\n }\n`)(t)}\n`,xe=t=>`\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${t} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,je=t=>Kt(Gt,...t),Te=(t,e,i)=>{const o=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return o.reduce((t,e,n)=>(void 0===t[e]&&(t[e]={}),n===o.length-1&&(t[e]=i),t[e]),t),t},De=(t,e,i)=>Object.entries(t).reduce((t,[o,n])=>n?.constructor!==Object?a()(t,i(e.concat(o),n)):a()(t,De(n,[...e,o],i)),{}),ze=t=>{switch(!0){case Array.isArray(t):return t.map(t=>t.includes(" ")?`"${t}"`:t).join(", ");case(t=>{try{return new URL(t),!0}catch(t){return!1}})(t):return`url(${t})`;default:return t}},ve=(t,e)=>De(t,[],t=>Te({},t,`var(${je(t)})`)),Ce=(t,e="")=>{const i=Object.entries((t=>De(t,[],(t,e)=>({[je(t)]:ze(e)})))(t)).reduce((t,e)=>`${t}${e.join(":")};\n`,"");return e?`*[data-theme="${e}"] {${i}}`:i},Se="@container",Le="$breakpoints",Ae=t=>t.startsWith("$breakpoints."),we=t=>Object.entries(t).reduce((t,[e,i])=>(t=>t.startsWith(Se))(e)?`${t}${e} {\n${we(i)}}\n\n`:`${t}${e} { \n${Object.entries(i).map(([t,e])=>`${t}: ${e}`).join(";\n")} \n}\n\n`,""),fe=t=>{const e=(t=>De(t,[],(e,i)=>{const[o,...n]=e;if(n[0]===Le)return{};const r=n.pop(),s=Xt(o);"undefined"===r&&console.warn(s,`theme value: "${i}" is mapped to an invalid property`);const a=Ht,l=t[o]?.[Le]||{},d=n.filter(Ae),c=d.find(t=>!l[t.slice(13)]);if(c)return console.warn(s,`theme references undefined breakpoint "${c}"`),{};const u=d.map(t=>Ae(t)?`${Se} ${l[t.slice(13)]}`:t);n.splice(0,n.length,...n.filter(t=>!Ae(t)));const p=n.reduce((t,e,i)=>{const[o,r]=function(t){const e=t.match(/^(&+)?(.*)$/);return[e[1]||"",e[2]||""]}(e),s=Math.min(o.length+1,3);if(r.startsWith("_"))return t+`[${Pt(r.replace(/^_/,""))}="true"]`.repeat(s);const a=n[i+1];return"string"!=typeof a||a.startsWith("_")||a.startsWith("&")?(console.error("theme generator",`your theme structure is invalid, attribute "${e}" is followed by "${a}" which is not allowed`),t):t+`[${Pt(r)}="${n.splice(i+1,1).join("")}"]`.repeat(s)},""),h=":host"+(p?`(${p})`:""),g=u.reduceRight((t,e)=>({[e]:t}),{[h]:{[r]:ze(i)}});return{[s]:{[a]:g}}}))(t);return Object.keys(e).reduce((t,i)=>{const o=e[i];return Object.assign(t,{[i]:Object.keys(o).reduce((t,e)=>Object.assign(t,{[e]:we(o[e])}),{})})},{})},Ee=({globals:t,components:e},i)=>({globals:Ce(t,i),components:fe(e)}),ke=(...t)=>t.reduceRight((t,e)=>e.startsWith("--")?`var(${e}${t?`, ${t}`:t})`:`${e}${t?`, ${t}`:t}`,""),Oe=(t,e)=>{const i=De(t,[],(t,i)=>{const o=[...t],n=o.splice(-1),r=Kt(e,n),s={[n]:r},a={[n]:ke(r)};return{theme:Te({},[...o,r],i),useVars:a,vars:s}});return[i.theme,i.useVars,i.vars]},Ve=t=>`${t}__override`,Ue=(t,e,i=!1)=>{const o=`var(${t}${e?`, ${e}`:""})`;return i?`var(${Ve(t)}, ${o})`:o};class Ye{constructor(){this.styleMap=new Map}add(t,e,i){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:i}])}toString(){return Array.from(this.styleMap.entries()).reduce((t,[e,i])=>{const o=i.map(({property:t,value:e})=>`${t}: ${e}`).join(";\n");return`${t}${e} { \n${o} \n}\n\n`},"")}}const We=(t,e="fallback")=>Bt(t,e),Re=(t,e,{fallback:i})=>{if(!i)return{};const o=We(e,i.suffix),n=((...t)=>t.filter(Boolean).map((t,e)=>{return 0===e?t:(i=t).charAt(0).toUpperCase()+i.slice(1);var i}).join(""))(t,i.suffix||"fallback");return{[n]:o,...Re(n,o,i)}},Qe=(t,e)=>Object.keys(e).reduce((i,o)=>{const n=Kt(t,o);return Object.assign(i,{[o]:n},{[`${o}Override`]:Ve(n)},Re(o,n,e[o]))},{}),Pe=({mappings:t={},componentNameOverride:e=""})=>i=>{const o=e||i.componentName;return class e extends i{static get cssVarList(){return{...i.cssVarList,...Qe(o,{...t})}}#n;#r;#s;#a;#l;#d;#c;#u;#p;constructor({getRootElement:t,componentNameSuffix:i="",themeSection:o=Ht,baseSelector:n}={}){super(),this.#a=i,this.#l=o,this.#c=n??this.baseSelector,this.#p=t,this.#u=Object.keys(e.cssVarList).map(t=>Bt("st",i,t))}get#h(){return V.currentTheme?.[o]||""}#g(){this.#r.replaceSync(this.#h[this.#l])}#M(){this.#r=f("",this.#d,{prepend:!0}),this.#s=V.onCurrentThemeChange(this.#g.bind(this)),this.#g()}#m(){if(this.#u.length){let t=`.${o}`.repeat(5);const e=this.getAttribute("id");e&&(t+=`#${CSS.escape(e)}`),this.#n=f(`:host(${t}) {}`,this.#d)}}#y(t,e){const{style:i}=this.#n.cssRules[0];if(!i)return;const n=Kt(o,t.replace(new RegExp("^st-"),""));e?i?.setProperty(n,e):(i?.removeProperty(n),this.removeAttribute(t))}#b(t=[]){t.forEach(t=>{this.#u.includes(t)&&this.#y(t,this.getAttribute(t))})}#N(){if(Object.keys(t).length){const e=((t,e,i)=>{const o=new Ye,n=(t,e)=>{if(!t)return"";if("string"==typeof t)return t;const i=We(e,t?.suffix);return Ue(i,n(t.fallback,i))};return Object.keys(i).forEach(r=>{const s=((t,e)=>{const i={selector:"",property:Pt(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map(t=>({...i,...t})):[{...i,...e}]:[i]})(r,i[r]),a=Kt(t,r);s.forEach(({selector:t,property:i,important:r,fallback:s})=>{const l=n(s,a);o.add(((t="",e="")=>Ft(e)?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),Ft(i)?i():i,Ue(a,l,!0)+(r?"!important":""))})}),o.toString()})(Bt(o,this.#a),this.#c,t);f(e,this.#d,{prepend:!0})}}#I(t){(this.#d.classList||this.#d.host.classList).add(t)}async init(){super.init?.(),this.shadowRoot?.isConnected&&(this.#d=await(this.#p?.(this))||this.shadowRoot,this.#I(o),this.#N(),this.#M(),this.#m(),Jt(this,this.#b.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#s?.()}}},Be=t=>class extends t{constructor(){super(),f(':host([draggable="true"]) * { cursor: inherit!important }',this)}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",t=>{if(this.isDraggable){const e=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const i=()=>{e?this.baseElement.setAttribute("tabindex",e):this.baseElement.removeAttribute("tabindex"),t.target.removeEventListener("mouseup",i),t.target.removeEventListener("dragend",i)};t.target.addEventListener("mouseup",i,{once:!0}),t.target.addEventListener("dragend",i,{once:!0})}}),super.init?.()}},Ze=t=>class extends t{#x(){const e=this.localName;if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}init(){super.init?.(),this.#x()}},Fe=t=>class extends t{updateComponentsContext(t){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:t}))}},Ge=t=>class extends t{init(){super.init?.(),(this.baseElement||this).addEventListener("mouseover",t=>{this.setAttribute("hover","true"),t.target.addEventListener("mouseleave",()=>this.removeAttribute("hover"),{once:!0})})}},He=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options","loading","allow-custom-value","loading"],Je=t=>class extends t{init(){super.init?.(),Jt(this,t=>t.forEach(t=>{const e=this.getAttribute(t);(t=>He.includes(t))(t)?""===e?this.setAttribute(t,"true"):"false"===e&&this.removeAttribute(t):e||console.debug(`attribute "${t}" has no value, should it be added to the boolean attributes list?`)}),{})}},$e=({componentName:t,baseSelector:e=""})=>{class i extends HTMLElement{static get componentName(){return t}#j;#T=!0;get baseSelector(){return e}get baseElement(){return this.#j??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#j||console.warn("missing base element for component",this.localName),this.#j}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#T&&(this.#T=!1,this.init?.())}}return Zt(Ze,Ge,Je,Fe)(i)};function _e(t,e={}){const i=new Event(t,e);this[`on${t}`]?.(i),this.dispatchEvent(i)}const qe=({componentName:t,wrappedEleName:e,slots:i=[],style:o,excludeAttrsSync:n=[],includeAttrsSync:r=[],includeForwardProps:s=[],delegatesFocus:a=!0})=>{class l extends($e({componentName:t,baseSelector:e})){#A=_e.bind(this,"blur");#w=_e.bind(this,"focus");constructor(){super().attachShadow({mode:"open",delegatesFocus:a}).innerHTML=`\n\t\t\t<${e}>\n\t\t\t${i.map(t=>`<slot ${t?`name="${t}" slot="${t}"`:""}></slot>`).join("")}\n\t\t\t</${e}>\n\t\t`,f((Ft(o)?o():o)||"",this)}init(){super.init?.(),this.baseElement.addEventListener("blur",t=>{this.#A()}),this.baseElement.addEventListener("focus",t=>{this.#w()}),ee(this.baseElement,this,s),qt(this.baseElement,this,{excludeAttrs:n,includeAttrs:r})}}return l},Xe=["required","pattern"],Ke=Symbol("validationTarget"),ti=t=>class extends t{#v=Ke;static get observedAttributes(){return[...t.observedAttributes||[],...Xe]}static get formAssociated(){return!0}#C;get internals(){return this.#C}set internals(t){this.#C=t}constructor(){super(),this.#C=this.attachInternals()}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}get defaultErrorMsgTooShort(){return`Minimum length is ${this.getAttribute("minlength")}.`}get defaultErrorMsgTooLong(){return`Maximum length is ${this.getAttribute("maxlength")}. `}get defaultErrorMsgRangeUnderflow(){return`At least ${this.getAttribute("min-items-selection")} items are required.`}get defaultErrorMsgRangeOverflow(){return`At most ${this.getAttribute("max-items-selection")} items are allowed.`}get defaultErrorMsgTypeMismatch(){return"Please match the requested type."}getCustomErrorMessage(t,e){return this.hasAttribute(t)?this.getAttribute(t)||" ":e}getErrorMessage(t){const{valueMissing:e,patternMismatch:i,typeMismatch:o,stepMismatch:n,tooShort:r,tooLong:s,rangeOverflow:a,rangeUnderflow:l,badInput:d,customError:c}=t;switch(!0){case e:return this.getCustomErrorMessage("data-errormessage-value-missing",this.defaultErrorMsgValueMissing);case i||n||d:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch",this.defaultErrorMsgPatternMismatch);case o:return this.getCustomErrorMessage("data-errormessage-type-mismatch",this.defaultErrorMsgTypeMismatch);case r:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-short",this.defaultErrorMsgTooShort);case s:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-long",this.defaultErrorMsgTooLong);case l:return this.getCustomErrorMessage("data-errormessage-pattern-range-underflow",this.defaultErrorMsgRangeUnderflow);case a:return this.getCustomErrorMessage("data-errormessage-pattern-range-overflow",this.defaultErrorMsgRangeOverflow);case c:return this.validationMessage;default:return""}}#S(){const t=this.isReadOnly?{}:this.getValidity();this.#C.setValidity(t,this.getErrorMessage(t),this.validationTarget)}get validationMessage(){return this.#C.validationMessage}getValidity(){console.warn("getValidity","is not implemented")}checkValidity(){return this.#C.validity.valid}reportValidity(){return this.#C.reportValidity()}get validity(){return this.#C.validity}get validationTarget(){return this.#v===Ke?this.inputElement:this.#v}set validationTarget(t){this.#v=t}setCustomValidity(t){t?this.#C.setValidity({customError:!0},t,this.validationTarget):(this.#C.setValidity({}),this.#S())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}get isDisabled(){return this.hasAttribute("disabled")&&"false"!==this.getAttribute("disabled")}get pattern(){return this.getAttribute("pattern")}get form(){return this.#C.form}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),Xe.includes(t)&&this.#S()}init(){super.init?.(),this.addEventListener("change",this.#S),this.addEventListener("invalid",t=>t.stopPropagation()),this.addEventListener("input",this.#S),setTimeout(()=>this.#S())}},ei=["invalid","required"],ii=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if([e]=e.assignedElements(),"slot"!==e?.localName)return e},oi=({proxyProps:t=[],useProxyTargets:e=!1,inputEvent:i="input",triggerValidationEvents:o=[],proxyParentValidation:n=!1})=>r=>class extends(ti(r)){static get observedAttributes(){return[...r.observedAttributes||[],...ei]}#f;#D=_e.bind(this,"change");constructor(){super(),this.#f=super.inputElement}warnIfInputElementIsMissing(){clearTimeout(this.inputElementTimerId),this.inputElementTimerId=setTimeout(()=>{!this.#f&&console.warn(this.localName,"no input was found")},0)}get inputElement(){if(this.#f)return this.#f;this.warnIfInputElementIsMissing();const t=this.baseElement.shadowRoot?.querySelector('slot[name="input"]'),e=this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');return this.#f=ii(t)||ii(e),this.#f}set inputElement(t){this.#f=t}getValidity(){return this.inputElement?.validity||{}}#E(){this.setAttribute("error-message",this.validationMessage)}reportValidity=()=>{this.inputElement.setCustomValidity(""),this.setCustomValidity(""),this.checkValidity()||(this.setAttribute("invalid","true"),this.#E(),this.focus())};defaultReportValidity(){return super.reportValidity()}init(){if(super.init?.(),this.baseElement._setInvalid=function(t){!t&&this._shouldSetInvalid(t)&&(this.invalid=t)},this.baseElement.addEventListener("input",t=>{t.composed||this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),o.forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.inputElement?.setCustomValidity("")})}),setTimeout(()=>{(Array.isArray(i)?i:[i]).forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.baseElement.checkValidity()?this.removeAttribute("invalid"):this.#E()})}),this.baseElement.addEventListener("change",()=>{this.#D()}),this.addEventListener("invalid",()=>{this.checkValidity()||this.setAttribute("invalid","true"),this.#E()}),t.forEach(t=>{const i=this.querySelector('input[slot="external-input"]')||null,o=e?[this.baseElement,i].filter(Boolean):[];((t,e,i)=>{const o=Array.isArray(e)?e:[e];Object.defineProperty(t,i,{set(t){o.forEach(e=>{e[i]=t})},get:()=>e[0][i],configurable:!0})})(this,[this.inputElement,...o],t)}),this.setSelectionRange=this.inputElement?.setSelectionRange?.bind(this.inputElement),te(this,this.inputElement,{includeAttrs:["inputmode"]})}),n){const t=this.inputElement.internals,e=this;this.inputElement.internals=new Proxy(t,{get:(t,i)=>"function"==typeof t[i]&&"setValidity"===i?(...o)=>{if(3===o.length){const t=o.slice(0,o.length-1);t.push(e.inputElement),e.internals[i](...t)}else e.internals[i](...o);return t[i](...o)}:"function"==typeof t[i]?(...o)=>(e.internals[i](...o),t[i](...o)):t[i]})}}},ni=t=>Zt(oi(t),Pe({componentNameOverride:Xt("input-wrapper")})),ri=({name:t,selector:e,mappings:i={},forward:{attributes:o=[],include:n=!0}={}})=>e=>{const r=t,s=Pe({mappings:i})(e);return class extends s{static get cssVarList(){return{...s.cssVarList,[r]:Qe(Bt(e.componentName,"_"+r),i)}}#k;constructor(){const t=(e=async t=>(t.shadowRoot||t).querySelector(t.baseSelector),async t=>{const i=await e(t);return new Promise(t=>{let e=0;const o=()=>{if(e>20)return console.error("could not get shadow root for element",i),void t(i);e++,i?.shadowRoot?t(i.shadowRoot):setTimeout(o)};o()})});var e;super({getRootElement:t,componentNameSuffix:"_"+r,themeSection:"_"+r,baseSelector:""}),this.#O=()=>t(this).then(t=>t?.host||t)}#O;async#V(){const t=await this.#k;t.onmouseenter=t=>{t.target.setAttribute("hover","true")},t.onmouseleave=t=>{t.target.removeAttribute("hover")}}async init(){super.init?.(),this.#k=this.#O();const t=await this.#k;te(this,t,{[n?"includeAttrs":"excludeAttrs"]:o}),this.#V()}}},si=t=>class extends t{#D=_e.bind(this,"change");init(){super.init?.(),this.prevValue=this.value,this.addEventListener("change",t=>{t.stopPropagation()}),this.addEventListener("blur",()=>{this.value!==this.prevValue&&(this.#D(),this.prevValue=this.value)})}},ai=t=>class extends t{init(){this.#z(),super.init?.()}#z(){["blur","focus","focusin","focusout"].forEach(t=>{this.addEventListener(t,t=>{t.isTrusted&&t.target===this&&t.stopImmediatePropagation()})})}handleFocusEventsDispatching(t){let e;t?.forEach(t=>{t?.addEventListener("focusout",t=>{t.stopImmediatePropagation(),e=setTimeout(()=>{e=null,_e.call(this,"blur"),_e.call(this,"focusout",{bubbles:!0})})});const i=t=>{t.stopImmediatePropagation(),clearTimeout(e),e||(_e.call(this,"focus"),_e.call(this,"focusin",{bubbles:!0}))};t?.addEventListener("focusin",i),t?.addEventListener("focus",i)})}handleInputEventDispatching(){let t=this.value;this.addEventListener("input",e=>{this!==e.target&&(e.stopImmediatePropagation(),t!==this.value&&(t=this.value,_e.call(this,"input",{bubbles:!0,composed:!0})))})}},li=({inputType:t,inputName:e,autocompleteType:i,includeAttrs:o=[],noBlurDispatch:n=!1})=>r=>class extends r{#K=[];get isExternalInput(){return"true"===this.getAttribute("external-input")}createExternalInput(){if(!this.isExternalInput||this.isReadOnly||this.isDisabled)return null;const i=this.baseElement.querySelector("input");if(!i)return null;i.setAttribute("tabindex","-1");const n=(()=>{const t=document.createElement("slot");return t.setAttribute("name","external-input"),t.setAttribute("slot","suffix"),t})();return this.baseElement.appendChild(n),this.externalInput=((t,e,i,o)=>{const n=document.createElement("input");return n.setAttribute("slot","external-input"),n.setAttribute("type",e),n.setAttribute("name",o),n.setAttribute("data-hidden-input","true"),n.setAttribute("autocomplete",i),n})(0,t,this.getAutocompleteType(),e),setTimeout(()=>{var t,e,o;t=i,e=this.externalInput,o=this.getAttribute("label-type"),setTimeout(()=>{const i=getComputedStyle(t),n=i.getPropertyValue("height"),r=i.getPropertyValue("padding-left"),s=i.getPropertyValue("padding-right"),a=i.getPropertyValue("font-size"),l=i.getPropertyValue("font-family"),d=i.getPropertyValue("letter-spacing"),c=i.getPropertyValue("caret-color"),u=((t,e)=>{const i=t.value;t.value="_";const o=e.getPropertyValue("color");return"_"===t.value&&(t.value=i),o})(t,i);if([["all","unset"],["position","absolute"],["background-color","transparent"],["height",n],["left",r],["right",s],["font-size",a],["font-family",l],["letter-spacing",d],["caret-color",c],["color",u]].forEach(([t,i])=>e.style.setProperty(t,i,"important")),"floating"===o){const t=i.getPropertyValue("margin-bottom");e.style.setProperty("margin-bottom",t,"important")}const p=i.getPropertyValue("width");e.style.setProperty("width",`calc(${p} - ${r} - ${s}`,"important")},0)}),this.forwardInputValue(i,this.externalInput),qt(i,this.externalInput,{includeAttrs:o}),this.baseElement.querySelector("input").addEventListener("focusout",t=>t.stopImmediatePropagation(),!0),this.handleFocusEvents(),this.handleBlurEvents(),this.handlelInputEvents(this.externalInput),this.appendChild(this.externalInput),this.externalInput}clearBlurTimers(){this.#K.forEach(t=>clearTimeout(t)),this.#K.length=0}dispatchBlur(){return setTimeout(()=>{this.dispatchEvent(new Event("blur",{bubbles:!0,composed:!0})),this.removeAttribute("focused")})}handleFocusEvents(){this.baseElement.addEventListener("focus",()=>{this.externalInput.focus(),this.clearBlurTimers()}),this.externalInput.addEventListener("focus",()=>{this.clearBlurTimers(),setTimeout(()=>this.baseElement.setAttribute("focused","true"))})}handleBlurEvents(){this.baseElement.addEventListener("blur",t=>{t.stopImmediatePropagation(),n||this.#K.push(this.dispatchBlur())},!0),this.externalInput.addEventListener("blur",t=>{t.stopImmediatePropagation(),this.#K.push(this.dispatchBlur())},!0)}handlelInputEvents(t){t.addEventListener("input",t=>{this.value=t.target.value}),t.addEventListener("input",t=>{t.target.value?this.setAttribute("has-value","true"):this.removeAttribute("has-value")})}getAutocompleteType(){return this.getAttribute("autocomplete")||i}forwardInputValue(t,e){const i=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value");Object.defineProperty(t,"value",{...i,set(t){i.set.call(this,t),e.value=t},configurable:!0})}},di=t=>class extends t{init(){super.init?.(),this.baseElement._hasValidConstraints&&(this.baseElement._hasValidConstraints=()=>!0)}},ci=(...t)=>Zt(ti,si,Je,ai)($e(...t)),ui=Xt("boolean-field-internal"),pi=["disabled","invalid","readonly"],hi=ci({componentName:ui,baseSelector:"div"}),gi=t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${ui}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${ui}>\n\t\t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(ui),this.checkbox=this.inputElement.querySelector("vaadin-checkbox"),te(this,this.inputElement,{includeAttrs:["required","full-width","size","label","invalid","disabled","readonly"]}),ee(this.inputElement,this,["checked"]),qt(this,this.inputElement,{includeAttrs:["checked"]})}};var Mi=t=>`\n:host {\n\tdisplay: inline-flex;\n}\n\n\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n.wrapper {\n\tdisplay: flex;\n\tbox-sizing: border-box;\n}\nvaadin-text-field {\n\tposition: relative;\n\tpadding: 0;\n\tdisplay: inline-flex;\n\talign-items: flex-start;\n}\nvaadin-text-field::before {\n content: unset;\n}\nvaadin-text-field::part(label) {\n position: absolute;\n top: 0;\n}\nvaadin-text-field::part(input-field) {\n\tpadding: 0;\n\tbackground: none;\n\tmin-height: 0;\n}\nvaadin-text-field::part(input-field)::after {\n background: none;\n}\nvaadin-text-field[focus-ring]::part(input-field) {\n\tbox-shadow: none;\n}\n\nvaadin-checkbox [slot="label"] {\n align-self: flex-start;\n padding: 0;\n}\n[required] vaadin-checkbox [slot="label"]:not(:empty) {\n\tpadding-inline-end: 1em;\n}\ndescope-boolean-field-internal {\n -webkit-mask-image: none;\n min-height: initial;\n}\n\ndescope-enriched-text[empty] {\n\t${Qt.cssVarList.hostDisplay}: none;\n}\n\ndescope-enriched-text {\n\t${Qt.cssVarList.hostDirection}: var(${t.hostDirection});\n}\n\n`;const mi=Xt("checkbox"),{host:yi,component:bi,checkboxElement:Ni,checkboxSurface:Ii,checkboxLabel:xi,requiredIndicator:ji,helperText:Ti,errorMessage:Di}={host:{selector:()=>":host"},requiredIndicator:{selector:'[required] vaadin-checkbox [slot="label"]:not(:empty)::part(content)::after'},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxLabel:{selector:'vaadin-checkbox [slot="label"]:not(:empty)'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},zi=Zt(Pe({mappings:{hostWidth:{...yi,property:"width"},hostDirection:{...yi,property:"direction"},fontSize:[yi,Ni,xi],fontFamily:[xi,Ti,Di],labelTextColor:{...xi,property:"color"},labelSpacing:{...xi,property:"padding-inline-start"},labelLineHeight:{...xi,property:"line-height"},labelFontWeight:{...xi,property:"font-weight"},labelRequiredIndicator:{...ji,property:"content"},errorMessageTextColor:{...Di,property:"color"},errorMessageIcon:{...Di,property:"background-image"},errorMessageIconSize:{...Di,property:"background-size"},errorMessageIconPadding:{...Di,property:"padding-inline-start"},errorMessageIconRepeat:{...Di,property:"background-repeat"},errorMessageIconPosition:{...Di,property:"background-position"},errorMessageFontSize:{...Di,property:"font-size"},inputValueTextColor:{...Ii,property:"color"},inputBackgroundColor:{...Ni,property:"background-color"},inputBorderRadius:{...Ni,property:"border-radius"},inputBorderWidth:{...Ni,property:"border-width"},inputBorderOffset:{...Ni,property:"border-offset"},inputBorderColor:{...Ni,property:"border-color"},inputBorderStyle:{...Ni,property:"border-style"},inputOutlineWidth:{...Ni,property:"outline-width"},inputOutlineOffset:{...Ni,property:"outline-offset"},inputOutlineColor:{...Ni,property:"outline-color"},inputOutlineStyle:{...Ni,property:"outline-style"},inputAlign:{...Ni,property:"align-self"},inputContainerPadding:{...bi,property:"padding"},inputContainerBackgroundColor:{...bi,property:"background-color"},inputContainerBorderRadius:{...bi,property:"border-radius"},inputContainerBorderWidth:{...bi,property:"border-width"},inputContainerBorderColor:{...bi,property:"border-color"},inputContainerBorderStyle:{...bi,property:"border-style"},inputContainerOutlineWidth:{...bi,property:"outline-width"},inputContainerOutlineOffset:{...bi,property:"outline-offset"},inputContainerOutlineColor:{...bi,property:"outline-color"},inputContainerOutlineStyle:{...bi,property:"outline-style"},inputSize:[{...Ni,property:"width"},{...Ni,property:"height"},{...Ii,property:"font-size"},{...bi,property:"font-size"}]}}),Be,ni({proxyProps:["value","selectionStart"]}),Ze,gi)(qe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${Mi(zi.cssVarList)}\n ${ge(zi.cssVarList)}\n\n :host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n }\n\n :host ::part(error-message) {\n direction: ltr;\n }\n\n vaadin-text-field {\n width: 100%;\n }\n\n descope-boolean-field-internal {\n\t\t\t\tpadding: 2px;\n\t\t\t\twidth: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n\n :host([full-width]) vaadin-checkbox {\n flex-grow: 1;\n }\n\n vaadin-checkbox::part(checkbox) {\n margin: 0;\n }\n\n vaadin-checkbox::part(checkbox)::after {\n top: 0;\n left: 0;\n -webkit-text-fill-color: initial;\n }\n\n vaadin-checkbox label {\n -webkit-text-fill-color: initial;\n }\n\n vaadin-text-field::part(input-field)::after {\n content: none;\n }\n `,excludeAttrsSync:["label","tabindex","style"],componentName:mi})),vi=L("text");class Ci extends(yt({componentName:vi,baseSelector:":host > slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <slot part="text-wrapper"></slot>\n ',f("\n :host {\n display: inline-block;\n line-height: 1em;\n }\n :host > slot {\n width: 100%;\n display: inline-block;\n }\n ",this)}get hideWhenEmpty(){return"true"===this.getAttribute("hide-when-empty")}init(){super.init(),v(this,()=>{const t=!!this.childNodes.length;this.style.display=!t&&this.hideWhenEmpty?"none":""})}}const{host:Si}={host:{selector:()=>":host"}},Li=T(ct({mappings:{hostWidth:{...Si,property:"width"},hostDirection:{...Si,property:"direction"},fontSize:{},textColor:[{property:"color"}],textLineHeight:{property:"line-height"},textLetterSpacing:{property:"letter-spacing"},textShadow:{},textAlign:{},textTransform:{},fontFamily:{},fontStyle:{},fontWeight:{},borderWidth:{},borderStyle:{},borderColor:{}}}),Ut({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(Ci),Ai=L("link"),wi=["href","readonly"];class fi extends(yt({componentName:Ai,baseSelector:":host a"})){static get observedAttributes(){return wi.concat(super.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t<div>\n\t\t\t<descope-text part="wrapper">\n\t\t\t\t<a>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</a>\n\t\t\t</descope-text>\n\t\t</div>\n\t\t',f('\n :host {\n\t\t\tdisplay: inline-block;\n line-height: 1em;\n\t\t}\n\t\t:host a {\n\t\t\tdisplay: inline;\n\t\t}\n\n :host([ellipsis="true"]) descope-text {\n display: inline-flex;\n }\n :host([ellipsis="true"]) descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n ',this),this.anchor=this.shadowRoot.querySelector("a"),w(this,this.anchor,{includeAttrs:["href","target","tooltip"],mapAttrs:{tooltip:"title"}}),w(this,this.shadowRoot.querySelector("descope-text"),{includeAttrs:["mode","variant"]}),this.anchor.addEventListener("click",t=>{this.readOnly&&t.preventDefault()})}get readOnly(){return"true"===this.getAttribute("readonly")}}const Ei={host:{selector:()=>":host"},link:{selector:()=>":host a"},anchor:{},wrapper:{selector:()=>":host > div"},text:{selector:()=>Li.componentName}},{anchor:ki,text:Oi,host:Vi,wrapper:Ui,link:Yi}=Ei,Wi=T(ct({mappings:{hostWidth:{...Vi,property:"width"},hostDirection:{...Oi,property:"direction"},textAlign:Ui,textDecoration:{...Yi,property:"text-decoration",fallback:"none"},textColor:[{...ki,property:"color"},{...Oi,property:Li.cssVarList.textColor}],cursor:ki}}),Ut({triggers:[{attr:"full-width",value:"true"}]}),ut,pt)(fi);customElements.define(vi,Li),customElements.define(Ai,Wi),customElements.define(Wt,Qt),customElements.define(ui,class extends hi{static get observedAttributes(){return["readonly","label"]}constructor(){super(),this.innerHTML='\n\t\t\t<div class="wrapper">\n\t\t\t\t<vaadin-checkbox>\n\t\t\t\t\t<descope-enriched-text link-target-blank="true" class="label-content" slot="label"></descope-enriched-text>\n\t\t\t\t</vaadin-checkbox>\n\t\t\t</div>\n\t\t',this.wrapperEle=this.querySelector("div"),this.checkbox=this.querySelector("vaadin-checkbox"),this.labelContent=this.querySelector(".label-content")}get value(){return this.checkbox?.checked}set value(t){this.checkbox.checked=t}get checked(){return this.value}set checked(t){this.value=t}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.checkbox.focus()}),super.init?.(),te(this,this.checkbox,{includeAttrs:pi}),qt(this,this.checkbox,{includeAttrs:["checked"]}),this.labelContent.addEventListener("click",t=>{this.hasAttribute("disabled")||this.hasAttribute("readonly")||this.checkbox.click()}),this.handleFocusEventsDispatching([this.checkbox])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"readonly"===t&&this.onReadOnlyChange(null!==i),"label"===t&&this.onLabelChange()}onLabelChange(){const t=this.getAttribute("label");this.labelContent.textContent=t||""}onReadOnlyChange(t){this.baseElement.setAttribute("inert",t)}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}}),customElements.define(mi,zi);const Ri=Xt("switch-toggle"),{host:Qi,component:Pi,checkboxElement:Bi,checkboxSurface:Zi,checkboxLabel:Fi,requiredIndicator:Gi,helperText:Hi,errorMessage:Ji}={host:{selector:()=>":host"},requiredIndicator:{selector:'[required] vaadin-checkbox [slot="label"]:not(:empty)::part(content)::after'},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxLabel:{selector:'vaadin-checkbox [slot="label"]:not(:empty)'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},$i=Zt(Pe({mappings:{hostWidth:{...Qi,property:"width"},hostDirection:{...Qi,property:"direction"},fontSize:[Pi,Fi,Fi],fontFamily:[Fi,Hi,Ji],labelTextColor:[{...Fi,property:"color"},{...Fi,property:"-webkit-text-fill-color"}],labelSpacing:{...Fi,property:"padding-inline-start"},labelLineHeight:{...Fi,property:"line-height"},labelFontWeight:{...Fi,property:"font-weight"},labelRequiredIndicator:{...Gi,property:"content"},errorMessageTextColor:{...Ji,property:"color"},errorMessageIcon:{...Ji,property:"background-image"},errorMessageIconSize:{...Ji,property:"background-size"},errorMessageIconPadding:{...Ji,property:"padding-inline-start"},errorMessageIconRepeat:{...Ji,property:"background-repeat"},errorMessageIconPosition:{...Ji,property:"background-position"},errorMessageFontSize:{...Ji,property:"font-size"},trackBorderWidth:{...Bi,property:"border-width"},trackBorderStyle:{...Bi,property:"border-style"},trackBorderColor:{...Bi,property:"border-color"},trackBackgroundColor:{...Bi,property:"background-color"},trackBorderRadius:{...Bi,property:"border-radius"},trackWidth:[{...Bi,property:"width"}],trackHeight:[{...Zi,property:"font-size"},{...Bi,property:"height"}],knobSize:[{...Zi,property:"width"},{...Zi,property:"height"}],knobTextColor:{...Zi,property:"color"},knobRadius:{...Zi,property:"border-radius"},knobTransitionDuration:{...Zi,property:"transition"},knobColor:{...Zi,property:"background-color"},knobTopOffset:{...Zi,property:"top"},knobLeftOffset:{...Zi,property:"left"},inputOutlineWidth:{...Bi,property:"outline-width"},inputOutlineOffset:{...Bi,property:"outline-offset"},inputOutlineColor:{...Bi,property:"outline-color"},inputOutlineStyle:{...Bi,property:"outline-style"}}}),Be,ni({proxyProps:["value","selectionStart"]}),Ze,gi)(qe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${Mi($i.cssVarList)}\n\t\t\t${ge($i.cssVarList)}\n\n :host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n }\n\n :host ::part(error-message) {\n direction: ltr;\n }\n\n vaadin-text-field {\n width: 100%;\n }\n\n vaadin-text-field::part(input-field)::after {\n content: none;\n }\n\n descope-boolean-field-internal {\n\t\t\t\tpadding: 0;\n width: 100%;\n }\n\n vaadin-text-field::part(input-field) {\n cursor: pointer;\n }\n\n vaadin-checkbox {\n cursor: pointer;\n }\n\n vaadin-checkbox [slot="label"]:not(:empty) {\n cursor: pointer;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox) {\n margin: 0;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox)::before {\n content: '';\n\t\t\t}\n\n vaadin-checkbox[active]::part(checkbox) {\n\t\t\t\ttransform: none;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox)::after {\n\t\t\t\tposition: absolute;\n\t\t\t\topacity: 1;\n\t\t\t\tcontent: '';\n\t\t\t}\n\t\t`,excludeAttrsSync:["label","tabindex","style"],componentName:Ri}));customElements.define(Ri,$i);const _i=Xt("loader-linear");class qi extends($e({componentName:_i,baseSelector:":host > div"})){static get componentName(){return _i}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div></div>\n\t",f("\n @keyframes tilt {\n\t\t\t\t0% { transform: translateX(0); }\n\t\t\t\t50% { transform: translateX(400%); }\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tposition: relative;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\tdiv::after {\n\t\t\t\tcontent: '';\n\t\t\t\tanimation-name: tilt;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\twidth: 100%;\n\t\t\t}\n ",this)}}const{after:Xi,host:Ki}={after:{selector:"::after"},host:{selector:()=>":host"}},to=Zt(Pe({mappings:{hostDisplay:{},hostWidth:{...Ki,property:"width"},barHeight:[{property:"height"},{...Xi,property:"height"}],barBorderRadius:[{property:"border-radius"},{...Xi,property:"border-radius"}],verticalPadding:[{...Ki,property:"padding-top"},{...Ki,property:"padding-bottom"}],barBackgroundColor:{property:"background-color"},barColor:{...Xi,property:"background-color"},barWidth:{...Xi,property:"width"},animationDuration:[{},Xi],animationTimingFunction:[{},Xi],animationIterationCount:[{},Xi]}}),Be,Ze)(qi);customElements.define(_i,to);const eo=Xt("loader-radial");class io extends($e({componentName:eo,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div></div>\n\t",f("\n @keyframes spin {\n\t\t\t\t0% { transform: rotate(0deg); }\n\t\t\t\t100% { transform: rotate(360deg); }\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tposition: relative;\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\tanimation-name: spin;\n\t\t\t}\n ",this)}}const oo=Zt(Pe({mappings:{hostDisplay:{property:"display"},spinnerSize:[{property:"width"},{property:"height"}],spinnerBorderWidth:{property:"border-width"},spinnerBorderStyle:{property:"border-style"},spinnerBorderRadius:{property:"border-radius"},spinnerQuadrant1Color:{property:"border-top-color"},spinnerQuadrant2Color:{property:"border-bottom-color"},spinnerQuadrant3Color:{property:"border-right-color"},spinnerQuadrant4Color:{property:"border-left-color"},animationDuration:{},animationTimingFunction:{},animationIterationCount:{}}}),Be,Ze)(io);customElements.define(eo,oo);const no=Xt("container");class ro extends($e({componentName:no,baseSelector:"slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<slot></slot>\n\t",f("\n\t\t\t:host > slot {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tdisplay: flex;\n\t\t\t\toverflow: auto;\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t}\n ",this)}}const so=Zt(Pe({mappings:{hostHeight:{selector:()=>":host",property:"height"},hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},itemsGrow:{selector:()=>"::slotted(*)",property:"flex-grow",fallback:"0"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:{},flexWrap:{},backgroundColor:{},backgroundImage:{},backgroundPositionX:{},backgroundPositionY:{},backgroundSize:{},backgroundRepeat:{},color:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{}}}),Be,Ze)(ro);customElements.define(no,so);const ao=L("combo-box"),{host:lo,inputField:co,inputElement:uo,placeholder:po,toggle:ho,clearButton:go,label:Mo,requiredIndicator:mo,helperText:yo,errorMessage:bo,loader:No,overlayContent:Io}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"input"},placeholder:{selector:"> input:placeholder-shown"},toggle:{selector:"::part(toggle-button)"},clearButton:{selector:"::part(clear-button)"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},loader:{selector:"vaadin-combo-box-overlay::part(loader)"},overlayContent:{selector:"vaadin-combo-box-overlay::part(content)"}},xo=T(ct({mappings:{hostWidth:{...lo,property:"width"},hostDirection:{...lo,property:"direction"},fontSize:[{},lo],fontFamily:[Mo,po,co,yo,bo],labelFontSize:{...Mo,property:"font-size"},labelFontWeight:{...Mo,property:"font-weight"},inputValueFontWeight:{...co,property:"font-weight"},inputPlaceholderFontWeight:{...po,property:"font-weight"},helperTextFontWeight:{...yo,property:"font-weight"},errorMessageFontWeight:{...bo,property:"font-weight"},labelTextColor:[{...Mo,property:"color"},{...Mo,property:"-webkit-text-fill-color"},{...mo,property:"color"}],errorMessageTextColor:{...bo,property:"color"},errorMessageIcon:{...bo,property:"background-image"},errorMessageIconSize:{...bo,property:"background-size"},errorMessageIconPadding:{...bo,property:"padding-inline-start"},errorMessageIconRepeat:{...bo,property:"background-repeat"},errorMessageIconPosition:{...bo,property:"background-position"},errorMessageFontSize:{...bo,property:"font-size"},inputHeight:{...co,property:"height"},inputBackgroundColor:{...co,property:"background-color"},inputBorderColor:{...co,property:"border-color"},inputBorderWidth:{...co,property:"border-width"},inputBorderStyle:{...co,property:"border-style"},inputBorderRadius:{...co,property:"border-radius"},labelRequiredIndicator:{...mo,property:"content"},inputValueTextColor:{...co,property:"color"},inputPlaceholderTextColor:{...po,property:"color"},inputDropdownButtonCursor:[{...ho,property:"cursor"},{...go,property:"cursor"}],inputDropdownButtonColor:[{...ho,property:"color"},{...go,property:"color"}],inputDropdownButtonSize:[{...ho,property:"font-size"},{...go,property:"font-size"}],inputDropdownButtonOffset:[{...ho,property:"margin-right"},{...ho,property:"margin-left"}],inputOutlineColor:{...co,property:"outline-color"},inputOutlineWidth:{...co,property:"outline-width"},inputOutlineStyle:{...co,property:"outline-style"},inputOutlineOffset:{...co,property:"outline-offset"},inputHorizontalPadding:[{...uo,property:"padding-left"},{...uo,property:"padding-right"}],labelPosition:{...Mo,property:"position"},labelTopPosition:{...Mo,property:"top"},labelHorizontalPosition:[{...Mo,property:"left"},{...Mo,property:"right"}],inputTransformY:{...Mo,property:"transform"},inputTransition:{...Mo,property:"transition"},marginInlineStart:{...Mo,property:"margin-inline-start"},placeholderOpacity:{...po,property:"opacity"},inputVerticalAlignment:{...co,property:"align-items"},valueInputHeight:{...uo,property:"height"},valueInputMarginBottom:{...uo,property:"margin-bottom"},overlayBackground:{property:()=>xo.cssVarList.overlay.backgroundColor},overlayTextColor:{property:()=>xo.cssVarList.overlay.textColor},overlayBorder:{property:()=>xo.cssVarList.overlay.border},overlayFontSize:{property:()=>xo.cssVarList.overlay.fontSize},overlayFontFamily:{property:()=>xo.cssVarList.overlay.fontFamily},overlayCursor:{property:()=>xo.cssVarList.overlay.cursor},overlayItemBoxShadow:{property:()=>xo.cssVarList.overlay.itemBoxShadow},overlayItemPaddingInlineStart:{property:()=>xo.cssVarList.overlay.itemPaddingInlineStart},overlayItemPaddingInlineEnd:{property:()=>xo.cssVarList.overlay.itemPaddingInlineEnd},overlayCheckmarkDisplay:{property:()=>xo.cssVarList.overlay.checkmarkDisplay},overlaySelectedItemBackground:{property:()=>xo.cssVarList.overlay.selectedItemBackground},overlaySelectedItemHoverBackground:{property:()=>xo.cssVarList.overlay.selectedItemHoverBackground},overlaySelectedItemFocusBackground:{property:()=>xo.cssVarList.overlay.selectedItemFocusBackground},overlayItemHoverBackground:{property:()=>xo.cssVarList.overlay.itemHoverBackground},overlayItemFocusBackground:{property:()=>xo.cssVarList.overlay.itemFocusBackground}}}),ut,Et({name:"overlay",selector:"",mappings:{backgroundColor:[{selector:"vaadin-combo-box-scroller"},{selector:"vaadin-combo-box-overlay::part(overlay)"}],minHeight:{selector:"vaadin-combo-box-overlay"},margin:{selector:"vaadin-combo-box-overlay"},cursor:{selector:"vaadin-combo-box-item"},fontFamily:{selector:"vaadin-combo-box-item"},textColor:{selector:"vaadin-combo-box-item",property:"color"},fontSize:{selector:"vaadin-combo-box-item"},itemBoxShadow:{selector:"vaadin-combo-box-item",property:"box-shadow"},itemPaddingInlineStart:{selector:"vaadin-combo-box-item",property:"padding-inline-start"},itemPaddingInlineEnd:{selector:"vaadin-combo-box-item",property:"padding-inline-end"},checkmarkDisplay:{selector:"vaadin-combo-box-item::part(checkmark)",property:"display"},selectedItemBackground:{selector:"vaadin-combo-box-item[selected]",property:"background-color"},selectedItemHoverBackground:{selector:"vaadin-combo-box-item[selected]:hover:not([disabled])",property:"background-color"},selectedItemFocusBackground:{selector:"vaadin-combo-box-item[selected][focused]:not([disabled])",property:"background-color"},itemHoverBackground:{selector:"vaadin-combo-box-item:hover:not([selected]):not([disabled])",property:"background-color"},itemFocusBackground:{selector:"vaadin-combo-box-item[focused]:not([selected]):not([disabled])",property:"background-color"},loaderTop:{...No,property:"top"},loaderLeft:{...No,property:"left"},loaderRight:{...No,property:"right"},loaderMargin:{...No,property:"margin"},loaderWidth:{...No,property:"width"},loaderHeight:{...No,property:"height"},loaderBorder:{...No,property:"border"},loaderBorderColor:{...No,property:"border-color"},loaderBorderRadius:{...No,property:"border-radius"},contentHeight:{...Io,property:"height"},contentOpacity:{...Io,property:"opacity"},scrollerMinHeight:{selector:"vaadin-combo-box-scroller",property:"min-height"}},forward:{include:!1,attributes:["size"]}}),wt({proxyProps:["selectionStart"],inputEvent:"value-changed"}),t=>class extends t{init(){super.init?.(),this.baseElement._hasValidConstraints&&(this.baseElement._hasValidConstraints=()=>!0)}},pt,t=>class extends t{static get observedAttributes(){return["label-type","require-match"]}#tt=({displayName:t,value:e,label:i})=>`<span data-name="${i}" data-id="${e}">${t||i}</span>`;#U;get defaultValue(){return this.getAttribute("default-value")}get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}set renderer(t){this.baseElement.renderer=t}get loading(){return"true"===this.getAttribute("loading")}set loading(t){t?this.setAttribute("loading","true"):this.removeAttribute("loading")}get data(){if(this.#U)return this.#U;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" -',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#U=t,this.renderItems())}get requireMatch(){return"true"===this.getAttribute("require-match")&&!this.allowCustomValue}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){if(this.#U||this.getAttribute("data")){const t=this.getItemsTemplate();this.innerHTML=t}}get hasDynamicData(){return"true"===this.getAttribute("has-dynamic-data")}get shouldSelectItemOnItemsChange(){return!this.hasDynamicData||this.allowCustomValue}handleSelectedItem(){const{selectedItem:t}=this.baseElement,e=t?.["data-id"];t&&Array.from(this.children).includes(t)||(e&&this.shouldSelectItemOnItemsChange&&(this.value=e),this.value||this.setDefaultValue())}customValueTransformFn(t){return t}setComboBoxDescriptor(){const t=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value"),e=this;Object.defineProperties(this.inputElement,{value:{...t,set(i){if(!e.baseElement.items?.length&&!e.allowCustomValue)return;const o=e.customValueTransformFn(i)||"";o!==this.value&&t.set.call(this,o)}}})}#et(){const t=Array.from(this.children);t.forEach(t=>{Object.defineProperty(t,"data-name",{value:t.getAttribute("data-name"),configurable:!0,writable:!0}),Object.defineProperty(t,"data-id",{value:t.getAttribute("data-id"),configurable:!0,writable:!0})}),this.baseElement.items=t,setTimeout(()=>{this.handleSelectedItem()},0)}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-combo-box-overlay");t._attachOverlay=()=>{t.bringToFront()},t._detachOverlay=()=>{},t._enterModalState=()=>{}}#ot(){this.baseElement.renderer=(t,e,i)=>{t.innerHTML=i.item.outerHTML}}#nt(){this.hasDynamicData&&(this.baseElement._dataProviderFilterChanged=()=>{})}isValueMatch(){const t=this.baseElement.querySelector("input").value;return!t||this.baseElement.items.some(e=>e.dataset.name===t||e.dataset.id===t)}init(){super.init?.(),this.getValidity=function(){return this.requireMatch&&!this.isValueMatch()?{patternMismatch:!0}:!this.value&&this.isRequired?{valueMissing:!0}:{}},this.#ot(),this.#nt(),setTimeout(()=>{this.setComboBoxDescriptor(),this.#it()}),z(this,this.renderItems.bind(this),{includeAttrs:["data"]}),v(this,this.#et.bind(this)),this.setDefaultValue(),this.baseElement.addEventListener("value-changed",()=>{this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),this.baseElement.addEventListener("filter-changed",t=>{this.dispatchEvent(new CustomEvent("filter-changed",{bubbles:!0,composed:!0,detail:t.detail}))})}onLabelClick(){this.isReadOnly||this.isDisabled||(this.focus(),this.autoOpenDisabled||this.setAttribute("opened","true"))}handleRequireMatchChange(t){this.baseElement.allowCustomValue=t||this.allowCustomValue}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label-type"===t?"floating"===i?this.addEventListener("click",this.onLabelClick):this.removeEventListener("click",this.onLabelClick):"require-match"===t&&this.handleRequireMatchChange("true"===i))}setDefaultValue(){this.defaultValue&&(this.value=this.defaultValue)}#rt(t){return this.baseElement.items?.find(e=>e["data-id"]===t)}#st(t,e){t===this.value&&e!==this.baseElement.selectedItem&&this.baseElement.addEventListener("selected-item-changed",t=>{t.stopImmediatePropagation()},{once:!0,capture:!0})}set value(t){const e=this.#rt(t);this.#st(t,e),t&&e?this.baseElement.selectedItem=e:!e&&this.allowCustomValue?this.baseElement.value=t:this.baseElement.selectedItem=void 0}get value(){return(this.baseElement.selectedItem?.["data-id"]||this.allowCustomValue)&&this.baseElement.__data.value||""}get allowCustomValue(){return"true"===this.getAttribute("allow-custom-value")}get autoOpenDisabled(){return"true"===this.getAttribute("auto-open-disabled")}})(Ct({slots:["","prefix"],wrappedEleName:"vaadin-combo-box",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tbox-sizing: border-box;\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t${H(xo.cssVarList)}\n\t\t${_("vaadin-combo-box")}\n\t\t${$("vaadin-combo-box")}\n\t\t${J("vaadin-combo-box")}\n\n\t\tvaadin-combo-box {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\tvaadin-combo-box::before {\n\t\t\theight: initial;\n\t\t}\n\t\tvaadin-combo-box [slot="input"] {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\tvaadin-combo-box::part(input-field) {\n\t\t\tpadding: 0;\n\t\t\tbox-shadow: none;\n\t\t}\n\n vaadin-combo-box::part(toggle-button),\n vaadin-combo-box::part(clear-button) {\n align-self: center;\n }\n\n vaadin-combo-box[hide-toggle-button="true"]::part(toggle-button) {\n display: none;\n }\n\n vaadin-combo-box[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-combo-box[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n ${q("vaadin-combo-box")}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\t\t`,excludeAttrsSync:["tabindex","size","data","loading","style"],componentName:ao,includeForwardProps:["items","renderer","selectedItem"]}));customElements.define(ao,xo);const jo=t=>{const e=c.A.sanitize(t,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["image"],FORBID_TAGS:["defs"]});return(new DOMParser).parseFromString(e,"image/svg+xml").querySelector("svg")},To=L("image"),Do=["src","src-dark"];class zo extends(yt({componentName:To,baseSelector:"slot"})){static get observedAttributes(){return Do}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<slot></slot>\n\t",f("\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n :host > slot {\n width: 100%;\n height: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tdisplay: flex;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\n ::slotted(*) {\n width: 100%;\n\t\t\t}\n\n .hidden {\n display: none;\n }\n ",this)}init(){super.init?.(),this.toggleVisibility(this.getSrc)}onThemeChange(){this.renderImage()}toggleVisibility(t){t?this.classList.remove("hidden"):this.classList.add("hidden")}get altText(){return this.getAttribute("alt")||""}get legacySrc(){return this.getAttribute("src")}get themeSrc(){return this.getAttribute(`src-${this.currentThemeName}`)}get getSrc(){return this.themeSrc||this.legacySrc}updateFillColor(t){[t,...t.querySelectorAll("*[fill]")].forEach(t=>{t.setAttribute("fill",`var(${vo.cssVarList.fill}, ${t.getAttribute("fill")||"''"})`)})}renderImage(){this.toggleVisibility(this.getSrc),(async(t,e)=>{try{let i;if((t=>t.startsWith("data:image/svg+xml;base64,"))(t)){const e=atob(t.slice(26));i=jo(e)}else if("svg"===(t=>{const e=t.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);return e?e[1]:null})(t)){const e=await fetch(t),o=await e.text();i=jo(o)}else i=((t,e)=>{const i=document.createElement("img");return i.setAttribute("src",t),i.setAttribute("alt",e),i})(t,e);return i.style.setProperty("max-width","100%"),i.style.setProperty("max-height","100%"),i}catch{return null}})(this.getSrc,this.altText).then(t=>{this.innerHTML="",t&&(this.updateFillColor(t),this.appendChild(t))})}shouldRender(t){const e=this.getAttribute(t);return this.getSrc===e}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&this.shouldRender(t)&&this.renderImage()}}const vo=T(ct({mappings:{fill:{},height:{selector:()=>":host"},width:{selector:()=>":host"}}}),ut,pt)(zo),Co=L("icon"),So=T(ct({mappings:{fill:[{},{property:vo.cssVarList.fill}],height:{selector:()=>":host"},width:{selector:()=>":host"}}}),ut,pt)(Ct({slots:[],wrappedEleName:"descope-image",style:()=>"\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n max-height: 100%;\n }\n ",excludeAttrsSync:["tabindex","class","style","st-height","st-width"],componentName:Co})),Lo=L("button"),{host:Ao,label:wo,slottedIcon:fo}={host:{selector:()=>":host"},label:{selector:"::part(label)"},slottedIcon:{selector:()=>"::slotted(descope-icon)"}};let Eo;const ko=T(Ut({triggers:[{attr:"full-width",value:"true"}]}),ct({mappings:{hostWidth:{property:"width"},hostHeight:{property:"height"},hostDirection:{...Ao,property:"direction"},fontSize:{},fontFamily:{},fontWeight:{},cursor:{},backgroundColor:{},outlineOffset:{},outlineColor:{},outlineStyle:{},outlineWidth:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-right",fallback:"0.875em"},{property:"padding-left",fallback:"0.875em"}],labelTextColor:{property:"color"},iconColor:{selector:()=>"::slotted(*)",property:So.cssVarList.fill},labelTextDecoration:{...wo,property:"text-decoration"},labelSpacing:{...wo,property:"gap"},textAlign:{...wo,property:"justify-content",fallback:"center"},iconSize:[{...fo,property:"width"},{...fo,property:"height"}]}}),t=>class extends t{get isLoading(){return"true"===this.getAttribute("loading")}click(){this.isLoading||super.click()}},ut,pt)(Ct({slots:["","prefix","label","suffix"],wrappedEleName:"vaadin-button",style:()=>`\n\t\t\t\n\t:host {\n\t\tdisplay: inline-block;\n\t\tbox-sizing: border-box;\n\t}\n\tvaadin-button::before,\n\tvaadin-button::after {\n\t\topacity: 0;\n\t}\n\tvaadin-button {\n\t\tmargin: 0;\n\t\tmin-width: 0;\n\t\twidth: 100%;\n\t\theight: auto;\n\t\tbox-shadow: none;\n\t}\n\tvaadin-button::part(label) {\n\t\tpadding: 0;\n width: 100%;\n\t}\n\tvaadin-button::part(prefix) {\n\t\tmargin-left: 0;\n\t\tmargin-right: 0;\n\t}\n\n\t\t\t\n\tvaadin-button::part(prefix),\n\tvaadin-button::part(label) {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t\t\t${Eo}\n\t\t\tvaadin-button::part(label) { pointer-events: none; }\n\t\t\t:host {\n\t\t\t\tpadding: calc(var(${ko.cssVarList.outlineWidth}) + var(${ko.cssVarList.outlineOffset}));\n\t\t\t}\n :host([full-width="true"]) {\n width: var(${ko.cssVarList.hostWidth});\n }\n\t\t\tvaadin-button {\n\t\t\t\theight: calc(var(${ko.cssVarList.hostHeight}) - var(${ko.cssVarList.outlineWidth}) - var(${ko.cssVarList.outlineOffset}));\n\t\t\t}\n\t\t\t[square="true"]:not([full-width="true"]) {\n\t\t\t\twidth: calc(var(${ko.cssVarList.hostWidth}) - var(${ko.cssVarList.outlineWidth}) - var(${ko.cssVarList.outlineOffset}));\n padding: 0;\n\t\t\t}\n\t\t`,excludeAttrsSync:["tabindex","class","style"],componentName:Lo})),{color:Oo,fontSize:Vo}=ko.cssVarList;Eo=`\n\t@keyframes spin {\n\t\t0% { -webkit-transform: rotate(0deg); }\n\t\t100% { -webkit-transform: rotate(360deg); }\n\t}\n\t:host([loading="true"]) ::before {\n\t\tanimation: spin 2s linear infinite;\n\t\tposition: absolute;\n\t\tcontent: '';\n\t\tz-index: 1;\n\t\tbox-sizing: border-box;\n\t\tborder-radius: 50%;\n\t\tborder-bottom-color: transparent;\n\t\tborder-left-color: transparent;\n\t\tborder-style: solid;\n\t\tcolor: var(${Oo});\n\t\ttop: calc(50% - (var(${Vo}) / 2));\n\t\tleft: calc(50% - (var(${Vo}) / 2));\n\t\tborder-width: calc(var(${Vo}) / 10);\n\t\twidth: var(${Vo});\n\t\theight: var(${Vo});\n\t}\n\t:host([disabled="true"]),\n\t:host([loading="true"]) {\n\t\tpointer-events: none;\n\t}\n\t:host([loading="true"]) ::part(prefix),\n\t:host([loading="true"]) ::part(label) {\n\t\tvisibility: hidden;\n\t}\n`,customElements.define(Lo,ko);const Uo=["MM/DD/YYYY","DD/MM/YYYY","YYYY/MM/DD"],Yo=Uo[0],Wo="YYYY-MM-DD",Ro="/",Qo=["January","February","March","April","May","June","July","August","September","October","November","December"],Po=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Bo={id:"month",min:1,max:12,placeholder:"MM"},Zo={id:"day",min:1,max:31,placeholder:"DD"},Fo={id:"year",min:0,max:9999,placeholder:"YYYY"},Go=1900,Ho=2099,Jo=(t,e)=>{if("number"==typeof t)return new Date(t);if("string"==typeof t){const e=new Date(t.replace(/-/g,"/"));return new Date(e)}return new Date},$o={MM:"(0?[1-9]|1[0-2])",DD:"(0?[1-9]|[12][0-9]|3[01])",YYYY:"([0-9]{4})"},_o=t=>{const e=(t=>`^${t.split(Ro).map(t=>$o[t]).join("\\D")}$`)(t),i=(t=>{const e=t.split(Ro);return t=>{const i={};return e.forEach((e,o)=>{i[e]=t[o+1]}),[i.YYYY,i.MM,i.DD]}})(t),o=new RegExp(e);return{pattern:e,validate:t=>o.test(t),getDate:t=>((t,e,i)=>{const o=e.exec(t);if(!o)return null;const[n,r,s]=i(o);return Jo([n,r,s].join(Ro))})(t,o,i)}},qo=Object.fromEntries(Uo.map(t=>[t,_o(t)])),Xo=t=>!Number.isNaN(Number(t)),Ko=t=>{const e=Jo(t);return[e.getFullYear(),e.getMonth()+1,e.getDate()]},tn=(t,e)=>{const[i,o,n]=Ko(t),r={DD:String(n).padStart(2,"0"),MM:String(o).padStart(2,"0"),YYYY:String(i)};return e.replace(/DD|MM|YYYY/g,t=>r[t])},en=()=>Jo().getTime(),on=t=>Jo(t).getFullYear().toString(),nn=t=>(Jo(t).getMonth()+1).toString(),rn=(t,e)=>"number"==typeof t?t:e?Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()):t.getTime(),sn=(t,e)=>Array.isArray(t)&&t.length===e&&t.filter(Boolean).length===e,an=({label:t,dataId:e,dataName:i})=>`\n\t<div class="combo-box-item"\n\t\tdata-id="${e}"\n\t\tdata-name="${i}"\n\t>\n\t\t\t${t}\n\t</div>\n`,ln=(t=Qo)=>t.map((t,e)=>an({label:t,dataId:e+1,dataName:t})).join(""),dn=(t,e)=>{const[i,o]=Ko(e),[n,r]=Ko(t);return n===i&&r===o},cn=(t,e,i)=>(t.addEventListener("input",e),t.addEventListener("focusout",i),t),un=Xt("calendar"),pn=["initial-value","initial-year","initial-month","years-range","calendar-months","calendar-weekdays","calendar-label-today","st-host-direction","disabled","full-width"],hn=["calendar-label-submit","calendar-label-cancel"],gn=ci({componentName:un,baseSelector:"div"}),{calendar:Mn,day:mn,dayEntry:yn,currentDay:bn,selectedDay:Nn,disabledDay:In,weekday:xn,topNav:jn,topNavSelectors:Tn,bottomNav:Dn,navPrev:zn,navNext:vn,navPrevRTL:Cn,navNextRTL:Sn,yearInput:Ln,monthInput:An}={calendar:{selector:()=>".calendar"},topNav:{selector:()=>".nav.top-nav"},topNavSelectors:{selector:()=>".nav.top-nav .selectors > span"},bottomNav:{selector:()=>".nav.bottom-nav"},day:{selector:()=>".day"},dayEntry:{selector:()=>".day-entry"},currentDay:{selector:()=>".day-entry[data-current-day] .day"},selectedDay:{selector:()=>".day-entry[data-selected] .day"},disabledDay:{selector:()=>'.day-entry[data-disabled="true"] .day'},weekday:{selector:()=>".weekday"},navPrev:{selector:()=>".nav-prev"},navNext:{selector:()=>".nav-next"},navPrevRTL:{selector:()=>':host([st-host-direction="rtl"]) .nav-prev'},navNextRTL:{selector:()=>':host([st-host-direction="rtl"]) .nav-next'},yearInput:{selector:()=>".year-input"},monthInput:{selector:()=>".month-input"}},wn=Zt(Pe({componentNameOverride:Xt("input-wrapper")}),Pe({mappings:{fontSize:{},fontFamily:{},hostWidth:[{selector:()=>":host",property:"width"},{selector:"table",property:"width"}],hostDirection:{property:"direction"},topNavVerticalPadding:[{...jn,property:"padding-top"},{...jn,property:"padding-bottom"}],topNavHorizointalPadding:[{...jn,property:"padding-right"},{...jn,property:"padding-left"}],topNavAlignment:{...jn,property:"justify-content"},topNavGap:{...jn,property:"gap"},topNavSelectorsGap:{...Tn,property:"gap"},bottomNavVerticalPadding:[{...Dn,property:"padding-top"},{...Dn,property:"padding-bottom"}],bottomNavHorizontalPadding:[{...Dn,property:"padding-right"},{...Dn,property:"padding-left"}],bottomNavAlignment:{...Dn,property:"justify-content"},bottomNavGap:{...Dn,property:"gap"},navMarginBottom:{...jn,property:"margin-bottom"},calendarPadding:[{...Mn,property:"padding-bottom"},{...Mn,property:"padding-right"},{...Mn,property:"padding-left"}],navBorderBottomWidth:{...jn,property:"border-bottom-width"},navBorderBottomColor:{...jn,property:"border-bottom-color"},navBorderBottomStyle:{...jn,property:"border-bottom-style"},weekdayFontSize:{...xn,property:"font-size"},weekdayFontWeight:{...xn,property:"font-weight"},currentDayBorderColor:{...bn,property:"border-color"},currentDayBorderWidth:{...bn,property:"border-width"},currentDayBorderStyle:{...bn,property:"border-style"},dayHeight:{...yn,property:"height"},daySize:[{...mn,property:"height"},{...mn,property:"width"}],dayPadding:{...mn,property:"padding"},dayRadius:{...mn,property:"border-radius"},dayTextAlign:{...mn,property:"text-align"},dayBlockAlign:{...mn,property:"margin"},dayTextColor:{...mn,property:"color"},dayFontWeight:{...mn,property:"font-weight"},dayBackgroundColor:{...mn,property:"background-color"},dayCursor:{...mn,property:"cursor"},dayFontSize:{...mn,property:"font-size"},dayBackgroundColorHover:{selector:()=>".day:hover",property:"background-color"},daySelectedTextdColor:{...Nn,property:"color"},daySelectedBackgroundColor:{...Nn,property:"background-color"},dayDisabledTextdColor:{...In,property:"color"},yearInputWidth:{...Ln,property:"width"},monthInputWidth:{...An,property:"width"},navButtonSize:[{...zn,property:"width"},{...zn,property:"height"},{...vn,property:"width"},{...vn,property:"height"}],navButtonCursor:[{...zn,property:"cursor"},{...vn,property:"cursor"}],navButtonRotation:[{...Cn,property:"transform"},{...Sn,property:"transform"}],navButtonOpacity:[{...zn,property:"opacity"},{...vn,property:"opacity"}]}}),Be,Ze)(class extends gn{static get observedAttributes(){return[].concat(gn.observedAttributes||[],pn,hn)}preview;epoch;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <nav class="nav top-nav">\n <div class="nav-prev">\n </div>\n <div class="selectors"></div>\n <div class="nav-next">\n </div>\n </nav>\n <div class="calendar"></div>\n <nav class="nav bottom-nav">\n <descope-button class="cancel-button" variant="link" mode="primary">Cancel</descope-button>\n <descope-button class="submit-button" variant="link" mode="primary" disabled="true">Done</descope-button>\n </nav>\n </div>\n ',f(`\n :host {\n display: inline-block;\n box-sizing: border-box;\n max-width: 100%;\n user-select: none;\n -webkit-user-select: none;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n [data-toggle-calendar] {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n }\n\n [data-disabled="true"] {\n pointer-events: none;\n }\n\n .calendar .day {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .nav {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n }\n\n .selectors,\n .selectors span {\n display: flex;\n justify-content: center;\n }\n\n descope-button {\n padding: 0;\n ${ko.cssVarList.horizontalPadding}: 0;\n ${ko.cssVarList.verticalPadding}: 0;\n ${ko.cssVarList.outlineWidth}: 0;\n }\n\n .combo-box-item {\n display:flex;\n flex-direction: column;\n }\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n `,this)}set value(t){if(!t)return;const e=Jo(t).getTime();Xo(e)&&e!==this.epoch&&(this.epoch=e,this.renderCalendar())}get value(){return this.epoch?tn(this.epoch,Wo):""}get isSelectedView(){return dn(this.preview,this.epoch)}get isTodayView(){return dn(en(),this.preview)}get monthNames(){return(t=>{const e=t?.split(",");return sn(e,12)?e:Qo})(this.getAttribute("calendar-months"))}get weekdayNames(){return(t=>{const e=t?.split?.(",");return sn(e,7)?e:Po})(this.getAttribute("calendar-weekdays"))}get hasYearValue(){return!!this.yearInput.value}get hasMonthValue(){return!!this.monthInput.value}get yearsRange(){const t=this.getAttribute("years-range")?.split("-");if(2===t?.length){const[e,i]=t.map(Number);if(e<=i)return[e,i]}const e=Jo().getFullYear();return[e,e+100]}init(){super.init?.(),this.initCalendar(),this.renderCalendar()}initCalendar(){this.calendar=this.shadowRoot.querySelector(".calendar"),this.navPrevEle=this.shadowRoot.querySelector(".nav-prev"),this.navNextEle=this.shadowRoot.querySelector(".nav-next"),this.submitButton=this.shadowRoot.querySelector(".submit-button"),this.cancelButton=this.shadowRoot.querySelector(".cancel-button"),this.initInputs(),this.initNav(),this.addEventListener("day-changed",()=>this.submitButton.removeAttribute("disabled")),this.submitButton.shadowRoot.querySelector("vaadin-button").setAttribute("disabled","true")}initInputs(){const t=(()=>{const t=document.createElement("span");return t.innerHTML=`\n <descope-combo-box\n label-type="static"\n bordered="true"\n item-label-path="data-name"\n item-value-path="data-id"\n class="month-input"\n >\n ${ln()}\n </descope-combo-box>\n <descope-combo-box\n allow-custom-value="true"\n label-type="static"\n bordered="true"\n item-label-path="data-name"\n item-value-path="data-id"\n class="year-input"\n no-empty-value="true"\n >\n </descope-combo-box>\n `,t})(this.monthNames,this.yearsRange);this.shadowRoot.querySelector(".selectors").appendChild(t),this.monthInput=cn(this.shadowRoot.querySelector(".month-input"),this.onMonthChange.bind(this),this.onMonthInputBlur.bind(this)),this.yearInput=cn(this.shadowRoot.querySelector(".year-input"),this.onYearChange.bind(this),this.onYearInputBlur.bind(this)),[this.monthInput,this.yearInput].forEach(t=>te(this,t,{includeAttrs:["disabled","size","st-host-direction"]}))}initNav(){this.navPrevEle.addEventListener("click",this.navPrevMonth.bind(this)),this.navNextEle.addEventListener("click",this.navNextMonth.bind(this)),this.cancelButton.addEventListener("click",this.onCancel.bind(this)),this.submitButton.addEventListener("click",this.onSubmit.bind(this)),[this.navPrevEle,this.navNextEle].forEach(t=>te(this,t,{includeAttrs:["size"]})),this.shadowRoot.querySelector(".nav-next").innerHTML='\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.27283 6.78069C8.87912 6.34164 8.91587 5.66655 9.35492 5.27283C9.79397 4.87912 10.4691 4.91587 10.8628 5.35492C10.8628 5.35492 16.0022 10.9543 16.366 11.36C16.7298 11.7657 16.7298 12.2392 16.366 12.6448L10.8628 18.6451C10.4691 19.0841 9.79397 19.1209 9.35492 18.7272C8.91587 18.3334 8.87912 17.6584 9.27283 17.2193L14.1368 12L9.27283 6.78069Z" fill="#808080"/>\n</svg>',this.shadowRoot.querySelector(".nav-prev").innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.7272 17.2193C15.1209 17.6584 15.0841 18.3334 14.6451 18.7272C14.206 19.1209 13.5309 19.0841 13.1372 18.6451C13.1372 18.6451 7.99776 13.0457 7.63399 12.64C7.27023 12.2343 7.27023 11.7608 7.63399 11.3552L13.1372 5.35492C13.5309 4.91587 14.206 4.87912 14.6451 5.27283C15.0841 5.66655 15.1209 6.34164 14.7272 6.78069L9.86322 12L14.7272 17.2193Z" fill="#808080"/>\n</svg>'}onSubmit(){this.isDisabled||this.value&&this.dispatchEvent(new CustomEvent("date-submit",{detail:Jo(this.preview)}))}onCancel(){this.isDisabled||(this.dispatchEvent(new CustomEvent("cancel")),this.dispatchEvent(new CustomEvent("date-cancel")),this.clearSelectedDay())}clearSelectedDay(){this.getSelectedDayEle()?.removeAttribute("data-selected"),this.submitButton.setAttribute("disabled","true"),this.epoch=""}updateInputs(){if(this.yearInput&&this.monthInput){const t=this.preview||en(),e=on(t),i=nn(t);this.monthInput.value=i,setTimeout(()=>{this.yearInput.baseElement.value=e})}}renderCalendar(){const t=Jo(this.preview||en()).getTime(),[e,i]=Ko(t);this.calendar&&(this.calendar.innerHTML=((t,e,i)=>{const o=((t,e)=>new Date(t,e,0).getDate())(t,e),n=new Date(t,e-1,1).getDay();let r="<table>";r+=`<thead><tr>${i.reduce((t,e)=>`${t}<th><span class="weekday">${e}</span></th>`,"")}</tr></thead>`,r+="<tbody>",r+="<tr>";for(let t=0;t<n;t++)r+="<td></td>";let s=n;for(let t=1;t<=o;t++)7===s&&(s=0,r+="</tr><tr>"),r+=`\n <td\n data-date-day="${t}"\n class="day-entry">\n <span class="day" data-date-day=${t}>\n ${t}\n </span>\n </td>\n `,s++;for(;s<7;)r+="<td></td>",s++;return r+="</tr></tbody></table>",r})(e,i,this.weekdayNames.map(t=>t.substring(0,3)))),Array.from(this.calendar?.querySelectorAll(".day-entry .day")||[]).forEach(t=>t.addEventListener("click",this.onDayChange.bind(this))),this.updateInputs(),this.setSelectedDay(),this.setCurrentDay()}onDayChange(t){if(this.isDisabled)return;const e=Jo(this.preview);e.setDate(Number(t.target.getAttribute("data-date-day"))),this.value=tn(e.getTime(),Wo),this.dispatchEvent(new CustomEvent("day-changed",{detail:e}))}onYearChange(t){if(!t.target.value)return;const e=Jo(this.preview);e.setFullYear(Number(t.target.value.trim())),this.preview=e.getTime(),this.renderCalendar(),this.dispatchEvent(new CustomEvent("year-changed",{detail:e}))}onMonthChange(t){if(!t.target.value)return;const e=Jo(this.preview);e.setMonth(Number(t.target.value)-1),this.preview=e.getTime(),this.renderCalendar(),this.dispatchEvent(new CustomEvent("month-changed",{detail:e}))}onYearInputBlur(t){this.yearInput.baseElement.value=t.target.value||on(this.preview)}onMonthInputBlur(t){this.monthInput.baseElement.value=t.target.value||nn(this.preview)}getSelectedDayEle(){const t=Jo(this.epoch).getDate();return this.calendar?.querySelector(`[data-date-day="${t}"]`)}getCurrentDayEle(){return this.calendar?.querySelector(`[data-date-day="${Jo().getDate()}"]`)}clearSelectedDays(){const t=this.calendar?.querySelectorAll("[data-selected]");t&&t.forEach(t=>t.removeAttribute("data-selected"))}setSelectedDay(){this.clearSelectedDays(),this.value&&this.isSelectedView&&this.getSelectedDayEle().setAttribute("data-selected","true")}setCurrentDay(){if(this.isTodayView){const t=this.getCurrentDayEle(),e=this.getAttribute("calendar-label-today")||"Today";t?.setAttribute("data-current-day","true"),t?.setAttribute("title",e)}}navPrevMonth(){if(this.isDisabled)return;const t=(t=>{const e=Jo(t),i=e.getMonth();if(0===i){const t=e.getFullYear();e.setFullYear(t-1),e.setMonth(11)}else e.setMonth(i-1);return e})(this.preview);this.preview=t.getTime(),this.renderCalendar()}navNextMonth(){if(this.isDisabled)return;const t=(t=>{const e=Jo(t),i=e.getMonth();if(11===i){const t=e.getFullYear();e.setFullYear(t+1),e.setMonth(0)}else e.setMonth(i+1);return e})(this.preview);this.preview=t.getTime(),this.renderCalendar()}clearValue(){this.epoch="",this.value="",this.removeAttribute("preview"),this.submitButton.setAttribute("disabled","true")}onInitialValueChange(t){if(this.value)return;const e=Jo(t).getTime();Xo(e)?(this.epoch=e,this.preview=e):this.clearValue()}onYearsRangeChange(){setTimeout(()=>{this.yearInput&&(this.yearInput.innerHTML=(t=>{const[e,i]=t,o=[];for(let t=e;t<=i;t++)o.push(t);return o})(this.yearsRange).map(t=>an({label:t,dataId:t,dataName:t})).join(""))})}onMonthNamesChange(){setTimeout(()=>{this.monthInput&&(this.monthInput.innerHTML=ln(this.monthNames))})}onSubmitLabelChange(t){this.submitButton&&(this.submitButton.textContent=t||"Done")}onCancelLabelChange(t){this.cancelButton&&(this.cancelButton.textContent=t||"Cancel")}onInitialMonthChange(t){const e=on(this.preview);this.preview=Jo(`${e}/${t}/1`).getTime()}onInitialYearChange(t){const e=nn(this.preview);this.preview=Jo(`${t}/${e}/1`).getTime()}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),e!==i&&(hn.includes(t)?("calendar-label-submit"===t&&this.onSubmitLabelChange(i),"calendar-label-cancel"===t&&this.onCancelLabelChange(i)):(i&&"initial-value"===t&&this.onInitialValueChange(i),i&&"initial-month"===t&&this.onInitialMonthChange(i),i&&"initial-year"===t&&this.onInitialYearChange(i),"years-range"===t&&this.onYearsRangeChange(Number(i)),"calendar-months"===t&&this.onMonthNamesChange(),"calendar-label-today"===t&&this.setCurrentDay(i),"disabled"===t&&setTimeout(()=>{this.cancelButton?.setAttribute("disabled","true"===i)}),this.renderCalendar()))}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}});customElements.define(un,wn);const{host:fn,label:En,placeholder:kn,requiredIndicator:On,inputField:Vn,input:Un,inputMask:Yn,helperText:Wn,errorMessage:Rn,disabledPlaceholder:Qn,inputDisabled:Pn,inputIcon:Bn,externalInput:Zn,externalInputDisabled:Fn,externalPlaceholder:Gn,externalDisabledPlaceholder:Hn}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},placeholder:[{selector:"> input:placeholder-shown"},{selector:()=>":host::slotted(input:placeholder-shown)"}],disabledPlaceholder:{selector:"> input:disabled::placeholder"},inputField:{selector:"::part(input-field)"},input:{selector:"input"},inputMask:{selector:"::part(input-field)::before"},inputDisabled:{selector:"input:disabled"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},inputIcon:{selector:"vaadin-icon"},externalInput:{selector:()=>"::slotted(input)"},externalInputDisabled:{selector:()=>"::slotted(input:disabled)"},externalPlaceholder:{selector:()=>"::slotted(input:placeholder-shown)"},externalDisabledPlaceholder:{selector:()=>"::slotted(input:disabled::placeholder)"}};var Jn={fontSize:[{},fn],fontFamily:[En,Vn,Wn,Rn],labelFontSize:{...En,property:"font-size"},labelFontWeight:{...En,property:"font-weight"},inputValueFontWeight:[{...Un,property:"font-weight"},{...Zn,property:"font-weight"}],inputPlaceholderFontWeight:[{selector:()=>":host input:placeholder-shown",property:"font-weight"},{...Gn,property:"font-weight"}],helperTextFontWeight:{...Wn,property:"font-weight"},errorMessageFontWeight:{...Rn,property:"font-weight"},labelTextColor:[{...En,property:"color"},{...On,property:"color"},{...En,property:"-webkit-text-fill-color"},{...On,property:"-webkit-text-fill-color"}],hostWidth:{...fn,property:"width"},hostMinWidth:{...fn,property:"min-width"},hostDirection:{...fn,property:"direction"},inputDirection:{...Un,property:"direction"},inputBackgroundColor:[{...Vn,property:"background-color"},{...Yn,property:"background-color"}],errorMessageTextColor:{...Rn,property:"color"},errorMessageIcon:{...Rn,property:"background-image"},errorMessageIconSize:{...Rn,property:"background-size"},errorMessageIconPadding:{...Rn,property:"padding-inline-start"},errorMessageIconRepeat:{...Rn,property:"background-repeat"},errorMessageIconPosition:{...Rn,property:"background-position"},errorMessageFontSize:{...Rn,property:"font-size"},helperTextColor:{...Wn,property:"-webkit-text-fill-color"},inputValueTextColor:[{...Vn,property:"color"},{...Pn,property:"-webkit-text-fill-color"},{...Fn,property:"-webkit-text-fill-color"}],inputCaretTextColor:[{...Un,property:"caret-color"},{...Zn,property:"caret-color"}],labelRequiredIndicator:{...On,property:"content"},inputBorderColor:{...Vn,property:"border-color"},inputBorderWidth:{...Vn,property:"border-width"},inputBorderStyle:{...Vn,property:"border-style"},inputBorderRadius:{...Vn,property:"border-radius"},inputHeight:{...Vn,property:"height"},inputHorizontalPadding:[{...Un,property:"padding-left"},{...Un,property:"padding-right"},{...Zn,property:"padding-left"},{...Zn,property:"padding-right"}],inputOutlineColor:{...Vn,property:"outline-color"},inputOutlineStyle:{...Vn,property:"outline-style"},inputOutlineWidth:{...Vn,property:"outline-width"},inputOutlineOffset:{...Vn,property:"outline-offset"},textAlign:{},inputTextAlign:[{...Un,property:"text-align"},{...Zn,property:"text-align"}],inputPlaceholderColor:[{selector:()=>":host input:placeholder-shown",property:"color"},{...Gn,property:"color"},{...kn,property:"color"},{...Qn,property:"-webkit-text-fill-color"},{...Hn,property:"-webkit-text-fill-color"}],labelPosition:{...En,property:"position"},labelTopPosition:{...En,property:"top"},labelHorizontalPosition:[{...En,property:"left"},{...En,property:"right"}],inputTransformY:{...En,property:"transform"},inputTransition:{...En,property:"transition"},marginInlineStart:{...En,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...Gn,property:"opacity"}],inputVerticalAlignment:[{...Vn,property:"align-items"},{...Zn,property:"align-items"}],valueInputHeight:[{...Un,property:"height"},{...Zn,property:"height"}],valueInputMarginBottom:[{...Un,property:"margin-bottom"},{...Zn,property:"margin-bottom"}],inputIconOffset:[{...Bn,property:"margin-right"},{...Bn,property:"margin-left"}],inputIconSize:{...Bn,property:"font-size"},inputIconColor:{...Bn,property:"color"},inputTextSecurity:[{...Un,property:"-webkit-text-security"},{...Un,property:"text-security"},{...Zn,property:"-webkit-text-security"},{...Zn,property:"text-security"}]};const $n=L("text-field"),_n=["type","label-type","copy-to-clipboard"],qn=T(ct({mappings:Jn}),ut,wt({proxyProps:["value","selectionStart","selectionEnd"],useProxyTargets:!0}),pt,t=>class extends t{static get observedAttributes(){return _n.concat(t.observedAttributes||[])}icon;init(){super.init?.()}renderCopyToClipboard(t){if(!t)return void this.icon?.remove();const e={icon:"vaadin:copy-o",title:"Copy",style:"cursor: pointer"},i={icon:"vaadin:check-circle-o",title:"Copied",style:"cursor: initial"};this.icon=Object.assign(document.createElement("vaadin-icon"),{slot:"suffix",...e}),this.baseElement.appendChild(this.icon),this.icon.addEventListener("click",()=>{navigator.clipboard.writeText(this.value),Object.assign(this.icon,i),setTimeout(()=>{Object.assign(this.icon,e)},5e3)})}onLabelClick(){this.focus()}attributeChangedCallback(t,e,i){super.attributeChangeCallback?.(t,e,i),"type"===t&&this.baseElement._setType(i),e!==i&&("label-type"===t?"floating"===i?this.addEventListener("click",this.onLabelClick):this.removeEventListener("click",this.onLabelClick):"copy-to-clipboard"===t&&this.renderCopyToClipboard("true"===i))}})(Ct({slots:["prefix","suffix"],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${qn.cssVarList.inputOutlineWidth}) + var(${qn.cssVarList.inputOutlineOffset}));\n box-sizing: border-box;\n\t\t\t}\n :host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) {\n opacity: 1;\n }\n\n vaadin-text-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-text-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n ${q("vaadin-text-field")}\n\t\t\t${H(qn.cssVarList)}\n\t\t\t${((t,e)=>`\n ${(t=>`\n ${t} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`)(t)}\n ${J(t)}\n ${$(t)}\n ${(t=>`\n ${t}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`)(t)}\n ${((t,e)=>`\n ${t} input:-webkit-autofill,\n ${t} input:-webkit-autofill::first-line,\n ${t} input:-webkit-autofill:hover,\n ${t} input:-webkit-autofill:active,\n ${t} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${e.inputValueTextColor});\n box-shadow: 0 0 0 var(${e.inputHeight}) var(${e.inputBackgroundColor}) inset;\n }\n`)(t,e)}\n ${(t=>`\n ${t}::part(input-field)::after {\n background: none;\n }\n`)(t)}\n ${(t=>`\n ${t}::before {\n\t\theight: unset;\n\t}\n`)(t)}\n ${(t=>`\n ${t} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`)(t)}\n ${(t=>`\n ${t}::part(input-field)::after {\n border: none;\n }\n`)(t)}\n`)("vaadin-text-field",qn.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-text-field vaadin-icon {\n align-self: center;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:$n}));customElements.define($n,qn);class Xn{#U=Object.freeze([]);constructor({id:t,min:e,max:i,placeholder:o},n){this.id=t,this.min=e,this.max=i,this.placeholder=o,this.onChange=n}get data(){return this.#U}set data(t){this.#U=Object.freeze(t),this.onChange?.()}get#at(){return this.data.length?this.numberValue:0}get numberValue(){return Number(this.stringValue)}get stringValue(){return(this.data.join("")||this.placeholder).padStart(this.length,"0")}get isFull(){return 10*this.numberValue>this.max||this.data.length===this.length}get isEmpty(){return this.stringValue===this.placeholder}get length(){return this.max.toString().length}set(t){this.data=t.toString().split("")}add(t){let{data:e}=this;return e=[...e,t],Number(e.join(""))>this.max?e=[t]:this.length<e.length&&(e=e.slice(1,e.length)),this.data=e,t}del(){this.data.filter(t=>"0"!==t).filter(Boolean).length?this.data=this.data.slice(0,this.data.length-1):this.data=[]}clear(){this.data=[]}inc(t){this.replaceValue(this.#at<this.max?Math.max(this.#at+(t||1),this.min):this.min)}dec(t){this.replaceValue(this.#at>this.min?Math.min(this.#at-(t||1),this.max):this.max)}isInRange(t){return t>=this.min&&t<=this.max}replaceValue(t){this.isInRange(t)&&(this.data=t.toString().padStart(this.length,0).split(""))}setMin(t){this.min=Number(t)}setMax(t){this.max=Number(t)}}const Kn=Xt("date-field"),tr=ci({componentName:Kn,baseSelector:"vaadin-popover"}),er=["format","opened","initial-value","readonly","disable-calendar","utc-time"],ir=["years-range","calendar-months","calendar-weekdays"],or=[...er,...ir],nr=qn.cssVarList,{host:rr,input:sr,inputEleRTL:ar,toggleButton:lr,overlay:dr,backdrop:cr}={host:{selector:()=>":host"},input:{selector:()=>"descope-text-field"},inputEleRTL:{selector:()=>':host([st-host-direction="rtl"]) descope-text-field'},toggleButton:{selector:()=>".toggle-calendar"},overlay:{selector:"vaadin-popover-overlay::part(overlay)"},backdrop:{selector:"vaadin-popover-overlay::part(backdrop)"}},ur=Zt(Pe({componentNameOverride:Xt("input-wrapper")}),Pe({mappings:{iconMargin:{...lr,property:"margin-inline-end"},hostWidth:{...rr,property:"width"},hostDirection:{...rr,property:"direction"},textAlign:{...sr,property:"text-align"},rtlInputDirection:{...ar,property:nr.inputDirection},rtlInputAlignment:{...ar,property:nr.inputTextAlign},overlayGap:{property:()=>ur.cssVarList.overlayGap},overlayBackgroundColor:{property:()=>ur.cssVarList.overlayBackgroundColor},overlayPadding:{property:()=>ur.cssVarList.overlayPadding},overlayBoxShadow:{property:()=>ur.overlayBoxShadow},overlayOutlineWidth:{property:()=>ur.cssVarList.overlayOutlineWidth},overlayOutlineColor:{property:()=>ur.cssVarList.overlayOutlineColor},overlayOutlineStyle:{property:()=>ur.cssVarList.overlayOutlineStyle},errorMessageIcon:{selector:qn.componentName,property:qn.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:qn.componentName,property:qn.cssVarList.errorMessageIconSize},errorMessageIconPadding:{selector:qn.componentName,property:qn.cssVarList.errorMessageIconPadding},errorMessageIconRepeat:{selector:qn.componentName,property:qn.cssVarList.errorMessageIconRepeat},errorMessageIconPosition:{selector:qn.componentName,property:qn.cssVarList.errorMessageIconPosition},errorMessageFontSize:{selector:qn.componentName,property:qn.cssVarList.errorMessageFontSize},labelFontWeight:{selector:qn.componentName,property:qn.cssVarList.labelFontWeight},inputValueFontWeight:{selector:qn.componentName,property:qn.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{selector:qn.componentName,property:qn.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{selector:qn.componentName,property:qn.cssVarList.helperTextFontWeight},errorMessageFontWeight:{selector:qn.componentName,property:qn.cssVarList.errorMessageFontWeight}}}),ri({name:"overlay",selector:"",mappings:{marginTop:{...dr,property:"margin-top"},backgroundColor:{...dr},backdropBackgroundColor:{...cr,property:"background-color"},backdropPointerEvents:{...cr,property:"pointer-events"},padding:{...dr},boxShadow:{...dr},outlineWidth:{...dr},outlineColor:{...dr},outlineStyle:{...dr}}}),Be,Ze)(class extends tr{epoch="";format=Yo;selectedCounterIdx=0;updateCountersDisplay(){this.inputElement.value=this.countersValue}updateValue(){if(this.isCountersOutOfRange)this.resetEpoch();else{const t=qo[this.format].getDate(this.inputElement.value);this.updateEpoch(rn(t,this.isUtcTime))}}onDateCounterChange=()=>{this.updateCountersDisplay(),this.updateValue(),this.#lt()};updateEpoch(t){this.epoch=rn(t,this.isUtcTime)}dateCounters=[new Xn(Bo,this.onDateCounterChange.bind(this)),new Xn(Zo,this.onDateCounterChange.bind(this)),new Xn(Fo,this.onDateCounterChange.bind(this))];static get observedAttributes(){return[].concat(tr.observedAttributes||[],or)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <descope-text-field inputmode="numeric">\n <span slot="suffix" class="toggle-calendar">\n \n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M9 5H15V4.50468C15 4.21404 15.226 4 15.5047 4H16.4953C16.786 4 17 4.22595 17 4.50468V5H18.7568C19.3028 5 19.75 5.44725 19.75 5.99896V7.00104C19.75 7.55734 19.3053 8 18.7568 8H5.24317C4.69717 8 4.25 7.55275 4.25 7.00104V5.99896C4.25 5.44266 4.69466 5 5.24317 5H7V4.50468C7 4.21404 7.22596 4 7.50468 4H8.49532C8.78596 4 9 4.22595 9 4.50468V5ZM5.50468 9H6.49532C6.78596 9 7 9.22596 7 9.50468V10.4953C7 10.786 6.77404 11 6.49532 11H5.50468C5.21404 11 5 10.774 5 10.4953V9.50468C5 9.21404 5.22595 9 5.50468 9ZM8.50468 9H9.49532C9.78596 9 10 9.22596 10 9.50468V10.4953C10 10.786 9.77404 11 9.49532 11H8.50468C8.21404 11 8 10.774 8 10.4953V9.50468C8 9.21404 8.22596 9 8.50468 9ZM11.5047 9H12.4953C12.786 9 13 9.22596 13 9.50468V10.4953C13 10.786 12.774 11 12.4953 11H11.5047C11.214 11 11 10.774 11 10.4953V9.50468C11 9.21404 11.226 9 11.5047 9ZM5.50468 12H6.49532C6.78596 12 7 12.226 7 12.5047V13.4953C7 13.786 6.77404 14 6.49532 14H5.50468C5.21404 14 5 13.774 5 13.4953V12.5047C5 12.214 5.22595 12 5.50468 12ZM8.50468 12H9.49532C9.78596 12 10 12.226 10 12.5047V13.4953C10 13.786 9.77404 14 9.49532 14H8.50468C8.21404 14 8 13.774 8 13.4953V12.5047C8 12.214 8.22596 12 8.50468 12ZM11.5047 12H12.4953C12.786 12 13 12.226 13 12.5047V13.4953C13 13.786 12.774 14 12.4953 14H11.5047C11.214 14 11 13.774 11 13.4953V12.5047C11 12.214 11.226 12 11.5047 12ZM5.50468 15H6.49532C6.78596 15 7 15.226 7 15.5047V16.4953C7 16.786 6.77404 17 6.49532 17H5.50468C5.21404 17 5 16.774 5 16.4953V15.5047C5 15.214 5.22595 15 5.50468 15ZM8.50468 15H9.49532C9.78596 15 10 15.226 10 15.5047V16.4953C10 16.786 9.77404 17 9.49532 17H8.50468C8.21404 17 8 16.774 8 16.4953V15.5047C8 15.214 8.22596 15 8.50468 15ZM11.5047 15H12.4953C12.786 15 13 15.226 13 15.5047V16.4953C13 16.786 12.774 17 12.4953 17H11.5047C11.214 17 11 16.774 11 16.4953V15.5047C11 15.214 11.226 15 11.5047 15ZM14.5047 9H15.4953C15.786 9 16 9.22596 16 9.50468V10.4953C16 10.786 15.774 11 15.4953 11H14.5047C14.214 11 14 10.774 14 10.4953V9.50468C14 9.21404 14.226 9 14.5047 9ZM14.5047 12H15.4953C15.786 12 16 12.226 16 12.5047V13.4953C16 13.786 15.774 14 15.4953 14H14.5047C14.214 14 14 13.774 14 13.4953V12.5047C14 12.214 14.226 12 14.5047 12ZM14.5047 15H15.4953C15.786 15 16 15.226 16 15.5047V16.4953C16 16.786 15.774 17 15.4953 17H14.5047C14.214 17 14 16.774 14 16.4953V15.5047C14 15.214 14.226 15 14.5047 15ZM17.5047 15H18.4953C18.786 15 19 15.226 19 15.5047V16.4953C19 16.786 18.774 17 18.4953 17H17.5047C17.214 17 17 16.774 17 16.4953V15.5047C17 15.214 17.226 15 17.5047 15ZM5.50468 18H6.49532C6.78596 18 7 18.226 7 18.5047V19.4953C7 19.786 6.77404 20 6.49532 20H5.50468C5.21404 20 5 19.774 5 19.4953V18.5047C5 18.214 5.22595 18 5.50468 18ZM8.50468 18H9.49532C9.78596 18 10 18.226 10 18.5047V19.4953C10 19.786 9.77404 20 9.49532 20H8.50468C8.21404 20 8 19.774 8 19.4953V18.5047C8 18.214 8.22596 18 8.50468 18ZM11.5047 18H12.4953C12.786 18 13 18.226 13 18.5047V19.4953C13 19.786 12.774 20 12.4953 20H11.5047C11.214 20 11 19.774 11 19.4953V18.5047C11 18.214 11.226 18 11.5047 18ZM14.5047 18H15.4953C15.786 18 16 18.226 16 18.5047V19.4953C16 19.786 15.774 20 15.4953 20H14.5047C14.214 20 14 19.774 14 19.4953V18.5047C14 18.214 14.226 18 14.5047 18ZM17.5047 18H18.4953C18.786 18 19 18.226 19 18.5047V19.4953C19 19.786 18.774 20 18.4953 20H17.5047C17.214 20 17 19.774 17 19.4953V18.5047C17 18.214 17.226 18 17.5047 18ZM17.5047 12H18.4953C18.786 12 19 12.226 19 12.5047V13.4953C19 13.786 18.774 14 18.4953 14H17.5047C17.214 14 17 13.774 17 13.4953V12.5047C17 12.214 17.226 12 17.5047 12ZM17.5047 9H18.4953C18.786 9 19 9.22596 19 9.50468V10.4953C19 10.786 18.774 11 18.4953 11H17.5047C17.214 11 17 10.774 17 10.4953V9.50468C17 9.21404 17.226 9 17.5047 9Z" fill="#808080"/>\n</svg>\n\n </span>\n </descope-text-field>\n <vaadin-popover></vaadin-popover>\n </div>\n ',f('\n :host {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n max-width: 100%;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n .toggle-calendar {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n height: 100%;\n align-items: center;\n }\n\n :host([readonly="true"]) .toggle-calendar {\n pointer-events: none;\n }\n\n .hidden {\n display: none;\n }\n ',this),this.inputElement=this.shadowRoot.querySelector("descope-text-field"),this.popoverToggleButton=this.inputElement.querySelector(".toggle-calendar")}get validationTarget(){return this.inputElement}get opened(){return"true"===this.getAttribute("opened")}get displayValueEpoch(){const t=qo[this.format].getDate(this.inputElement.value);return Xo(t?.getTime())?t.getTime():null}get sortedCounters(){return this.format.split(Ro).map(t=>this.dateCounters.find(e=>e.placeholder===t))}get activeCounter(){return this.sortedCounters[this.selectedCounterIdx]}get countersValue(){return this.sortedCounters.map(t=>t.stringValue).join(Ro)}get overlay(){return this.baseElement.shadowRoot?.querySelector("vaadin-popover-overlay")}get backdrop(){return this.overlay.shadowRoot?.querySelector("#backdrop")}get calendar(){return this.overlay?.querySelector("descope-calendar")}get isRTL(){const t=getComputedStyle(this.baseElement).getPropertyValue("direction");return t?"rtl"===t:"rtl"===this.getAttribute("st-host-direction")}get value(){return this.isInvalidDate()?"":this.epoch}set value(t){const e=parseInt(t,10);Number.isNaN(e)?(this.resetEpoch(),this.resetDateCounters(),this.clearInputEle()):(this.updateEpoch(e),this.updateDateCounters(new Date(e)))}resetEpoch(){this.epoch=""}get isCountersEmpty(){return this.dateCounters.every(t=>t.isEmpty)}get isCountersOutOfRange(){return this.dateCounters.some(t=>!t.isInRange(t.numberValue))}get disableCalendar(){return"true"===this.getAttribute("disable-calendar")}get isUtcTime(){return"true"===this.getAttribute("utc-time")}get isSelectAll(){const t=this.inputElement.baseElement.inputElement;return t.value.length===t.selectionStart+t.selectionEnd}reportValidity(){this.inputElement.reportValidity()}#lt(){this.inputElement.baseElement.dispatchEvent(new Event("input",{bubbles:!0}))}updateInputDisplay(){this.inputElement.value=tn(Jo(this.countersValue).getTime(),this.format)}init(){super.init?.(),this.updateFormatPattern(),this.initPopover(),this.onDateCounterChange(),this.initInputElement(),setTimeout(()=>{this.#it()},0)}initInputElement(){this.inputElement.getValidity=this.getValidity.bind(this),this.inputElement.baseElement.checkValidity=this.checkValidity.bind(this),this.popoverToggleButton.addEventListener("click",this.onPopoverToggle.bind(this)),this.inputElement.addEventListener("focus",this.onFocus.bind(this)),this.inputElement.addEventListener("blur",this.onBlur.bind(this)),this.inputElement.addEventListener("click",this.handleMouseCaretPositionChange.bind(this)),this.inputElement.addEventListener("keydown",this.handleKeyboard.bind(this)),this.inputElement.addEventListener("beforeinput",this.handleInput.bind(this)),this.inputElement.addEventListener("pointerdown",this.onPointerDown.bind(this)),this.inputElement.addEventListener("paste",this.onPaste.bind(this)),te(this,this.inputElement,{includeAttrs:["label","label-type","placeholder","disabled","readonly","bordered","required","full-width","st-host-direction","pattern","bordered","data-errormessage-value-missing","data-errormessage-pattern-mismatch","data-errormessage-range-underflow","data-errormessage-range-overflow","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]})}handleInput(t){var e;t.preventDefault(),this.handleSelectAll(),t.data&&(e=t.data,String(e||"").trim()&&!Number.isNaN(Number(e)))?(this.parseDigits(t.data),this.updateCountersDisplay()):t.inputType&&this.handleNavKeys(t)}initPopover(){this.baseElement.trigger=["click"],this.baseElement.withBackdrop=!0,this.baseElement.renderer=this.#dt.bind(this),this.baseElement.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation()})}handleSelectAll(){this.isSelectAll&&this.selectFirstCounter()}#ct;#dt(t){t.firstChild||(this.overlay.positionTarget=this.shadowRoot.querySelector(".toggle-calendar"),t.appendChild(this.#ut()),(t=>{const e=new CSSStyleSheet;e.insertRule(":host{display:block!important;}"),t?.shadowRoot?.adoptedStyleSheets?.push(e)})(this.baseElement),this.backdrop.addEventListener("click",this.closePopover.bind(this))),t.style.setProperty("visibility","hidden"),setTimeout(()=>{this.#pt(t),t.style.setProperty("visibility","visible"),this.updateCalendarView(t)},100)}#pt(){const t=this.shadowRoot.querySelector("vaadin-popover").shadowRoot;this.#ct?.replaceSync("vaadin-popover-overlay::part(overlay) { transform: none; }");const e=document.body.getBoundingClientRect(),i=this.getBoundingClientRect(),o=this.calendar.getBoundingClientRect(),n=this.isRTL?"right":"left",r=i[n]-o[n],s=o.left,a=e.width-o.right;let l;l=r>0?Math.min(r,a):-1*Math.min(Math.abs(r),s);const d=`\n vaadin-popover-overlay::part(overlay) {\n transform: translateX(${l}px);\n }\n `;this.#ct?this.#ct.replaceSync(d):this.#ct=f(d,t)}#ut(){const t=document.createElement("span");t.innerHTML="<descope-calendar></descope-calendar>";const e=t.querySelector("descope-calendar");return e.addEventListener("date-submit",this.onCalendarSubmit.bind(this)),e.addEventListener("cancel",this.closePopover.bind(this)),t}#it(){this.overlay._attachOverlay=()=>this.overlay.bringToFront(),this.overlay._detachOverlay=()=>{},this.overlay._enterModalState=()=>{}}onPopoverToggle(){this.opened?this.closePopover():this.openPopover()}openPopover(){this.disableCalendar||this.setAttribute("opened","true")}closePopover(){this.removeAttribute("opened"),this.inputElement.focus()}getCounterById(t){return this.dateCounters.find(e=>e.id===t)}onCalendarSubmit(){if(!this.isReadOnly){if(!this.calendar.value)return;const t=Jo(this.calendar.value);this.value=rn(t,this.isUtcTime),this.getCounterById("year").replaceValue(t.getFullYear()),this.getCounterById("month").replaceValue(t.getMonth()+1),this.getCounterById("day").replaceValue(t.getDate()),this.#lt()}this.closePopover()}updateCalendarView(){const t=Xo(Jo(this.inputElement.value||"").getTime())&&qo[this.format].validate(this.inputElement.value);this.displayValueEpoch||t?this.calendar.setAttribute("initial-value",tn(this.displayValueEpoch||this.epoch,Wo)):(this.calendar.clearValue(),this.calendar.setAttribute("preview",tn(en(),Wo))),te(this,this.calendar,{includeAttrs:["st-host-direction","readonly","initial-month","initial-year","years-range","calendar-label-submit","calendar-label-cancel","calendar-months","calendar-weekdays","calendar-weekdays-short"]})}onPointerDown(t){setTimeout(()=>this.handleMouseCaretPositionChange(t),150)}onFocus(){this.isReadOnly||setTimeout(()=>this.resetDisplay())}resetDisplay(){this.inputElement.value||(this.inputElement.value=this.format),this.selectFirstCounter(),this.inputElement.setSelectionRange(0,this.sortedCounters[0].length)}onBlur(){this.opened||this.inputElement.value===this.format&&this.clearInputEle()}clearInputEle(){this.inputElement.value=""}onFormatUpdate(t){Object.keys(qo).includes(t)&&(this.format=t,this.updateFormatPattern())}updateFormatPattern(){const t=this.getAttribute("format")||this.format||Yo;this.setAttribute("type","date"),this.setAttribute("pattern",qo[t].pattern)}parseDigits(t){this.activeCounter.add(t),this.activeCounter.isFull&&this.selectNextCounter(),this.setInputSelectionRange()}getCounterIdx(t){const[e,i]=this.sortedCounters.map(t=>t.length);return[t<=e,t>=e&&t<=e+i+1,t>=e+i+2].indexOf(!0)}setSelectedCounterByCaretPosition(t){this.selectedCounterIdx=this.getCounterIdx(t.target?.selectionStart||this.inputElement.selectionStart)}selectFirstCounter(){this.selectedCounterIdx=0}selectNextCounter(){this.selectedCounterIdx<this.dateCounters.length&&(this.selectedCounterIdx=Math.min(this.selectedCounterIdx+1,2))}selectPrevCounter(){this.selectedCounterIdx>0&&(this.selectedCounterIdx=Math.min(this.selectedCounterIdx-1,1))}setInputSelectionRange(){this.selectedCounterIdx<0||setTimeout(()=>{const t=this.sortedCounters.slice(0,this.selectedCounterIdx).reduce((t,e)=>t+e.length,this.selectedCounterIdx);this.inputElement.setSelectionRange(t,t+this.sortedCounters[this.selectedCounterIdx].length)})}resetDateCounters(){this.dateCounters.forEach(t=>t.clear())}updateDateCounters(t){this.dateCounters.forEach(e=>{switch(e.id){case Bo.id:e.set(this.isUtcTime?t.getUTCMonth()+1:t.getMonth()+1);break;case Fo.id:e.set(this.isUtcTime?t.getUTCFullYear():t.getFullYear());break;case Zo.id:e.set(this.isUtcTime?t.getUTCDate():t.getDate())}})}handleKeyboard(t){t.metaKey||t.ctrlKey?"x"===t.key.toLowerCase()&&this.onCut(t):(this.handleSelectAll(),"ArrowUp"===t.key?this.activeCounter.inc():"ArrowDown"===t.key?this.activeCounter.dec():"ArrowRight"===t.key?this.selectNextCounter():"ArrowLeft"===t.key&&this.selectPrevCounter(),this.setInputSelectionRange())}handleNavKeys(t){this.isReadOnly||(this.opened&&this.closePopover(),this.activeCounter&&("deleteContentBackward"===t.inputType&&this.handleBackspace(),this.setInputSelectionRange()))}handleBackspace(){if(this.isSelectAll)return void this.resetToInitialState();const t=this.activeCounter;t.isEmpty?(this.selectPrevCounter(),this.setInputSelectionRange()):t.set(""),setTimeout(()=>{this.updateCountersDisplay(),this.setInputSelectionRange()})}handleMouseCaretPositionChange(t){this.opened||(t.preventDefault(),this.setSelectedCounterByCaretPosition(t),this.setInputSelectionRange())}onInitialValueChange(t){this.value||setTimeout(()=>{Number.isNaN(parseInt(t,10))||(this.value=Number(t))})}togglePopoverAccess(t){t?this.popoverToggleButton.classList.remove("hidden"):this.popoverToggleButton.classList.add("hidden")}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("disable-calendar"===t&&this.togglePopoverAccess("true"!==i),er.includes(t)?(i&&"format"===t&&this.onFormatUpdate(i),"initial-value"===t&&this.onInitialValueChange(i)):ir.includes(t)&&(i?this.calendar?.setAttribute(t,i):this.calendar?.removeAttribute(t)))}isInvalidDate(){const t=this.getCounterById("year"),e=t.numberValue>Ho||t.numberValue<Go,i=Object.entries(this.getDateVals()).some(([t,e])=>{const i=this.getCounterById(t);return!e||i.numberValue!==e});return e||i}getValidity(){return this.isRequired&&this.isCountersEmpty?{valueMissing:!0}:this.isCountersOutOfRange||this.isInvalidDate()?{patternMismatch:!0}:{}}getDateVals(){const t={day:"",month:"",year:""};if(Number.isNaN(this.epoch))return t;try{const e=new Date(this.epoch);this.isUtcTime?(t.month=e.getUTCMonth()+1,t.day=e.getUTCDate(),t.year=e.getUTCFullYear()):(t.month=e.getMonth()+1,t.day=e.getDate(),t.year=e.getFullYear())}catch(t){}return t}resetToInitialState(){this.resetDateCounters(),this.selectFirstCounter(),this.resetDisplay()}onCut(t){t.preventDefault(),this.isSelectAll?(this.#ht(this.countersValue),this.resetToInitialState()):(this.#ht(this.activeCounter.stringValue),this.activeCounter.set("")),this.setInputSelectionRange()}#ht(t){try{navigator.clipboard.writeText(t)}catch(t){console.error("Failed to copy date value:",t)}}onPaste(t){t.preventDefault();const e=(t.clipboardData||window.clipboardData).getData("Text"),i=((t,e)=>{const i=t.trim?.();return i?qo[e].getDate(i):null})(e,this.format);if(i)this.value=rn(i,this.isUtcTime),this.onDateCounterChange(),setTimeout(()=>this.inputElement.setSelectionRange(0,this.inputElement.value.length));else{const t=Number(e);t&&this.activeCounter.min<=t&&this.activeCounter.max>=t&&(this.activeCounter.set(String(t)),setTimeout(()=>this.setInputSelectionRange()))}}});customElements.define(Kn,ur);const pr=Xt("divider");class hr extends($e({componentName:pr,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t\t<div>\n\t\t\t\t<descope-text>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</descope-text>\n\t\t\t</div>\n\t\t",f("\n \t:host {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\twidth: 100%;\n\t\t\t\t}\n\t\t\t\t:host > div::before,\n\t\t\t\t:host > div::after {\n\t\t\t\t\tcontent: '';\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t\tdescope-text {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t\tflex-shrink: 0;\n\t\t\t\t}\n\t\t\t\t:host(:empty) descope-text {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t:host([vertical=\"true\"]) div {\n\t\t\t\t\twidth: fit-content;\n\t\t\t\t}\n ",this),this.textComponent=this.shadowRoot.querySelector("descope-text"),te(this,this.textComponent,{includeAttrs:["mode","variant","italic"]})}}const gr=Li.cssVarList,{host:Mr,before:mr,after:yr,text:br}={host:{selector:()=>":host"},before:{selector:"::before"},after:{selector:"::after"},text:{selector:"descope-text"}},Nr=Zt(Pe({mappings:{hostWidth:{...Mr,property:"width"},hostPadding:{...Mr,property:"padding"},hostDirection:{...br,property:"direction"},minHeight:{},alignItems:{},alignSelf:{},flexDirection:{},textAlign:{...br,property:gr.textAlign},labelTextWidth:{...br,property:"width"},labelTextMaxWidth:{...br,property:"max-width"},labelTextVerticalSpacing:[{...br,property:"padding-top"},{...br,property:"padding-bottom"}],labelTextHorizontalSpacing:[{...br,property:"padding-right"},{...br,property:"padding-left"}],stripeColor:[{...mr,property:"background-color"},{...yr,property:"background-color"}],stripeHorizontalThickness:[{...mr,property:"height"},{...yr,property:"height"}],stripeVerticalThickness:[{...mr,property:"width"},{...yr,property:"width"}],stripeColorOpacity:[{...mr,property:"opacity"},{...yr,property:"opacity"}]}}),Be,Ze)(hr);customElements.define(pr,Nr);const Ir=Xt("email-field"),xr=Zt(Pe({mappings:Jn}),Be,li({inputType:"email",inputName:"email",autocompleteType:"username",includeAttrs:["disabled","readonly","pattern"]}),ni({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Ze,t=>class extends t{init(){super.init?.(),this.baseElement.setAttribute("pattern","^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$"),this.getAttribute("autocomplete")||this.setAttribute("autocomplete","username"),this.createExternalInput()}})(qe({slots:["","suffix"],wrappedEleName:"vaadin-email-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${xr.cssVarList.inputOutlineWidth}) + var(${xr.cssVarList.inputOutlineOffset}));\n box-sizing: border-box;\n\t\t\t}\n ${xe("vaadin-email-field")}\n\t\t\t${ge(xr.cssVarList)}\n\t\t\t${Ie("vaadin-email-field",xr.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-email-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-email-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n :host ::slotted(*) {\n -webkit-mask-image: none;\n }\n\n vaadin-email-field[external-input="true"] > input:not(:placeholder-shown) {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Ir}));customElements.define(Ir,xr);const jr=({componentName:t,varName:e,fallbackVarName:i})=>{let o;class n extends($e({componentName:t,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t\t<div></div>\n\t\t\t",f(`\n\t\t\t\t:host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t:host([draggable="true"]) > div {\n\t\t\t\t\tpointer-events: none\n\t\t\t\t}\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tmax-width: 100%;\n\t\t\t\t\tmax-height: 100%;\n\t\t\t\t\tobject-fit: contain;\n\t\t\t\t\tmargin: auto;\n\t\t\t\t\t${o}\n\t\t\t\t}\n `,this)}}const r=Zt(Pe({mappings:{height:{selector:()=>":host > div"},width:{selector:()=>":host > div"},[e]:{property:"content"},[i]:{property:"content"}}}),Be,Ze)(n);return o=`content: var(${r.cssVarList[e]}, var(${r.cssVarList[i]}));`,r},Tr=Xt("logo"),Dr=jr({componentName:Tr,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(Tr,Dr);const zr=Xt("totp-image"),vr=jr({componentName:zr,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(zr,vr);const Cr=Xt("notp-image"),Sr=jr({componentName:Cr,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(Cr,Sr);const Lr=Xt("number-field"),Ar=Zt(Pe({mappings:Jn}),Be,ni({proxyProps:["value","selectionStart"]}),Ze)(qe({slots:["","prefix","suffix"],wrappedEleName:"vaadin-number-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${Ar.cssVarList.inputOutlineWidth}) + var(${Ar.cssVarList.inputOutlineOffset}));\n\t\t\t}\n ${xe("vaadin-number-field")}\n\t\t\t${ge(Ar.cssVarList)}\n\t\t\t${Ie("vaadin-number-field",Ar.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-number-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-number-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Lr}));customElements.define(Lr,Ar);const wr="--descope-input-mask-content",fr="--descope-input-mask-display",Er="--descope-input-mask-fallback",kr=t=>{t?.focus(),t?.setSelectionRange?.(1,1)},Or=t=>t.replace(/\D/g,"")||"",Vr=(t,e)=>{e?(t.style.setProperty(wr,`"${e}"`),t.style.setProperty(fr,"flex")):(t.style.removeProperty(wr),t.style.removeProperty(fr))},Ur=Xt("passcode-internal"),Yr=["digits","loading"],Wr=["disabled","bordered","size","invalid","readonly","aria-labelledby"],Rr=ci({componentName:Ur,baseSelector:"div"}),Qr=Xt("passcode"),Pr=["digits"],{host:Br,digitField:Zr,label:Fr,requiredIndicator:Gr,internalWrapper:Hr,focusedDigitField:Jr,errorMessage:$r}={host:{selector:()=>":host"},focusedDigitField:{selector:()=>`${qn.componentName}[focused="true"]`},digitField:{selector:()=>qn.componentName},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:"descope-passcode-internal .wrapper"},errorMessage:{selector:"::part(error-message)"}},_r=qn.cssVarList,qr=oo.cssVarList,Xr=Zt(Pe({mappings:{fontSize:[{...Zr,property:_r.fontSize},Br],hostWidth:{property:"width"},hostDirection:{...Br,property:"direction"},fontFamily:[Br,{...Fr}],labelFontWeight:{...Fr,property:"font-weight"},errorMessageFontWeight:{...$r,property:"font-weight"},digitValueFontWeight:{selector:qn.componentName,property:_r.inputValueFontWeight},labelTextColor:[{...Fr,property:"color"},{...Fr,property:"-webkit-text-fill-color"},{...Gr,property:"color"},{...Gr,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...Gr,property:"content"},errorMessageTextColor:{...$r,property:"color"},errorMessageIcon:{...$r,property:"background-image"},errorMessageIconSize:{...$r,property:"background-size"},errorMessageIconPadding:{...$r,property:"padding-inline-start"},errorMessageIconRepeat:{...$r,property:"background-repeat"},errorMessageIconPosition:{...$r,property:"background-position"},errorMessageFontSize:{...$r,property:"font-size"},digitValueTextColor:{selector:qn.componentName,property:_r.inputValueTextColor},digitSize:[{...Zr,property:"height"},{...Zr,property:"width"}],digitPadding:{...Zr,property:_r.inputHorizontalPadding},digitTextAlign:{...Zr,property:_r.inputTextAlign},digitCaretTextColor:{...Zr,property:_r.inputCaretTextColor},digitSpacing:{...Hr,property:"gap"},digitOutlineColor:{...Zr,property:_r.inputOutlineColor},digitOutlineWidth:{...Zr,property:_r.inputOutlineWidth},focusedDigitFieldOutlineColor:{...Jr,property:_r.inputOutlineColor},overlayOpacity:{...Hr,property:"opacity"},spinnerSize:{selector:oo.componentName,property:qr.spinnerSize}}}),Be,di,ni({proxyProps:["value","selectionStart"]}),Ze,t=>class extends t{static get observedAttributes(){return Pr.concat(t.observedAttributes||[])}get digits(){return Number.parseInt(this.getAttribute("digits"),10)||6}init(){super.init?.(),f("\n .wrapper {\n display: flex;\n width: 100%;\n justify-content: space-between;\n direction: ltr;\n position: relative;\n }\n\n descope-text-field {\n direction: ltr;\n }\n\n .loader-container {\n display: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n ",this);const t=document.createElement("template");t.innerHTML=`\n <${Ur}\n bordered="true"\n name="code"\n tabindex="-1"\n slot="input"\n role="textbox"\n ><slot></slot></${Ur}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Ur),te(this,this.inputElement,{includeAttrs:["digits","size","loading","disabled"]})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"digits"===t&&(this.style["--passcode-digits-count"]=i)}})(qe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: calc(var(--passcode-digits-count) * 2em);\n\t\t\t}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n :host([loading="true"]) descope-passcode-internal .loader-container {\n display: block;\n }\n\n\t\t\tdescope-passcode-internal {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n\t\t\tdescope-passcode-internal .wrapper {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tmin-height: initial;\n\t\t\t\theight: 100%;\n\t\t\t\tjustify-content: space-between;\n\t\t\t}\n\n\t\t\tdescope-passcode-internal descope-text-field {\n\t\t\t\tmin-width: 2em;\n\t\t\t\tmax-width: var(${_r.inputHeight});\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n /* safari */\n\t\t\tvaadin-text-field::part(input-field)::after {\n opacity: 0;\n }\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${xe("vaadin-text-field")}\n\t\t\t${ye("vaadin-text-field")}\n \t`,excludeAttrsSync:["tabindex","style"],componentName:Qr}));customElements.define(Ur,class extends Rr{static get observedAttributes(){return Yr.concat(Rr.observedAttributes||[])}constructor(){super(),this.innerHTML='\n\t\t<div class="wrapper"></div>\n\t\t<div class="loader-container">\n <descope-loader-radial size="xs" mode="primary"></descope-loader-radial>\n </div>\n\t\t',this.wrapperEle=this.querySelector(".wrapper"),this.loaderContainer=this.querySelector(".loader-container")}renderInputs(){const t=[...Array(this.digits).keys()].map(t=>`\n\t\t<descope-text-field\n\t\t\tdata-id=${t}\n\t\t\ttype="tel"\n\t\t\tautocomplete="one-time-code"\n\t\t\tinputMode="numeric"\n\t\t></descope-text-field>\n\t`);this.wrapperEle.innerHTML=t.join(""),this.inputs=Array.from(this.querySelectorAll("descope-text-field")),this.initInputs()}handleLoadingState(t){t?this.setAttribute("inert","true"):this.removeAttribute("inert")}get digits(){return Number.parseInt(this.getAttribute("digits"),10)||6}get value(){return this.inputs?.map(({value:t})=>t).join("")||""}set value(t){t!==this.value&&this.parseInputValue(this.inputs[0],Or(t))}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:this.pattern&&!new RegExp(this.pattern).test(this.value)?{patternMismatch:!0}:{}}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.inputs[0].focus()}),super.init?.(),this.renderInputs()}getInputIdx(t){return Number.parseInt(t.getAttribute("data-id"),10)}getNextInput(t){const e=this.getInputIdx(t),i=Math.min(e+1,this.inputs.length-1);return this.inputs[i]}getPrevInput(t){const e=this.getInputIdx(t),i=Math.max(e-1,0);return this.inputs[i]}fillDigits(t,e){for(let i=0;i<t.length;i+=1){e.value=t[i]??"";const o=this.getNextInput(e);if(o===e)break;e=o}kr(e)}parseInputValue(t,e=""){const i=e.split("");i.length?this.fillDigits(i,t):t.value=""}initInputs(){this.inputs.forEach(t=>{f(`\n vaadin-text-field::part(input-field)::before {\n ${Er}: '';\n content: var(${wr}, var(${Er}));\n position: absolute;\n width: 100%;\n height: 100%;\n display: var(${fr}, none);\n align-items: center;\n justify-content: center;\n }`,t);const e=r()(e=>{this.parseInputValue(t,e),Vr(t)},0,{trailing:!0});t.addEventListener("input",i=>{t.value=Or(t.value),t.value&&Vr(t,t.value[0]),setTimeout(()=>{"deleteContentBackward"===i?.inputType&&kr(this.getPrevInput(t))}),e(t.value)}),t.onkeydown=({key:e})=>{"Backspace"===e?t.value?t.setSelectionRange(1,1):setTimeout(()=>kr(this.getPrevInput(t)),0):1===e.length&&(t.value="")},te(this,t,{includeAttrs:Wr}),t.shadowRoot.querySelector("input").setAttribute("aria-label","passcode digit")}),this.handleFocusEventsDispatching(this.inputs),this.handleInputEventDispatching()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&Yr.includes(t)&&("digits"===t&&this.renderInputs(),"loading"===t&&this.handleLoadingState("true"===i))}get pattern(){return`^$|^\\d{${this.digits},}$`}}),customElements.define(Qr,Xr);const Kr=Xt("password"),{host:ts,inputField:es,inputElement:is,inputElementPlaceholder:os,revealButtonContainer:ns,revealButtonIcon:rs,label:ss,requiredIndicator:as,errorMessage:ls,helperText:ds}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"> input"},inputElementPlaceholder:{selector:()=>":host input:placeholder-shown"},revealButtonContainer:{selector:"::part(reveal-button)"},revealButtonIcon:{selector:"::part(reveal-button)::before"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},cs=Zt(Pe({mappings:{hostWidth:{...ts,property:"width"},hostMinWidth:{...ts,property:"min-width"},hostDirection:{...ts,property:"direction"},fontSize:[{},ts],fontFamily:[ss,es,ls,ds],inputHeight:{...es,property:"height"},inputHorizontalPadding:[{...is,property:"padding-left"},{...is,property:"padding-right"}],inputBackgroundColor:{...es,property:"background-color"},inputBorderStyle:{...es,property:"border-style"},inputBorderWidth:{...es,property:"border-width"},inputBorderColor:{...es,property:"border-color"},inputBorderRadius:{...es,property:"border-radius"},inputOutlineColor:{...es,property:"outline-color"},inputOutlineStyle:{...es,property:"outline-style"},inputOutlineOffset:{...es,property:"outline-offset"},inputOutlineWidth:{...es,property:"outline-width"},labelFontSize:{...ss,property:"font-size"},labelFontWeight:{...ss,property:"font-weight"},inputValueFontWeight:[{...is,property:"font-weight"},{selector:()=>":host ::slotted(input)",property:"font-weight"}],inputPlaceholderFontWeight:[{...os,property:"font-weight"},{selector:()=>":host ::slotted(input:placeholder-shown)",property:"font-weight"}],helperTextFontWeight:{...ds,property:"font-weight"},errorMessageFontWeight:{...ls,property:"font-weight"},labelTextColor:[{...ss,property:"color"},{...ss,property:"-webkit-text-fill-color"},{...as,property:"color"},{...as,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...as,property:"content"},errorMessageTextColor:{...ls,property:"color"},errorMessageIcon:{...ls,property:"background-image"},errorMessageIconSize:{...ls,property:"background-size"},errorMessageIconPadding:{...ls,property:"padding-inline-start"},errorMessageIconRepeat:{...ls,property:"background-repeat"},errorMessageIconPosition:{...ls,property:"background-position"},errorMessageFontSize:{...ls,property:"font-size"},inputPlaceholderTextColor:[{...os,property:"color"},{selector:()=>":host ::slotted(input:placeholder-shown)",property:"color"}],inputValueTextColor:[{...is,property:"color"},{selector:()=>":host ::slotted(input)",property:"color"}],revealButtonOffset:[{...ns,property:"margin-right"},{...ns,property:"margin-left"}],revealButtonSize:{...ns,property:"font-size"},revealButtonColor:{...rs,property:"color"},labelPosition:{...ss,property:"position"},labelTopPosition:{...ss,property:"top"},labelHorizontalPosition:[{...ss,property:"left"},{...ss,property:"right"}],inputTransformY:{...ss,property:"transform"},inputTransition:{...ss,property:"transition"},marginInlineStart:{...ss,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...is,property:"opacity"}],inputVerticalAlignment:{...es,property:"align-items"},valueInputHeight:{...is,property:"height"}}}),Be,li({inputType:"password",inputName:"password",includeAttrs:["disabled","readonly","pattern","type","autocomplete"],noBlurDispatch:!0}),ni({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Ze,t=>class extends t{get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}init(){super.init?.();const t=this.querySelector("input");t?.addEventListener("mousedown",e=>{if(this.isDraggable&&this.isReadOnly){t.setAttribute("inert","true");const i=e.target,o=i.getAttribute("type");i.setAttribute("type","text"),setTimeout(()=>{i.focus()});const n=e=>{i.setAttribute("type",o),t.removeAttribute("inert"),this.removeEventListener("mouseup",n),this.removeEventListener("dragend",n)};this.addEventListener("dragend",n,{once:!0}),this.addEventListener("mouseup",n,{once:!0})}})}},t=>class extends t{static get observedAttributes(){return["manual-visibility-toggle"]}get manualToggleVisibility(){return"true"===this.getAttribute("manual-visibility-toggle")}init(){super.init?.(),this.handleCaretOnVisibilityChange(),this.origSetPasswordVisible=this.baseElement._setPasswordVisible,this.origSetFocused=this.baseElement._setFocused,this.baseElement._setFocused=this.setFocus.bind(this),this.initExternalInput()}initExternalInput(){const t=this.createExternalInput();t&&this.handlePasswordVisibility(t)}get caretPosition(){return this.value?.length||0}handleCaretOnVisibilityChange(){const t=this.baseElement._togglePasswordVisibility.bind(this.baseElement);this.baseElement._togglePasswordVisibility=()=>{setTimeout(()=>(t(),this.inputElement.setSelectionRange(this.caretPosition,this.caretPosition),!1))}}setFocus(t){this.manualToggleVisibility&&(this.baseElement._setPasswordVisible=()=>{}),this.origSetFocused.call(this.baseElement,t),this.baseElement._setPasswordVisible=this.origSetPasswordVisible.bind(this.baseElement)}resetPasswordVisibilityToggle(){this.baseElement._setPasswordVisible=this.origSetPasswordVisible,this.baseElement._setFocused=this.origSetFocus}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i)}handlePasswordVisibility(t){const e=this.baseElement.__boundRevealButtonMouseDown;this.baseElement.querySelector("vaadin-password-field-button").removeEventListener("mousedown",e),this.baseElement._passwordVisibleChanged=()=>{},this.baseElement._togglePasswordVisibility=()=>{"password"===t.getAttribute("type")?this.showPasswordVisibility(t):this.hidePasswordVisibility(t)}}showPasswordVisibility(t){t.setAttribute("type","text"),this.setAttribute("password-visible","true")}hidePasswordVisibility(t){t.setAttribute("type","password"),this.setAttribute("password-visible","false")}})(qe({slots:["","suffix"],wrappedEleName:"vaadin-password-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: 10em;\n box-sizing: border-box;\n position: relative;\n\t\t\t}\n\t\t\t${ge(cs.cssVarList)}\n\t\t\t${ye("vaadin-password-field")}\n ${xe("vaadin-password-field")}\n\n\t\t\tvaadin-password-field {\n\t\t\t\twidth: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-password-field > input {\n -webkit-mask-image: none;\n\t\t\t\tbox-sizing: border-box;\n opacity: 1;\n\t\t\t}\n\t\t\tvaadin-password-field::part(input-field) {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-password-field[focus-ring]::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n :host ::slotted(input) {\n\t\t\t\tmin-height: 0;\n }\n :host([readonly]) ::slotted(input:placeholder-shown) {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\tvaadin-password-field::before {\n\t\t\t\theight: initial;\n\t\t\t}\n\t\t\tvaadin-password-field::part(input-field)::after {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\tvaadin-password-field-button {\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t\t:host([readonly]) vaadin-password-field-button {\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t\tvaadin-password-field-button[focus-ring] {\n\t\t\t\tbox-shadow: 0 0 0 2px var(${cs.cssVarList.inputOutlineColor});\n\t\t\t}\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n ::part(reveal-button) {\n align-self: center;\n }\n\n vaadin-password-field[external-input="true"] > input:not(:placeholder-shown) {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Kr}));customElements.define(Kr,cs);const us=Xt("text-area"),{host:ps,label:hs,placeholder:gs,inputField:Ms,textArea:ms,requiredIndicator:ys,helperText:bs,errorMessage:Ns}={host:{selector:()=>":host"},label:{selector:"::part(label)"},placeholder:{selector:"textarea:placeholder-shown"},inputField:{selector:"::part(input-field)"},textArea:{selector:"> textarea"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Is=Zt(Pe({mappings:{hostWidth:{...ps,property:"width"},hostMinWidth:{...ps,property:"min-width"},hostDirection:{...ps,property:"direction"},fontSize:[ps,ms],fontFamily:[hs,Ms,bs,Ns],labelFontSize:{...hs,property:"font-size"},labelFontWeight:{...hs,property:"font-weight"},inputValueFontWeight:{...ms,property:"font-weight"},inputPlaceholderFontWeight:{...gs,property:"font-weight"},helperTextFontWeight:{...bs,property:"font-weight"},errorMessageFontWeight:{...Ns,property:"font-weight"},labelTextColor:[{...hs,property:"color"},{...hs,property:"-webkit-text-fill-color"},{...ys,property:"color"}],labelRequiredIndicator:{...ys,property:"content"},errorMessageTextColor:{...Ns,property:"color"},errorMessageIcon:{...Ns,property:"background-image"},errorMessageIconSize:{...Ns,property:"background-size"},errorMessageIconPadding:{...Ns,property:"padding-inline-start"},errorMessageIconRepeat:{...Ns,property:"background-repeat"},errorMessageIconPosition:{...Ns,property:"background-position"},errorMessageFontSize:{...Ns,property:"font-size"},inputBackgroundColor:{...Ms,property:"background-color"},inputValueTextColor:{...ms,property:"color"},inputPlaceholderTextColor:{...gs,property:"color"},inputBorderWidth:{...Ms,property:"border-width"},inputBorderStyle:{...Ms,property:"border-style"},inputBorderColor:{...Ms,property:"border-color"},inputBorderRadius:{...Ms,property:"border-radius"},inputOutlineStyle:{...Ms,property:"outline-Style"},inputOutlineColor:{...Ms,property:"outline-color"},inputOutlineOffset:{...Ms,property:"outline-offset"},inputOutlineWidth:{...Ms,property:"outline-width"},inputResizeType:{...ms,property:"resize"},inputMinHeight:{...ms,property:"min-height"},inputTextAlign:{...ms,property:"text-align"}}}),Be,ni({proxyProps:["value","selectionStart"]}),Ze)(qe({slots:[],wrappedEleName:"vaadin-text-area",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n box-sizing: border-box;\n\t\t\t}\n\t\t\ttextarea {\n\t\t\t\theight: 100%;\n\t\t\t}\n ${xe("vaadin-text-area")}\n\t\t\t${ge(Is.cssVarList)}\n\t\t\t${Me("vaadin-text-area")}\n\t\t\t${me("vaadin-text-area")}\n\t\t\t${be("vaadin-text-area","textarea")}\n\t\t\t${ye("vaadin-text-area")}\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:us}));customElements.define(us,Is);var xs=[{name:"United States",dialCode:"+1",code:"US"},...[{name:"Afghanistan",dialCode:"+93",code:"AF"},{name:"Aland Islands",dialCode:"+358",code:"AX"},{name:"Albania",dialCode:"+355",code:"AL"},{name:"Algeria",dialCode:"+213",code:"DZ"},{name:"AmericanSamoa",dialCode:"+1684",code:"AS"},{name:"Andorra",dialCode:"+376",code:"AD"},{name:"Angola",dialCode:"+244",code:"AO"},{name:"Anguilla",dialCode:"+1264",code:"AI"},{name:"Antarctica",dialCode:"+672",code:"AQ"},{name:"Antigua and Barbuda",dialCode:"+1268",code:"AG"},{name:"Argentina",dialCode:"+54",code:"AR"},{name:"Armenia",dialCode:"+374",code:"AM"},{name:"Aruba",dialCode:"+297",code:"AW"},{name:"Australia",dialCode:"+61",code:"AU"},{name:"Austria",dialCode:"+43",code:"AT"},{name:"Azerbaijan",dialCode:"+994",code:"AZ"},{name:"Bahamas",dialCode:"+1242",code:"BS"},{name:"Bahrain",dialCode:"+973",code:"BH"},{name:"Bangladesh",dialCode:"+880",code:"BD"},{name:"Barbados",dialCode:"+1246",code:"BB"},{name:"Belarus",dialCode:"+375",code:"BY"},{name:"Belgium",dialCode:"+32",code:"BE"},{name:"Belize",dialCode:"+501",code:"BZ"},{name:"Benin",dialCode:"+229",code:"BJ"},{name:"Bermuda",dialCode:"+1441",code:"BM"},{name:"Bhutan",dialCode:"+975",code:"BT"},{name:"Bolivia, Plurinational State of",dialCode:"+591",code:"BO"},{name:"Bosnia and Herzegovina",dialCode:"+387",code:"BA"},{name:"Botswana",dialCode:"+267",code:"BW"},{name:"Brazil",dialCode:"+55",code:"BR"},{name:"British Indian Ocean Territory",dialCode:"+246",code:"IO"},{name:"Brunei Darussalam",dialCode:"+673",code:"BN"},{name:"Bulgaria",dialCode:"+359",code:"BG"},{name:"Burkina Faso",dialCode:"+226",code:"BF"},{name:"Burundi",dialCode:"+257",code:"BI"},{name:"Cambodia",dialCode:"+855",code:"KH"},{name:"Cameroon",dialCode:"+237",code:"CM"},{name:"Canada",dialCode:"+1",code:"CA"},{name:"Cape Verde",dialCode:"+238",code:"CV"},{name:"Cayman Islands",dialCode:"+345",code:"KY"},{name:"Central African Republic",dialCode:"+236",code:"CF"},{name:"Chad",dialCode:"+235",code:"TD"},{name:"Chile",dialCode:"+56",code:"CL"},{name:"China",dialCode:"+86",code:"CN"},{name:"Christmas Island",dialCode:"+61",code:"CX"},{name:"Cocos (Keeling) Islands",dialCode:"+61",code:"CC"},{name:"Colombia",dialCode:"+57",code:"CO"},{name:"Comoros",dialCode:"+269",code:"KM"},{name:"Congo",dialCode:"+242",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dialCode:"+243",code:"CD"},{name:"Cook Islands",dialCode:"+682",code:"CK"},{name:"Costa Rica",dialCode:"+506",code:"CR"},{name:"Cote d'Ivoire",dialCode:"+225",code:"CI"},{name:"Croatia",dialCode:"+385",code:"HR"},{name:"Cuba",dialCode:"+53",code:"CU"},{name:"Cyprus",dialCode:"+357",code:"CY"},{name:"Czech Republic",dialCode:"+420",code:"CZ"},{name:"Denmark",dialCode:"+45",code:"DK"},{name:"Djibouti",dialCode:"+253",code:"DJ"},{name:"Dominica",dialCode:"+1767",code:"DM"},{name:"Dominican Republic",dialCode:"+1849",code:"DO"},{name:"Ecuador",dialCode:"+593",code:"EC"},{name:"Egypt",dialCode:"+20",code:"EG"},{name:"El Salvador",dialCode:"+503",code:"SV"},{name:"Equatorial Guinea",dialCode:"+240",code:"GQ"},{name:"Eritrea",dialCode:"+291",code:"ER"},{name:"Estonia",dialCode:"+372",code:"EE"},{name:"Ethiopia",dialCode:"+251",code:"ET"},{name:"Falkland Islands (Malvinas)",dialCode:"+500",code:"FK"},{name:"Faroe Islands",dialCode:"+298",code:"FO"},{name:"Fiji",dialCode:"+679",code:"FJ"},{name:"Finland",dialCode:"+358",code:"FI"},{name:"France",dialCode:"+33",code:"FR"},{name:"French Guiana",dialCode:"+594",code:"GF"},{name:"French Polynesia",dialCode:"+689",code:"PF"},{name:"Gabon",dialCode:"+241",code:"GA"},{name:"Gambia",dialCode:"+220",code:"GM"},{name:"Georgia",dialCode:"+995",code:"GE"},{name:"Germany",dialCode:"+49",code:"DE"},{name:"Ghana",dialCode:"+233",code:"GH"},{name:"Gibraltar",dialCode:"+350",code:"GI"},{name:"Greece",dialCode:"+30",code:"GR"},{name:"Greenland",dialCode:"+299",code:"GL"},{name:"Grenada",dialCode:"+1473",code:"GD"},{name:"Guadeloupe",dialCode:"+590",code:"GP"},{name:"Guam",dialCode:"+1671",code:"GU"},{name:"Guatemala",dialCode:"+502",code:"GT"},{name:"Guernsey",dialCode:"+44",code:"GG"},{name:"Guinea",dialCode:"+224",code:"GN"},{name:"Guinea-Bissau",dialCode:"+245",code:"GW"},{name:"Guyana",dialCode:"+592",code:"GY"},{name:"Haiti",dialCode:"+509",code:"HT"},{name:"Holy See (Vatican City State)",dialCode:"+379",code:"VA"},{name:"Honduras",dialCode:"+504",code:"HN"},{name:"Hong Kong",dialCode:"+852",code:"HK"},{name:"Hungary",dialCode:"+36",code:"HU"},{name:"Iceland",dialCode:"+354",code:"IS"},{name:"India",dialCode:"+91",code:"IN"},{name:"Indonesia",dialCode:"+62",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dialCode:"+98",code:"IR"},{name:"Iraq",dialCode:"+964",code:"IQ"},{name:"Ireland",dialCode:"+353",code:"IE"},{name:"Isle of Man",dialCode:"+44",code:"IM"},{name:"Israel",dialCode:"+972",code:"IL"},{name:"Italy",dialCode:"+39",code:"IT"},{name:"Jamaica",dialCode:"+1876",code:"JM"},{name:"Japan",dialCode:"+81",code:"JP"},{name:"Jersey",dialCode:"+44",code:"JE"},{name:"Jordan",dialCode:"+962",code:"JO"},{name:"Kazakhstan",dialCode:"+77",code:"KZ"},{name:"Kenya",dialCode:"+254",code:"KE"},{name:"Kiribati",dialCode:"+686",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dialCode:"+850",code:"KP"},{name:"Korea, Republic of South Korea",dialCode:"+82",code:"KR"},{name:"Kuwait",dialCode:"+965",code:"KW"},{name:"Kyrgyzstan",dialCode:"+996",code:"KG"},{name:"Laos",dialCode:"+856",code:"LA"},{name:"Latvia",dialCode:"+371",code:"LV"},{name:"Lebanon",dialCode:"+961",code:"LB"},{name:"Lesotho",dialCode:"+266",code:"LS"},{name:"Liberia",dialCode:"+231",code:"LR"},{name:"Libyan Arab Jamahiriya",dialCode:"+218",code:"LY"},{name:"Liechtenstein",dialCode:"+423",code:"LI"},{name:"Lithuania",dialCode:"+370",code:"LT"},{name:"Luxembourg",dialCode:"+352",code:"LU"},{name:"Macao",dialCode:"+853",code:"MO"},{name:"Macedonia",dialCode:"+389",code:"MK"},{name:"Madagascar",dialCode:"+261",code:"MG"},{name:"Malawi",dialCode:"+265",code:"MW"},{name:"Malaysia",dialCode:"+60",code:"MY"},{name:"Maldives",dialCode:"+960",code:"MV"},{name:"Mali",dialCode:"+223",code:"ML"},{name:"Malta",dialCode:"+356",code:"MT"},{name:"Marshall Islands",dialCode:"+692",code:"MH"},{name:"Martinique",dialCode:"+596",code:"MQ"},{name:"Mauritania",dialCode:"+222",code:"MR"},{name:"Mauritius",dialCode:"+230",code:"MU"},{name:"Mayotte",dialCode:"+262",code:"YT"},{name:"Mexico",dialCode:"+52",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dialCode:"+691",code:"FM"},{name:"Moldova",dialCode:"+373",code:"MD"},{name:"Monaco",dialCode:"+377",code:"MC"},{name:"Mongolia",dialCode:"+976",code:"MN"},{name:"Montenegro",dialCode:"+382",code:"ME"},{name:"Montserrat",dialCode:"+1664",code:"MS"},{name:"Morocco",dialCode:"+212",code:"MA"},{name:"Mozambique",dialCode:"+258",code:"MZ"},{name:"Myanmar",dialCode:"+95",code:"MM"},{name:"Namibia",dialCode:"+264",code:"NA"},{name:"Nauru",dialCode:"+674",code:"NR"},{name:"Nepal",dialCode:"+977",code:"NP"},{name:"Netherlands",dialCode:"+31",code:"NL"},{name:"Netherlands Antilles",dialCode:"+599",code:"AN"},{name:"New Caledonia",dialCode:"+687",code:"NC"},{name:"New Zealand",dialCode:"+64",code:"NZ"},{name:"Nicaragua",dialCode:"+505",code:"NI"},{name:"Niger",dialCode:"+227",code:"NE"},{name:"Nigeria",dialCode:"+234",code:"NG"},{name:"Niue",dialCode:"+683",code:"NU"},{name:"Norfolk Island",dialCode:"+672",code:"NF"},{name:"Northern Mariana Islands",dialCode:"+1670",code:"MP"},{name:"Norway",dialCode:"+47",code:"NO"},{name:"Oman",dialCode:"+968",code:"OM"},{name:"Pakistan",dialCode:"+92",code:"PK"},{name:"Palau",dialCode:"+680",code:"PW"},{name:"Palestinian Territory, Occupied",dialCode:"+970",code:"PS"},{name:"Panama",dialCode:"+507",code:"PA"},{name:"Papua New Guinea",dialCode:"+675",code:"PG"},{name:"Paraguay",dialCode:"+595",code:"PY"},{name:"Peru",dialCode:"+51",code:"PE"},{name:"Philippines",dialCode:"+63",code:"PH"},{name:"Pitcairn",dialCode:"+872",code:"PN"},{name:"Poland",dialCode:"+48",code:"PL"},{name:"Portugal",dialCode:"+351",code:"PT"},{name:"Qatar",dialCode:"+974",code:"QA"},{name:"Romania",dialCode:"+40",code:"RO"},{name:"Russia",dialCode:"+7",code:"RU"},{name:"Rwanda",dialCode:"+250",code:"RW"},{name:"Reunion",dialCode:"+262",code:"RE"},{name:"Saint Barthelemy",dialCode:"+590",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dialCode:"+290",code:"SH"},{name:"Saint Kitts and Nevis",dialCode:"+1869",code:"KN"},{name:"Saint Lucia",dialCode:"+1758",code:"LC"},{name:"Saint Martin",dialCode:"+590",code:"MF"},{name:"Saint Pierre and Miquelon",dialCode:"+508",code:"PM"},{name:"Saint Vincent and the Grenadines",dialCode:"+1784",code:"VC"},{name:"Samoa",dialCode:"+685",code:"WS"},{name:"San Marino",dialCode:"+378",code:"SM"},{name:"Sao Tome and Principe",dialCode:"+239",code:"ST"},{name:"Saudi Arabia",dialCode:"+966",code:"SA"},{name:"Senegal",dialCode:"+221",code:"SN"},{name:"Serbia",dialCode:"+381",code:"RS"},{name:"Seychelles",dialCode:"+248",code:"SC"},{name:"Sierra Leone",dialCode:"+232",code:"SL"},{name:"Singapore",dialCode:"+65",code:"SG"},{name:"Slovakia",dialCode:"+421",code:"SK"},{name:"Slovenia",dialCode:"+386",code:"SI"},{name:"Solomon Islands",dialCode:"+677",code:"SB"},{name:"Somalia",dialCode:"+252",code:"SO"},{name:"South Africa",dialCode:"+27",code:"ZA"},{name:"South Sudan",dialCode:"+211",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dialCode:"+500",code:"GS"},{name:"Spain",dialCode:"+34",code:"ES"},{name:"Sri Lanka",dialCode:"+94",code:"LK"},{name:"Sudan",dialCode:"+249",code:"SD"},{name:"Suriname",dialCode:"+597",code:"SR"},{name:"Svalbard and Jan Mayen",dialCode:"+47",code:"SJ"},{name:"Swaziland",dialCode:"+268",code:"SZ"},{name:"Sweden",dialCode:"+46",code:"SE"},{name:"Switzerland",dialCode:"+41",code:"CH"},{name:"Syrian Arab Republic",dialCode:"+963",code:"SY"},{name:"Taiwan",dialCode:"+886",code:"TW"},{name:"Tajikistan",dialCode:"+992",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dialCode:"+255",code:"TZ"},{name:"Thailand",dialCode:"+66",code:"TH"},{name:"Timor-Leste",dialCode:"+670",code:"TL"},{name:"Togo",dialCode:"+228",code:"TG"},{name:"Tokelau",dialCode:"+690",code:"TK"},{name:"Tonga",dialCode:"+676",code:"TO"},{name:"Trinidad and Tobago",dialCode:"+1868",code:"TT"},{name:"Tunisia",dialCode:"+216",code:"TN"},{name:"Turkey",dialCode:"+90",code:"TR"},{name:"Turkmenistan",dialCode:"+993",code:"TM"},{name:"Turks and Caicos Islands",dialCode:"+1649",code:"TC"},{name:"Tuvalu",dialCode:"+688",code:"TV"},{name:"Uganda",dialCode:"+256",code:"UG"},{name:"Ukraine",dialCode:"+380",code:"UA"},{name:"United Arab Emirates",dialCode:"+971",code:"AE"},{name:"United Kingdom",dialCode:"+44",code:"GB"},{name:"Uruguay",dialCode:"+598",code:"UY"},{name:"Uzbekistan",dialCode:"+998",code:"UZ"},{name:"Vanuatu",dialCode:"+678",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dialCode:"+58",code:"VE"},{name:"Vietnam",dialCode:"+84",code:"VN"},{name:"Virgin Islands, British",dialCode:"+1284",code:"VG"},{name:"Virgin Islands, U.S.",dialCode:"+1340",code:"VI"},{name:"Wallis and Futuna",dialCode:"+681",code:"WF"},{name:"Yemen",dialCode:"+967",code:"YE"},{name:"Zambia",dialCode:"+260",code:"ZM"},{name:"Zimbabwe",dialCode:"+263",code:"ZW"}].sort((t,e)=>t.name<e.name?-1:1)];const js=({code:t,dialCode:e,name:i})=>`\n\t<div\n\t\tdata-id="${e}"\n\t\tdata-name="${t} ${e} ${i}"\n\t\tdata-country-code="${t}"\n\t>\n\t\t<div>\n\t\t\t<span>\n\t\t\t\t<img src="${(t=>`https://static.descope.com/npm/svg-country-flags@1.2.10/svg/${t.toLowerCase()}.svg`)(t)}" width="20"/>\n\t\t\t</span>\n\t\t\t<span>${i}</span>\n\t\t</div>\n\t\t<div>\n\t\t\t<span>${t}</span>\n\t\t\t<span>${e}</span>\n\t\t</div>\n\t</div>\n`,Ts=Xt("phone-field-internal"),Ds=["disabled","size","bordered","readonly"],zs=["country-input-placeholder","default-code","restrict-countries"],vs=["phone-input-placeholder","maxlength","autocomplete","name","phone-input-type"],Cs=["label-type","country-input-label","label"],Ss={"country-input-label":"label","country-input-placeholder":"placeholder","phone-input-placeholder":"placeholder","phone-input-type":"type"},Ls=[].concat(Ds,zs,vs,Cs),As=ci({componentName:Ts,baseSelector:"div"});customElements.define(Ts,class extends As{static get observedAttributes(){return[].concat(As.observedAttributes||[],Ls)}#gt;constructor(){super(),this.innerHTML=`\n <div class="wrapper">\n <descope-combo-box\n item-label-path="data-name"\n item-value-path="data-id"\n >\n ${xs.map(t=>js(t)).join("")}\n </descope-combo-box>\n <div class="separator"></div>\n <descope-text-field type="tel"></descope-text-field>\n </div>\n `,this.comboBox=this.querySelector("descope-combo-box"),this.textField=this.querySelector("descope-text-field"),this.inputs=[this.comboBox,this.textField],te(this,this.comboBox,{includeAttrs:["label-type"]}),te(this,this.textField,{includeAttrs:["label-type","required","phone-input-type"],mapAttrs:{"phone-input-type":"type"}}),this.comboBox.customValueTransformFn=t=>{const[,e]=t?.split?.(" ")||[];return e}}get countryCodeInputData(){return this.comboBox.items}get countryCodeValue(){return this.comboBox.shadowRoot.querySelector("input").value}get phoneNumberInputEle(){return this.textField.shadowRoot.querySelector("input")}get allowAlphanumericInput(){return"true"===this.getAttribute("allow-alphanumeric-input")}get defaultCode(){return this.getAttribute("default-code")}get selectionStart(){return this.textField.selectionStart}get minLength(){return parseInt(this.getAttribute("minlength"),10)||0}get selectedCountryCode(){return this.comboBox?.selectedItem?.getAttribute("data-country-code")}get restrictCountries(){const t=this.getAttribute("restrict-countries");return t?.split(",").filter(Boolean)||[]}get isFormatValue(){return"true"===this.getAttribute("format-value")}get isStrictValidation(){return"true"===this.getAttribute("strict-validation")}get value(){return this.comboBox.value&&this.textField.value?this.allowAlphanumericInput?`${this.comboBox.value}-${this.textField.value}`:`${this.comboBox.value}-${this.textField.value.replace(/\D+/g,"")}`:""}#Mt(){this.comboBox.selectedItem=void 0,this.textField.value=""}set value(t){if(!t||!/\d/.test(t))return void this.#Mt();t.startsWith("+")||(t=`+${t}`);let e="",i="";if(t.includes("-")){const o=t.indexOf("-");e=t.slice(0,o),i=t.slice(o+1).replace(/\D+/g,"")}else{const o=(0,u.l)(t);o?.countryCallingCode&&(e=`+${o.countryCallingCode}`,i=t.slice(e.length).replace(/\D+/g,""))}if(!/\d/.test(e))return void this.#Mt();const o=xs.filter(t=>t.dialCode===e).map(t=>t.code),n=this.selectedCountryCode;if(!o.includes(n)){const t=this.comboBox.items?.find(t=>o.includes(t.getAttribute("data-country-code")));t&&(this.comboBox.selectedItem=t)}this.isFormatValue?this.textField.value=this.#mt(i):this.textField.value=i}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.inputs[1].focus()}),super.init?.(),this.#yt()}getValidity(){const t=this.comboBox.value,e=this.textField.value,i=!t||!e,o=e&&e.length>=this.minLength;if(this.isRequired&&i)return{valueMissing:!0};if(this.value){if(!o)return{tooShort:!0};if(this.isStrictValidation&&!this.#bt())return{patternMismatch:!0}}return{}}setSelectionRange(...t){this.textField.setSelectionRange(...t)}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),e!==i){if("default-code"===t&&i&&!this.selectedCountryCode)this.#Nt(i);else if(Ls.includes(t)){const e=Ss[t]||t;Ds.includes(t)?i?this.inputs.forEach(t=>t.setAttribute(e,i)):this.inputs.forEach(t=>t.removeAttribute(e)):zs.includes(t)?this.comboBox.setAttribute(e,i):vs.includes(t)&&this.textField.setAttribute(e,i)}Cs.includes(t)&&this.#It(t,i),"restrict-countries"===t&&this.#xt(this.restrictCountries)}}#yt(){this.textField.addEventListener("input",t=>{if(!this.allowAlphanumericInput){const e=/^\d$/,i=t.target.value.split("").filter(t=>e.test(t)).join("");t.target.value=i}}),this.handleFocusEventsDispatching(this.inputs),this.handleInputEventDispatching()}#mt(t=""){return this.#gt&&this.#gt.country===this.selectedCountryCode||(this.#gt=new p.Q(this.selectedCountryCode)),this.#gt.reset(),this.#gt.input(t)||t}#bt(){const t=(0,u.l)(this.value);return!!(t&&t.isValid?.()&&t.country&&this.#jt(t.country))}#jt(t){return!this.restrictCountries.length||this.restrictCountries.includes(t)}#Tt(t){return this.comboBox.items?.find(e=>e.getAttribute("data-country-code")===t)}#xt(t){const e=t.length?xs.filter(e=>t.includes(e.code)):xs;this.querySelector("descope-combo-box").innerHTML=e.map(t=>js(t)).join("")}#Nt(t){if(!this.comboBox.value){const e=this.#Tt(t);e&&setTimeout(()=>{this.comboBox.selectedItem=e})}}#It(t,e){const i=Ss[t]||t;"label-type"===t?this.#Dt(e):"floating"===this.getAttribute("label-type")&&("country-input-label"===t?this.comboBox.setAttribute(i,e):"label"===t&&this.textField.setAttribute(i,e))}#Dt(t){"floating"===t?(this.comboBox.setAttribute("label",this.getAttribute("country-input-label")||""),this.comboBox.setAttribute("placeholder",this.getAttribute("country-input-placeholder")||""),this.textField.setAttribute("label",this.getAttribute("label")||""),this.textField.setAttribute("placeholder",this.getAttribute("phone-input-placeholder")||"")):this.inputs.forEach(t=>t.removeAttribute("label"))}});const ws=qn.cssVarList,fs=xo.cssVarList,Es=Xt("phone-field"),{host:ks,label:Os,requiredIndicator:Vs,inputField:Us,internalAfter:Ys,countryCodeInput:Ws,phoneInput:Rs,separator:Qs,errorMessage:Ps,helperText:Bs}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},inputField:{selector:"::part(input-field)"},internalAfter:{selector:"descope-phone-field-internal::after"},phoneInput:{selector:()=>"descope-text-field"},countryCodeInput:{selector:()=>"descope-combo-box"},separator:{selector:"descope-phone-field-internal .separator"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Zs=Zt(Pe({mappings:{fontSize:[ks,Us,{selector:qn.componentName,property:qn.cssVarList.fontSize},{selector:xo.componentName,property:xo.cssVarList.fontSize}],fontFamily:[Os,Ps,Bs,{...Ws,property:xo.cssVarList.overlay.fontFamily}],hostWidth:[{...ks,property:"width"},{...Rs,property:"width"},{...Ws,property:"--vaadin-combo-box-overlay-width"}],hostDirection:{...ks,property:"direction"},inputBorderStyle:[{...Ys,property:"border-style"},{...Qs,property:"border-left-style"}],inputBorderWidth:[{...Ys,property:"border-width"},{...Qs,property:"border-left-width"}],inputBorderColor:[{...Ys,property:"border-color"},{...Qs,property:"border-left-color"}],inputBorderRadius:[{...Us,property:"border-radius"},{...Ys,property:"border-radius"}],countryCodeInputWidth:{...Ws,property:fs.hostWidth},countryCodeDropdownWidth:{...Ws,property:"--vaadin-combo-box-overlay-width"},phoneInputWidth:{...Rs,property:"width"},horizontalPadding:[{...Rs,property:"padding-left"},{...Rs,property:"padding-right"},{...Ws,property:"padding-left"},{...Ws,property:"padding-right"}],labelFontSize:{...Os,property:"font-size"},labelFontWeight:{...Os,property:"font-weight"},inputValueFontWeight:[{...Rs,property:ws.inputValueFontWeight},{...Ws,property:fs.inputValueFontWeight}],inputPlaceholderFontWeight:{...Rs,property:ws.inputPlaceholderFontWeight},helperTextFontWeight:{...Bs,property:"font-weight"},errorMessageFontWeight:{...Ps,property:"font-weight"},labelTextColor:[{...Os,property:"color"},{...Os,property:"-webkit-text-fill-color"},{...Vs,property:"color"}],labelRequiredIndicator:{...Vs,property:"content"},errorMessageTextColor:{...Ps,property:"color"},errorMessageIcon:{...Ps,property:"background-image"},errorMessageIconSize:{...Ps,property:"background-size"},errorMessageIconPadding:{...Ps,property:"padding-inline-start"},errorMessageIconRepeat:{...Ps,property:"background-repeat"},errorMessageIconPosition:{...Ps,property:"background-position"},errorMessageFontSize:{...Ps,property:"font-size"},inputValueTextColor:[{...Rs,property:ws.inputValueTextColor},{...Ws,property:fs.inputValueTextColor}],inputPlaceholderTextColor:{...Rs,property:ws.inputPlaceholderColor},overlayItemBackgroundColor:{selector:"descope-combo-box",property:fs.overlayItemBackgroundColor},inputOutlineStyle:{...Us,property:"outline-style"},inputOutlineColor:{...Us,property:"outline-color"},inputOutlineWidth:{...Us,property:"outline-width"},inputOutlineOffset:{...Us,property:"outline-offset"},valueInputHeight:[{...Ws,property:fs.valueInputHeight}],valueInputMarginBottom:[{...Rs,property:ws.valueInputMarginBottom}],marginInlineStart:[{...Rs,property:ws.marginInlineStart},{...Ws,property:fs.marginInlineStart}]}}),Be,di,ni({proxyProps:["value","selectionStart"]}),t=>class extends t{static get CountryCodes(){return xs}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${Ts}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${Ts}>\n \t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Ts),te(this.shadowRoot.host,this.inputElement,{includeAttrs:["size","bordered","minlength","maxlength","default-code","country-input-placeholder","phone-input-placeholder","disabled","restrict-countries","country-input-label","readonly","label","label-type","allow-alphanumeric-input","format-value","strict-validation","phone-input-type"]})}get countryCodeItems(){return this.inputElement?.countryCodeValue}get phoneNumberInputEle(){return this.inputElement?.phoneNumberInputEle}get countryCodeInputData(){return this.inputElement?.countryCodeInputData}get countryCodes(){return Array.from(this.inputElement.countryCodeInputData).map(t=>t.getAttribute("data-country-code"))}})(qe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: 15em;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t}\n\t\t\t${ge(Zs.cssVarList)}\n\t\t\t${ye("vaadin-text-field")}\n\t\t\t${Ne("vaadin-text-field")}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n\t\t\tdiv {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n\t\t\tvaadin-text-field {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-text-field[focus-ring]::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\t\t\tvaadin-text-field::part(label) {\n margin-left: 0;\n margin-right: 0;\n }\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tpadding: 0;\n\t\t\t\tbackground: transparent;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\t\t\tdescope-phone-field-internal {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n direction: ltr;\n position: relative;\n\t\t\t}\n descope-phone-field-internal::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n outline-offset: calc(var(${Zs.cssVarList.inputBorderWidth}) * -1);\n pointer-events: none;\n }\n\t\t\tdescope-phone-field-internal > div {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t\tdescope-phone-field-internal .separator {\n\t\t\t\tflex: 0;\n\t\t\t\tborder: none;\n\t\t\t}\n\n\t\t\tdescope-combo-box {\n\t\t\t\tflex-shrink: 0;\n min-width: 5.75em;\n\t\t\t\t${fs.inputOutlineWidth}: 0;\n\t\t\t\t${fs.inputOutlineOffset}: 0;\n\t\t\t\t${fs.inputBorderWidth}: 0;\n\t\t\t\t${fs.inputBorderRadius}: 0;\n\t\t\t}\n\t\t\tdescope-text-field {\n\t\t\t\tflex-grow: 1;\n\t\t\t\t${ws.inputOutlineWidth}: 0;\n\t\t\t\t${ws.inputOutlineOffset}: 0;\n\t\t\t\t${ws.inputBorderWidth}: 0;\n\t\t\t\t${ws.inputBorderRadius}: 0;\n }\n\n :host([label-type="floating"]) vaadin-text-field::part(label) {\n display: none;\n }\n descope-text-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n descope-text-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n\t\t\tvaadin-text-field::part(input-field)::after {\n\t\t\t\tborder: none;\n\t\t\t}\n ${xe("vaadin-text-field")}\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Es}));customElements.define(Es,Zs);const Fs=Xt("phone-field-internal-input-box"),Gs=["disabled","size","readonly","phone-input-placeholder","name","maxlength","autocomplete","label-type","phone-input-type"],Hs={"phone-input-placeholder":"placeholder","phone-input-type":"type"},Js=ci({componentName:Fs,baseSelector:"div"});customElements.define(Fs,class extends Js{static get observedAttributes(){return[].concat(Js.observedAttributes||[],Gs)}#gt;constructor(){super(),this.innerHTML='\n <div>\n <descope-text-field tabindex="1" type="tel" bordered="false"></descope-text-field>\n </div>\n ',this.textField=this.querySelector("descope-text-field")}get phoneNumberInputEle(){return this.textField.shadowRoot.querySelector("input")}get defaultDialCode(){return t=this.getAttribute("default-code"),xs.find(e=>e.code===t)?.dialCode;var t}get defaultCode(){return this.getAttribute("default-code")}get allowAlphanumericInput(){return"true"===this.getAttribute("allow-alphanumeric-input")}get minLength(){return parseInt(this.getAttribute("minlength"),10)||0}get maxLength(){return parseInt(this.getAttribute("maxlength"),10)||50}get restrictCountries(){return this.getAttribute("restrict-countries")?.split(",").filter(Boolean)||[]}get isFormatValue(){return"true"===this.getAttribute("format-value")}get isStrictValidation(){return"true"===this.getAttribute("strict-validation")}get value(){if(!this.textField.value)return"";if(!this.isStrictValidation)return this.#zt();const t=this.#vt();return t?.country&&t?.countryCallingCode&&t?.nationalNumber?`+${[t?.countryCallingCode,t?.nationalNumber].join("-")}`:this.textField.value}set value(t){this.textField.value=t}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.textField.focus()}),super.init?.(),this.textField.addEventListener("input",this.#Ct.bind(this)),this.handleFocusEventsDispatching([this.textField]),w(this.textField,this,{includeAttrs:["has-value"]}),w(this,this.textField,{includeAttrs:["phone-input-type"],mapAttrs:{"phone-input-type":"type"}})}getValidity(){const t=/^\+?\d{1,4}-?(?:\d-?){1,15}$/,e=this.#St(this.textField.value||"");if(this.isRequired&&!this.textField.value)return{valueMissing:!0};if(this.textField.value){if(e.length<this.minLength)return{tooShort:!0};if(this.isStrictValidation&&this.textField.value&&!this.#bt()||!this.isStrictValidation&&this.textField.value&&!t.test(this.value))return{patternMismatch:!0}}return{}}setSelectionRange(...t){this.textField.setSelectionRange(...t)}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),e!==i&&Gs.includes(t)){const e=Hs[t]||t;this.textField.setAttribute(e,i)}}#Ct(t){let e=this.#Lt(t.target.value);this.isFormatValue&&this.#At(e)&&(e=this.#wt(e)),t.target.value=e}#zt(){if(!this.defaultDialCode)return this.textField.value;const t=this.#ft(this.textField.value),e=this.#St(t);return[this.defaultDialCode,e].join("-")}#vt(){return this.defaultDialCode?(0,u.l)([this.defaultDialCode,this.#St(this.textField.value)].filter(Boolean).join("")):(0,u.l)(this.textField.value)}#St(t){return t.replace(/\D/g,"")}#ft(t){if("+"===this.textField.value?.[0]){const e=new RegExp(`^\\${this.defaultDialCode}`);return t.replace(e,"")}return t}#bt(){const t=(0,u.l)(this.value);return!(!t||!t.isValid?.()||!t.country||!this.#jt(t.country)||this.defaultCode&&this.defaultCode!==t.country)}#jt(t){return!this.restrictCountries.length||this.restrictCountries.includes(t)}#Lt(t){if(t=t.replace(/^-+/,"").replace(/(?!^)\+/g,"").replace("--","-").replace("+-","+"),!this.allowAlphanumericInput){const e=/^[+\d-\(\)]+$/;t=t.split("").filter(t=>e.test(t)).join("")}return t}#wt(t=""){const e=this.defaultCode||this.#Et(t);return e?(this.#gt&&this.#gt.country===e||(this.#gt=new p.Q(e)),this.#gt.reset(),this.#gt.input(t)||t):t}#Et(t){const e=(0,u.l)(t);return e?.country||""}#At(t){return!!(t=>{const e=t.match(/\(/g),i=t.match(/\)/g);return e?.length===i?.length})(t)}});const $s=qn.cssVarList,_s=Xt("phone-input-box-field"),{host:qs,label:Xs,inputElement:Ks,requiredIndicator:ta,inputField:ea,internalComponent:ia,internalComponentAfter:oa,phoneInput:na,errorMessage:ra,helperText:sa}={host:{selector:()=>":host"},label:{selector:"::part(label)"},inputElement:{selector:"input"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},inputField:{selector:()=>"vaadin-text-field::part(input-field)"},internalComponent:{selector:"descope-phone-field-internal-input-box"},internalComponentAfter:{selector:"descope-phone-field-internal-input-box::after"},phoneInput:{selector:()=>"descope-text-field"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},aa=Zt(Pe({mappings:{fontSize:[qs,ea,{selector:qn.componentName,property:qn.cssVarList.fontSize}],fontFamily:[Xs,ra,sa],hostWidth:{...qs,property:"width"},hostMinWidth:{...qs,property:"min-width"},hostDirection:{...qs,property:"direction"},inputHorizontalPadding:[{...na,property:"padding-left"},{...na,property:"padding-right"}],labelFontSize:{...Xs,property:"font-size"},labelFontWeight:{...Xs,property:"font-weight"},inputValueFontWeight:{...na,property:$s.inputValueFontWeight},inputPlaceholderFontWeight:{...na,property:$s.inputPlaceholderFontWeight},helperTextFontWeight:{...sa,property:"font-weight"},errorMessageFontWeight:{...ra,property:"font-weight"},labelTextColor:[{...Xs,property:"color"},{...Xs,property:"-webkit-text-fill-color"},{...ta,property:"color"}],labelRequiredIndicator:{...ta,property:"content"},errorMessageTextColor:{...ra,property:"color"},errorMessageIcon:{...ra,property:"background-image"},errorMessageIconSize:{...ra,property:"background-size"},errorMessageIconPadding:{...ra,property:"padding-inline-start"},errorMessageIconRepeat:{...ra,property:"background-repeat"},errorMessageIconPosition:{...ra,property:"background-position"},errorMessageFontSize:{...ra,property:"font-size"},inputValueTextColor:{...na,property:$s.inputValueTextColor},inputPlaceholderTextColor:{...na,property:$s.inputPlaceholderColor},inputBorderStyle:{...oa,property:"border-style"},inputBorderWidth:{...oa,property:"border-width"},inputBorderColor:{...oa,property:"border-color"},inputBorderRadius:[{...ia,property:"border-radius"},{...oa,property:"border-radius"}],inputOutlineStyle:{...ia,property:"outline-style"},inputOutlineColor:{...ia,property:"outline-color"},inputOutlineWidth:{...ia,property:"outline-width"},inputOutlineOffset:{...ia,property:"outline-offset"},labelPosition:{...Xs,property:"position"},labelTopPosition:{...Xs,property:"top"},labelHorizontalPosition:[{...Xs,property:"left"},{...Xs,property:"right"}],inputTransformY:{...Xs,property:"transform"},inputTransition:{...Xs,property:"transition"},marginInlineStart:{...Xs,property:"margin-inline-start"},valueInputHeight:{...Ks,property:"height"},valueInputMarginBottom:{selector:qn.componentName,property:$s.valueInputMarginBottom}}}),Be,di,ni({proxyProps:["value","selectionStart"]}),t=>class extends t{static get CountryCodes(){return xs}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${Fs}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${Fs}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Fs),S(this,this.inputElement,{includeAttrs:["has-value"]}),te(this.shadowRoot.host,this.inputElement,{includeAttrs:["size","minlength","maxlength","default-code","disabled","phone-input-placeholder","label","label-type","allow-alphanumeric-input","restrict-countries","format-value","strict-validation","data-errormessage-type-mismatch","phone-input-type"]})}get phoneNumberInputEle(){return this.inputElement?.phoneNumberInputEle}})(qe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n box-sizing: border-box;\n }\n ${ge(aa.cssVarList)}\n ${ye("vaadin-text-field")}\n ${Ne("vaadin-text-field")}\n \n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n vaadin-text-field {\n width: 100%;\n box-sizing: border-box;\n padding: 0;\n }\n vaadin-text-field[focus-ring]::part(input-field) {\n box-shadow: none;\n }\n vaadin-text-field::before {\n height: 0;\n }\n vaadin-text-field::part(input-field) {\n padding: 0;\n background: transparent;\n -webkit-mask-image: none;\n }\n descope-phone-field-internal-input-box {\n -webkit-mask-image: none;\n padding: 0;\n width: 100%;\n }\n descope-phone-field-internal-input-box > div {\n width: 100%;\n }\n descope-phone-field-internal-input-box descope-text-field {\n ${$s.inputOutlineWidth}: 0;\n ${$s.inputOutlineOffset}: 0;\n }\n descope-phone-field-internal-input-box::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n pointer-events: none;\n }\n descope-text-field {\n flex-grow: 1;\n width: 100%;\n direction: ltr;\n }\n vaadin-text-field[readonly] > input:placeholder-shown {\n opacity: 1;\n }\n vaadin-text-field::part(input-field)::after {\n border: none;\n }\n\n vaadin-text-field[label-type="floating"]:not([focused])[readonly] input:placeholder-shown {\n opacity: 0;\n }\n vaadin-text-field[label-type="floating"]:not([focused])[disabled] input:placeholder-shown {\n opacity: 0;\n }\n\n ${xe("vaadin-text-field")}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:_s}));customElements.define(_s,aa);const la=Xt("new-password-internal"),da=(t,e)=>t.replace(/{{(\w+)+}}/g,(t,i)=>e?.[i]||t),ca=Xt("policy-validation"),ua=["data","active-policies","overrides","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-actual-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email"],pa=["label","value",...ua];class ha extends($e({componentName:ca,baseSelector:":host > div"})){#kt;#Ot=[];#Vt;static get observedAttributes(){return pa}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <div class="label"></div>\n <ul></ul>\n </div>\n\t\t',f("\n :host > div {\n width: 100%;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n }\n .label {\n max-width: 100%;\n text-wrap: wrap;\n overflow-wrap: break-word;\n }\n .hide-label .label {\n display: none;\n }\n ul {\n display: flex;\n flex-direction: column;\n padding: 0;\n margin: 0;\n }\n ul, li {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n li::before {\n display: inline-block;\n width: 1em;\n text-align: center;\n }\n ",this),this.panel=this.shadowRoot.querySelector(":host > div"),this.label=this.shadowRoot.querySelector(".label"),this.list=this.shadowRoot.querySelector("ul")}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i){if("label"===t&&this.updateLabel(i),ua.includes(t)){if("data"===t)try{this.availablePolicies=JSON.parse(i)}catch{console.error("Failed to set available policies")}if("active-policies"===t&&(this.#Ot=(i||"").split(",")),"data-password-policy-value-minlength"===t){const t=Number(i);!Number.isNaN(t)&&t>0&&(this.#Vt={...this.#Vt,minlength:{value:`${t}`}})}if("data-password-policy-value-passwordstrength"===t){const t=parseInt(i);!Number.isNaN(t)&&t>=0&&(this.#Vt={...this.#Vt,passwordstrength:{...this.#Vt?.passwordstrength,expected:t}})}if("data-password-policy-actual-passwordstrength"===t){const t=Number(i);!Number.isNaN(t)&&t>=0&&(this.#Vt={...this.#Vt,passwordstrength:{...this.#Vt?.passwordstrength,actual:t}})}if("data-password-policy-value-disallowedchars"===t)if(i)this.#Vt={...this.#Vt,disallowedchars:{...this.#Vt?.disallowedchars,value:i}};else if(this.#Vt?.disallowedchars){const{disallowedchars:t,...e}=this.#Vt;this.#Vt=e}if("data-password-policy-value-email"===t)if(i)this.#Vt={...this.#Vt,disallowemail:{...this.#Vt?.disallowemail,expected:i}};else if(this.#Vt?.disallowemail){const{disallowemail:t,...e}=this.#Vt;this.#Vt=e}}this.renderItems(this.#kt,this.#Ot,this.#Vt)}}get availablePolicies(){return this.#kt||[]}set availablePolicies(t){this.#kt=t}get value(){return this.getAttribute("value")||""}getStrengthScore(){return this.value.length}compareValues(t,e,i){switch(t.toUpperCase()){case"GTE":return i>=e;case"GT":return i>e;case"LTE":return i<=e;case"LT":return i<e;case"EQ":return i===e;case"NEQ":return i!==e;default:throw new Error(`Invalid comparison type: ${t}`)}}validate(){let t=this.#kt;return this.#Vt&&(t=this.#kt.map(t=>{const e=this.#Vt[t.id];return e?{...t,data:e}:t})),this.#Ot.reduce((e,i)=>{const o=t.find(t=>t.id===i);if(!o)return e;const{pattern:n,message:r,data:s,compare:a}=o,l="string"==typeof a?a.toUpperCase():a;if(!n&&!a||!r)return e;const d={message:da(r,s),id:i};if(n){const t=new RegExp(da(n,s));d.valid=t.test(this.value)}else if("STR_NEQ_CI"===l){const t=(s?.expected??"").toLowerCase(),e=(this.value??"").toLowerCase();if(t&&e){const i=t.indexOf("@"),o=i>0?t.slice(0,i):t;d.valid=e!==t&&e!==o}else d.valid=!0}else a&&(d.valid=this.compareValues(l,s?.expected??-1,s?.actual??-1));return e.push(d),e},[])}get isValid(){return!this.validate().some(({valid:t})=>!1===t)}buildValidationItem({valid:t,message:e}){const i=this.value?t:"none",o=document.createElement("li");o.className="item",o.dataset.valid=i;const n=document.createElement("span");return n.className="message",n.textContent=e??"",o.appendChild(n),o}renderItems(t,e){t&&e.length&&this.list.replaceChildren(...this.validate().map(this.buildValidationItem.bind(this)))}updateLabel(t){t?(this.label.textContent=t,this.classList.remove("hide-label")):(this.classList.add("hide-label"),this.label.textContent="")}}const{host:ga,item:Ma,symbolDefault:ma,symbolSuccess:ya,symbolError:ba}={host:{selector:()=>":host > div"},item:{selector:()=>".item"},symbolDefault:{selector:()=>'.item[data-valid="none"]::before'},symbolSuccess:{selector:()=>'.item[data-valid="true"]::before'},symbolError:{selector:()=>'.item[data-valid="false"]::before'}},Na=Zt(Pe({componentNameOverride:Xt("input-wrapper")}),Pe({mappings:{hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},fontFamily:{},padding:{},borderWidth:{...ga,property:"border-width"},borderStyle:{...ga,property:"border-style"},borderColor:{...ga,property:"border-color"},borderRadius:{...ga,property:"border-radius"},backgroundColor:{...ga,property:"background-color"},textColor:{property:"color"},labelMargin:{...ga,property:"gap"},itemsSpacing:{...Ma,property:"line-height"},itemSymbolSuccessColor:{...ya,property:"color"},itemSymbolErrorColor:{...ba,property:"color"},itemSymbolDefault:{...ma,property:"content"},itemSymbolSuccess:{...ya,property:"content"},itemSymbolError:{...ba,property:"content"}}}),Be,Ze)(ha),Ia=Xt("new-password"),xa=Na.cssVarList,{host:ja,label:Ta,internalInputsWrapper:Da,errorMessage:za,helperText:va,passwordInput:Ca,policyPreview:Sa}={host:{selector:()=>":host"},label:{selector:"::part(label)"},internalInputsWrapper:{selector:"descope-new-password-internal .wrapper"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},passwordInput:{selector:"descope-password"},policyPreview:{selector:"descope-policy-validation"}},La=Zt(Pe({mappings:{fontSize:[ja,{},{selector:cs.componentName,property:cs.cssVarList.fontSize}],fontFamily:[Ta,za,va],labelFontSize:{...Ta,property:"font-size"},labelFontWeight:{...Ta,property:"font-weight"},inputValueFontWeight:{...Ca,property:cs.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{...Ca,property:cs.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{...va,property:"font-weight"},errorMessageFontWeight:{...za,property:"font-weight"},labelTextColor:{...Ta,property:"color"},errorMessageTextColor:{...za,property:"color"},errorMessageIcon:{...za,property:"background-image"},errorMessageIconSize:{...za,property:"background-size"},errorMessageIconPadding:{...za,property:"padding-inline-start"},errorMessageIconRepeat:{...za,property:"background-repeat"},errorMessageIconPosition:{...za,property:"background-position"},errorMessageFontSize:{...za,property:"font-size"},hostWidth:{...ja,property:"width"},hostMinWidth:{...ja,property:"min-width"},hostDirection:[{...ja,property:"direction"},{...Ca,property:cs.cssVarList.hostDirection}],inputsRequiredIndicator:{...ja,property:"content"},spaceBetweenInputs:{...Da,property:"gap"},policyPreviewBackgroundColor:{...Sa,property:xa.backgroundColor},policyPreviewPadding:{...Sa,property:xa.padding},valueInputHeight:{...Ca,property:cs.cssVarList.valueInputHeight},valueInputMarginBottom:{...Ca,property:cs.cssVarList.valueInputMarginBottom}}}),Be,ni({proxyProps:["value","selectionStart"]}),t=>class extends t{init(){super.init?.();const t=document.createElement("template"),e=this.getAttribute("external-input");t.innerHTML=`\n\t\t\t<${la}\n\t\t\t\tname="new-password"\n\t\t\t\ttabindex="-1"\n\t\t\t\tslot="input"\n external-input="${e}"\n\t\t\t>\n </${la}>\n\t\t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(la),"true"===this.getAttribute("external-input")&&this.initExternalInput(),te(this,this.inputElement,{includeAttrs:["password-label","password-placeholder","confirm-label","confirm-placeholder","full-width","size","bordered","label","has-confirm","invalid","readonly","disabled","draggable","has-validation","policy-label","active-policies","available-policies","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email","label-type","manual-visibility-toggle"]})}createSlottedExternalInput(t,e){const i=t.querySelector("input"),o=document.createElement("slot"),n=i.getAttribute("slot");o.setAttribute("name",e),o.setAttribute("slot",n),t.appendChild(o),i.setAttribute("slot",e),i.setAttribute("name",this.getAttribute("name")),i.setAttribute("data-hidden-input","true"),this.appendChild(i)}initExternalInput(){this.passwordInput=this.inputElement.querySelector('[data-id="password"]'),this.confirmInput=this.inputElement.querySelector('[data-id="confirm"]'),this.createSlottedExternalInput(this.passwordInput,"external-password-input"),this.createSlottedExternalInput(this.confirmInput,"external-confirm-input")}})(qe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-block;\n\t\t\tmax-width: 100%;\n\t\t\tbox-sizing: border-box;\n\t\t}\n :host ::part(error-message) {\n direction: ltr;\n }\n\t\t${ge(cs.cssVarList)}\n\t\tvaadin-text-field {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t\tvaadin-text-field::part(input-field) {\n\t\t\tmin-height: 0;\n\t\t\tbackground: transparent;\n\t\t\tbox-shadow: none;\n\t\t\tpadding: 0;\n\t\t}\n\t\tvaadin-text-field::part(input-field)::after {\n\t\t\tbackground: transparent;\n\t\t\topacity: 0;\n\t\t}\n\t\tdescope-new-password-internal {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n\t\t\twidth: 100%;\n\t\t\tpadding: 0;\n\t\t}\n\t\tdescope-new-password-internal > .wrapper {\n -webkit-mask-image: none;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t}\n\t\tdescope-password {\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t}\n\t\tdescope-new-password-internal vaadin-password-field::before {\n\t\t\theight: initial;\n\t\t}\n descope-policy-validation {\n margin-top: 8px;\n display: flex;\n }\n .hidden {\n display: none;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Ia}));customElements.define(ca,Na);const Aa=/^password-/,wa=/^confirm-/,fa=(t,e)=>t.replace(e,""),Ea=["password-label","password-placeholder"],ka=["confirm-label","confirm-placeholder"],Oa=["has-validation","policy-label","available-policies","active-policies","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email","manual-visibility-toggle"],Va=["has-confirm","disabled","bordered","size","full-width","maxlength","invalid","readonly","draggable","autocomplete","label-type","manual-visibility-toggle"],Ua=[].concat(Va,Ea,ka,Oa),Ya=ci({componentName:la,baseSelector:"div"});customElements.define(la,class extends Ya{static get observedAttributes(){return[].concat(Ya.observedAttributes||[],Ua)}constructor(){super(),this.innerHTML='\n\t\t\t<div class="wrapper"></div>\n\t\t',this.wrapperEle=this.querySelector(".wrapper")}get value(){return this.passwordInput?.value||""}set value(t){t!==this.value&&(this.passwordInput.value=t)}get hasConfirm(){return"true"===this.getAttribute("has-confirm")}onHasConfirmChange(t){this.confirmInput.classList.toggle("hidden",!t)}onHasValidationChange(t){this.policyPanel.classList.toggle("hidden",!t)}get hasValidation(){return"true"===this.getAttribute("has-validation")}getValidity(){if(this.isRequired&&!this.value)return{valueMissing:!0};if(this.value&&!this.policyPanel.isValid)return{typeMismatch:!0};if(this.hasConfirm&&this.confirmInput&&this.value!==this.confirmInput.value)return{patternMismatch:!0};const t=this.getAttribute("minlength"),e=parseInt(t,10)||0;return this.value.length>=e?{}:{tooShort:!0}}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.passwordInput.focus()}),super.init?.(),this.renderInputs(this.hasConfirm,this.hasValidation)}renderInputs(){const t="true"===this.getAttribute("external-input"),e=`\n <div class="password-input-container">\n <descope-password\n autocomplete="new-password"\n manual-visibility-toggle="true"\n data-id="password"\n external-input="${t}"\n ></descope-password>\n <descope-policy-validation></descope-policy-validation>\n </div>\n <descope-password\n autocomplete="new-password"\n manual-visibility-toggle="true"\n external-input="${t}"\n data-id="confirm"\n ></descope-password>\n `;this.wrapperEle.innerHTML=e,this.passwordInput=this.querySelector('[data-id="password"]'),this.confirmInput=this.querySelector('[data-id="confirm"]'),this.policyPanel=this.querySelector("descope-policy-validation"),this.passwordStrength=this.querySelector("descope-password-strength"),this.inputs=[this.passwordInput,this.confirmInput],this.initInputs(),this.passwordInput.addEventListener("input",t=>{this.passwordStrength?.addEventListener("score-changed",({detail:t})=>{this.policyPanel.setAttribute("data-password-policy-actual-passwordstrength",t)},{once:!0}),this.passwordStrength?.setAttribute("value",t.target.value),this.policyPanel.setAttribute("value",t.target.value)}),te(this,this.policyPanel,{includeAttrs:Oa,mapAttrs:{"policy-label":"label","available-policies":"data"}})}handleIndicatorStyle(){this.inputs.forEach(t=>{f(`\n\t\t\t\t:host ::part(required-indicator)::after {\n\t\t\t\t\tcontent: var(${La.cssVarList.inputsRequiredIndicator});\n width: 1em;\n text-align: center;\n\t\t\t\t}\n :host ::part(required-indicator) {\n display: inline-flex;\n }\n\t\t\t\t`,t)})}get isInvalid(){return this.hasAttribute("invalid")&&"false"!==this.getAttribute("invalid")}handleInputsInvalidAttribute(){this.inputs.forEach(t=>{t&&Jt(t,e=>{if(e.includes("invalid")){const e=t.getAttribute("invalid"),i=this.getAttribute("invalid");this.isInvalid&&i!==e&&t.setAttribute("invalid","true")}},{})})}initInputs(){this.handleIndicatorStyle(),this.handleInputsInvalidAttribute(),this.handleFocusEventsDispatching(this.inputs)}async togglePasswordStrength(){this.activePolicies.includes("passwordstrength")?this.passwordStrength||(await Promise.resolve().then(function(){return qx}),this.passwordStrength=document.createElement("descope-password-strength"),this.passwordStrength.setAttribute("options","Very weak,Weak,Average,Strong,Very strong"),this.passwordStrength.setAttribute("value",this.passwordInput.value||""),this.passwordStrength.setAttribute("st-host-direction",this.getAttribute("st-host-direction")),this.passwordStrength.setAttribute("full-width","true"),this.querySelector(".password-input-container").insertBefore(this.passwordStrength,this.policyPanel)):this.passwordStrength&&(this.passwordStrength.remove(),this.passwordStrength=null)}get activePolicies(){return(this.getAttribute("active-policies")||"").split(",")}toggleBooleanAttribute(t,e,i){null===i?t?.removeAttribute(e):t?.setAttribute(e,i)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("has-validation"===t?this.onHasValidationChange("true"===i):"has-confirm"===t?this.onHasConfirmChange("true"===i):Va.includes(t)?this.inputs.forEach(e=>this.toggleBooleanAttribute(e,t,i)):Ea.includes(t)?this.toggleBooleanAttribute(this.passwordInput,fa(t,Aa),i):ka.includes(t)&&this.toggleBooleanAttribute(this.confirmInput,fa(t,wa),i),"active-policies"===t&&this.togglePasswordStrength())}}),customElements.define(Ia,La);const Wa=Xt("recaptcha"),Ra=["enabled","site-key","action","enterprise","variant"],Qa=$e({componentName:Wa,baseSelector:":host > div"}),Pa=Zt(Be)(class extends Qa{static get observedAttributes(){return Ra.concat(Qa.observedAttributes||[])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("enabled"===t&&this.#Ut("true"===i),"variant"===t&&this.updatePreview())}renderRecaptcha(t){this.children.length?this.updatePreview():this.toggleRecaptchaEles(t)}displayRecaptcha(){this.isWidget?this.displayWidget():this.displayDeprecated()}displayWidget(){this.mockRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="",this.depercatedRecaptchaEle.style.display="none"}hideRecaptcha(){this.recaptchaWidgetEle.style.display="none",this.depercatedRecaptchaEle.style.display="none",this.mockRecaptchaEle.style.display=""}displayDeprecated(){this.mockRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="none",this.depercatedRecaptchaEle.style.display=""}toggleRecaptchaEles(t){t?this.displayRecaptcha():this.hideRecaptcha()}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="badge">\n <span id="recaptcha"></span>\n <span id="recaptcha-widget"></span>\n <input id="recaptcha-widget-input" type="hidden" name="recaptcha-widget" required />\n <img src="https://imgs.descope.com/connectors/templates/recaptcha/recaptcha-big.png" alt="recaptcha"/>\n </div>\n <slot></slot>\n\t',f('\n :host {\n display: inline-flex;\n }\n :host > div:not(.hidden) {\n display: flex;\n }\n :host #recaptcha .grecaptcha-badge {\n box-shadow: none !important;\n }\n :host #recaptcha .grecaptcha-logo {\n height: 100%;\n }\n :host #recaptcha {\n\t\t\t\twidth: 100%;\n height: 100%;\n\t\t\t}\n :host #recaptcha-widget {\n width: 100%;\n height: 100%;\n }\n :host #recaptcha-widget-input {\n display: none;\n }\n :host img {\n width: 256px;\n }\n :host([full-width="true"]) {\n width: 100%;\n }\n .hidden {\n display: none;\n }\n ',this),this.depercatedRecaptchaEle=this.baseElement.querySelector("#recaptcha"),this.recaptchaWidgetEle=this.baseElement.querySelector("#recaptcha-widget"),this.recaptchaWidgetInputEle=this.baseElement.querySelector("#recaptcha-widget-input"),this.mockRecaptchaEle=this.baseElement.querySelector("img"),this.badge=this.shadowRoot.querySelector(".badge")}init(){super.init?.(),$t(this,this.updatePreview.bind(this))}updatePreview(){this.children.length?(this.depercatedRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="none",this.mockRecaptchaEle.style.display="none",this.badge.classList.add("hidden")):(this.toggleRecaptchaEles(this.enabled),this.badge.classList.remove("hidden"))}getValidity(){return this.isWidget?this.recaptchaWidgetInputEle.value?{}:{valueMissing:!0}:{}}checkValidity(){return!this.isWidget||!!this.recaptchaWidgetInputEle.value}get enterprise(){return"true"===this.getAttribute("enterprise")}get siteKey(){return this.getAttribute("site-key")}get action(){return this.getAttribute("action")||"load"}get enabled(){return"true"===this.getAttribute("enabled")}get variant(){return this.getAttribute("variant")||"text"}get isWidget(){return"widget"===this.variant}get scriptURL(){const t=new URL("https://www.google.com/recaptcha/");return t.pathname+=(this.enterprise?"enterprise":"api")+".js",t.searchParams.append("onload","onRecaptchaLoadCallback"),t.searchParams.append("render","explicit"),t.toString()}#Ut(t){this.renderRecaptcha(t),this.isWidget||t&&(this.#Yt(),document.getElementById("recaptcha-script")?window.onRecaptchaLoadCallback():this.#Wt())}#Wt(){const t=document.createElement("script");t.src=this.scriptURL,t.async=!0,t.id="recaptcha-script",t.defer=!0,document.body.appendChild(t)}get grecaptchaInstance(){return this.enterprise?window.grecaptcha?.enterprise:window.grecaptcha}#Rt(t,e,i){this.isConnected&&t.ready(()=>{const o=e.querySelector('textarea[name^="g-recaptcha-response"]')?.cloneNode();if(o&&(o.style.display="none",document.body.appendChild(o)),!this.siteKey)return;const n=t?.execute(i,{action:this.action});n.then((n,r)=>{r?console.warn("could not execute recaptcha",r):(this.updateComponentsContext({risktoken:n,riskaction:this.action}),this.isConnected&&setTimeout(()=>{this.#Rt(t,e,i)},11e4)),o.remove()})})}#Yt(){window.onRecaptchaLoadCallback=()=>{const t=this.depercatedRecaptchaEle;if(t.hasChildNodes())return;const{grecaptchaInstance:e}=this;e&&setTimeout(()=>{const i=e.render(t,{sitekey:this.siteKey,badge:"inline",size:"invisible"});this.#Rt(e,t,i)},0)}}});customElements.define(Wa,Pa);const Ba=Xt("upload-file"),Za=["title","description","button-label","accept","readonly","button-mode","button-variant","required","size","icon"],Fa=ci({componentName:Ba,baseSelector:":host > div"}),Ga=ko.cssVarList,{host:Ha,wrapper:Ja,icon:$a,title:_a,description:qa,requiredIndicator:Xa}={host:{selector:()=>":host"},wrapper:{selector:()=>":host > div"},icon:{selector:()=>"::slotted(*)"},title:{selector:()=>".title"},description:{selector:()=>".description"},requiredIndicator:{selector:()=>".title::after"}},Ka=Zt(Pe({componentNameOverride:Xt("input-wrapper")}),Pe({mappings:{fontSize:{},fontFamily:{},borderColor:{},borderWidth:{},borderStyle:{},borderRadius:{},hostHeight:{...Ha,property:"height"},hostWidth:{...Ha,property:"width"},hostPadding:{property:"padding"},hostDirection:[{...Ha,property:"direction"},{selector:()=>ko.componentName,property:Ga.hostDirection}],gap:{...Ja},lineHeight:{...Ja,property:"line-height"},titleFontSize:{..._a,property:"font-size"},titleFontWeight:{..._a,property:"font-weight"},descriptionFontSize:{...qa,property:"font-size"},labelTextColor:[{..._a,property:"color"},{...qa,property:"color"}],iconSize:{...$a,property:"width"},requiredIndicator:{...Xa,property:"content"}}}),Be,Ze)(class extends Fa{static get observedAttributes(){return Za.concat(Fa.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t\t<div>\n <slot name="icon"></slot>\n\t\t\t\t<div class="title">\n\t\t\t\t\t<span class="title-text"></span>\n\t\t\t\t</div>\n\t\t\t\t<div class="description"></div>\n\t\t\t\t<div class="button-wrapper">\n\t\t\t\t\t<input type="file" tabindex="-1" aria-labelledby="button"/>\n\t\t\t\t\t<descope-button id="button"></descope-button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t',f("\n :host {\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\ttext-align: center;\n\t\t\t\tflex-direction: column;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.button-wrapper {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: fit-content;\n\t\t\t}\n\t\t\tinput {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\topacity: 0;\n\t\t\t}\n ",this),this.wrapperEle=this.shadowRoot.querySelector(".wrapper"),this.inputElement=this.shadowRoot.querySelector("input"),this.button.onclick=()=>this.inputElement.click(),this.inputElement.onchange=async t=>{const e=t.target.files;var i;e.length&&(this.value=await(i=e[0],new Promise(t=>{const e=new FileReader;e.onload=e=>t(e.target.result),e.readAsDataURL(i)})),this.updateDescription((t=>t.name.replace(/^.*\\/,""))(e[0])))},this.oninvalid=()=>{this.setAttribute("invalid","true")}}getValidity(){return this.isRequired&&!this.input.value?{valueMissing:!0}:(this.removeAttribute("invalid"),{})}initInputs(){this.rootElement.querySelector("descope-button").onclick=()=>this.inputElement.click()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("title"===t?this.updateTitle(i):"description"===t?this.updateDescription(i):"button-label"===t?this.updateButtonLabel(i):"button-mode"===t?this.updateButtonMode(i):"button-variant"===t?this.updateButtonVariant(i):"size"===t?this.updateButtonSize(i):"accept"===t?this.updateInputAccept(i):"readonly"===t&&this.updateReadOnly(i))}get button(){return this.shadowRoot.querySelector("descope-button")}get input(){return this.shadowRoot.querySelector("input")}get title(){return this.shadowRoot.querySelector(".title-text")}get description(){return this.shadowRoot.querySelector(".description")}get icon(){return this.shadowRoot.querySelector(".icon")}updateTitle(t){this.title.textContent=t}updateDescription(t){this.description.textContent=t}updateButtonLabel(t){this.button.textContent=t}updateButtonSize(t){this.button.setAttribute("size",t)}updateButtonMode(t){this.button.setAttribute("mode",t)}updateButtonVariant(t){this.button.setAttribute("variant",t)}updateInputAccept(t){this.input.setAttribute("accept",t)}updateReadOnly(t){"true"===t?this.input.setAttribute("disabled","true"):this.input.removeAttribute("disabled")}});customElements.define(Ba,Ka);const tl=t=>{class e extends(ci({componentName:t,baseSelector:"slot"})){constructor(){super(),this.innerHTML='\n <slot part="wrapper"></slot>\n '}dispatchChange=_e.bind(this,"change");get items(){return this.querySelector("slot").assignedElements()}get isReadonly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"md"}get value(){console.warn("get value","is not implemented")}set value(t){console.warn("set value","is not implemented")}onSizeChange(){this.items.forEach(t=>{t.setAttribute("size",this.size)})}onReadOnlyChange(){this.querySelector("slot").toggleAttribute("inert",this.isReadonly)}getValidity(){console.warn("getValidity","is not implemented")}onObservedAttributeChange(t){t.forEach(t=>{switch(t){case"size":this.onSizeChange();break;case"readonly":this.onReadOnlyChange()}})}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.items[0]?.focus()}),super.init?.(),Jt(this,this.onObservedAttributeChange.bind(this),{includeAttrs:["size","readonly"]})}}return e},el=Xt("button-selection-group-internal");class il extends(tl(el)){getSelectedNode(){return this.items.find(t=>t.hasAttribute("selected"))}get allowDeselect(){return"true"===this.getAttribute("allow-deselect")}removeSelected(){this.getSelectedNode()?.removeAttribute("selected")}onClick(t){t.target!==t.currentTarget&&(t.target===this.getSelectedNode()&&this.allowDeselect?this.removeSelected():this.setSelected(t.target),this.dispatchChange())}setSelected(t){t!==this.getSelectedNode()&&(this.removeSelected(),t?.setAttribute("selected","true"))}get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){setTimeout(()=>{this.defaultValue&&(this.value=this.defaultValue,this.setCustomValidity())})}get value(){return this.getSelectedNode()?.value||""}set value(t){const e=this.items.find(e=>e.value===t);this.setSelected(e)}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}init(){super.init(),this.setDefaultValue(),this.querySelector("slot").addEventListener("click",this.onClick.bind(this))}}const ol=t=>class extends t{#tt=({value:t,label:e})=>`<descope-button-selection-group-item value="${t}">${e}</descope-button-selection-group-item>`;#U;get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}get size(){return this.inputElement?.size}get data(){if(this.#U)return this.#U;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#U=t,this.renderItems())}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.renderItems(),Jt(this,this.renderItems.bind(this),{includeAttrs:["data"]}),$t(this,({addedNodes:t})=>{t.forEach(t=>{t.setAttribute("size",this.size)})})}},{host:nl,label:rl,requiredIndicator:sl,internalWrapper:al,errorMessage:ll}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:()=>':host [part="internal-component"] slot'},errorMessage:{selector:"::part(error-message)"}},dl={hostWidth:{...nl,property:"width"},hostDirection:{...nl,property:"direction"},fontFamily:nl,labelTextColor:[{...rl,property:"color"},{...sl,property:"color"}],labelRequiredIndicator:{...sl,property:"content"},errorMessageTextColor:{...ll,property:"color"},errorMessageIcon:{...ll,property:"background-image"},errorMessageIconSize:{...ll,property:"background-size"},errorMessageIconPadding:{...ll,property:"padding-inline-start"},errorMessageIconRepeat:{...ll,property:"background-repeat"},errorMessageIconPosition:{...ll,property:"background-position"},errorMessageFontSize:{...ll,property:"font-size"},itemsSpacing:{...al,property:"gap"}},cl=`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n [part="internal-component"] {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n display: inline-block;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n [part="internal-component"] slot {\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${xe("vaadin-text-field")}\n\t\t\t${ye("vaadin-text-field")}\n `,ul=Xt("button-selection-group"),pl=Zt(Pe({mappings:{...dl}}),Be,ni({proxyProps:["value","selectionStart"]}),Ze,ol,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${el}\n \tname="button-selection-group"\n \tslot="input"\n tabindex="-1"\n part="internal-component"\n >\n <slot></slot>\n </${el}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(el),te(this,this.inputElement,{includeAttrs:["size","default-value","allow-deselect"]})}})(qe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>cl,excludeAttrsSync:["tabindex","style"],componentName:ul}));customElements.define(el,il);const hl=Xt("button-selection-group-item");class gl extends($e({componentName:hl,baseSelector:":host > descope-button"})){get size(){return this.getAttribute("size")||"md"}get variant(){return this.getAttribute("variant")||"contained"}get value(){return this.getAttribute("value")||""}set value(t){this.setAttribute("value",t)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <descope-button variant="${this.variant}" size="${this.size}" mode="primary">\n <slot></slot>\n </descope-button>\n\t`,f("\n descope-button {\n max-width: 100%;\n }\n\t\t\tdescope-button > slot {\n\t\t\t\twidth: 100%;\n\t\t\t\toverflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n max-width: 100%\n\t\t\t}\n ",this),te(this,this.baseElement,{includeAttrs:["size","variant"]}),te(this.baseElement,this,{includeAttrs:["focused","active"]})}handleFocus(){this.shadowRoot.querySelector("descope-button")?.focus()}focus(){this.handleFocus()}init(){super.init(),this.addEventListener("focus",t=>{t.isTrusted&&this.handleFocus()})}}const Ml=Zt(Pe({mappings:{hostDirection:{selector:()=>ko.componentName,property:ko.cssVarList.hostDirection},backgroundColor:{selector:()=>ko.componentName,property:ko.cssVarList.backgroundColor},labelTextColor:{selector:()=>ko.componentName,property:ko.cssVarList.labelTextColor},borderColor:{selector:()=>ko.componentName,property:ko.cssVarList.borderColor},borderWidth:{selector:()=>ko.componentName,property:ko.cssVarList.borderWidth},borderStyle:{selector:()=>ko.componentName,property:ko.cssVarList.borderStyle},borderRadius:{selector:()=>ko.componentName,property:ko.cssVarList.borderRadius},outlineColor:{selector:()=>ko.componentName,property:ko.cssVarList.outlineColor}}}),Be,Ze)(gl);customElements.define(hl,Ml),customElements.define(ul,pl);const ml=Xt("button-multi-selection-group-internal");class yl extends(tl(ml)){#Qt(){return this.items.filter(t=>t.hasAttribute("selected"))}onClick(t){t.target!==t.currentTarget&&(this.#Qt().includes(t.target)?t.target.removeAttribute("selected"):t.target.setAttribute("selected","true"),this.dispatchChange())}get value(){return this.#Qt().map(t=>t.value)}set value(t){this.items.forEach(e=>{t.includes(e.value)?e.setAttribute("selected","true"):e.removeAttribute("selected")})}get minItemsSelection(){return parseInt(this.getAttribute("min-items-selection"),10)||0}get maxItemsSelection(){return parseInt(this.getAttribute("max-items-selection"),10)||0}#Pt(t){const e=Array.isArray(t);return e||console.error("default-values must be an array, received:",t),e}get defaultValues(){const t=this.getAttribute("default-values");if(t)try{const e=JSON.parse(t);if(this.#Pt(e))return e}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}setDefaultValues(){setTimeout(()=>{this.defaultValues&&(this.value=this.defaultValues,this.setCustomValidity())})}getValidity(){return this.isRequired&&!this.value.length?{valueMissing:!0}:this.isRequired&&this.minItemsSelection&&this.value.length<this.minItemsSelection?{rangeUnderflow:!0}:this.maxItemsSelection&&this.value.length>this.maxItemsSelection?{rangeOverflow:!0}:{}}init(){super.init(),this.setDefaultValues(),this.querySelector("slot").addEventListener("click",this.onClick.bind(this))}}const bl=Xt("button-multi-selection-group"),Nl=Zt(Pe({mappings:{...dl}}),Be,ni({proxyProps:["value","selectionStart"]}),Ze,ol,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${ml}\n \tname="button-selection-group"\n \tslot="input"\n tabindex="-1"\n part="internal-component"\n >\n <slot></slot>\n </${ml}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(ml),te(this,this.inputElement,{includeAttrs:["size","default-values","min-items-selection","max-items-selection"]})}})(qe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>cl,excludeAttrsSync:["tabindex","style"],componentName:bl}));customElements.define(ml,yl),customElements.define(bl,Nl);class Il extends h.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,e,i){const o=i.item[this.path]||"",n=Array.isArray(o)?o.join(", "):o;this.__setTextContent(t,n),t.title=n}_defaultHeaderRenderer(t,e){this.sortable?super._defaultHeaderRenderer(t,e):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}const xl=Xt("grid-text-column");customElements.define(xl,Il);const jl=Xt("grid-custom-column");customElements.define(jl,class extends Il{_defaultRenderer(t,e,i){const o=i.item[this.path]||"",n=Array.from(this.children).find(t=>{const e=t.getAttribute("data-pattern");return!e||new RegExp(e).test(o)});if(!n)return void this.__setTextContent(t,i.item[this.path]||"");const r=n.cloneNode(!0);r.textContent=o||"",t.innerHTML="",t.append(r)}});const Tl=()=>{const t=document.createElement("descope-checkbox");return t.setAttribute("bordered","true"),t.setAttribute("size","xs"),t},Dl=t=>!!t.items?.length&&t.selectedItems.length===t.items.length;class zl extends g.${_onHeaderRendererOrBindingChanged(){}_headerRenderer(t){const e=t.parentNode;let i=t.querySelector("descope-checkbox");i||(i=Tl(),i.addEventListener("input",()=>{const t=Dl(e);e.selectedItems=t?[]:e.items}),t.appendChild(i)),i.setAttribute("checked",Dl(e))}_defaultRenderer(t,e,i){const o=t.parentNode;let n=t.querySelector("descope-checkbox");n||(n=Tl(),t.appendChild(n)),n.onchange=()=>{n.checked?o.selectItem(i.item):o.deselectItem(i.item)},n.setAttribute("checked",i.selected)}}const vl=Xt("grid-selection-column");customElements.define(vl,zl);class Cl extends h.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,e,i){const o=e._gridValue,n=o.detailsOpenedItems?.indexOf(i.item)??-1,r=-1!==n,s=document.createElement("vaadin-icon");s.icon=r?"vaadin:angle-up":"vaadin:angle-down",s.classList.add("toggle-details-button",r?"opened":"closed"),t.innerHTML="",t.append(s),s.onclick=()=>{o.detailsOpenedItems=r?o.detailsOpenedItems.toSpliced(n,1):[...o.detailsOpenedItems,i.item]}}_defaultHeaderRenderer(t,e){this.sortable?super._defaultHeaderRenderer(t,e):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}const Sl=Xt("grid-item-details-column");customElements.define(Sl,Cl),customElements.define(To,vo),customElements.define(Co,So);const Ll=t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value},Al=Xt("code-snippet");let wl=class extends($e({componentName:Al,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["lang","inline","copy-button"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <code class="hljs"></code>\n </div>\n ',f("\n :host {\n display: inline-block;\n width: 100%;\n }\n .wrapper {\n display: grid;\n width: 100%;\n }\n code {\n grid-area: 1 / 1;\n display: block;\n width: 100%;\n min-height: 1em;\n overflow-x: auto;\n }\n pre {\n margin: 0;\n }\n .copy-btn {\n grid-area: 1 / 1;\n place-self: start end;\n margin: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border-style: solid;\n cursor: pointer;\n opacity: 0;\n transition: opacity 150ms ease, background 150ms ease;\n }\n .wrapper:hover .copy-btn,\n .copy-btn:focus-visible {\n opacity: 1;\n }\n .copy-btn descope-icon {\n width: 16px;\n height: 16px;\n pointer-events: none;\n flex-shrink: 0;\n }\n .copy-btn .check-icon {\n display: none;\n }\n .copy-btn.copied .check-icon {\n display: block;\n }\n .copy-btn.copied descope-icon:not(.check-icon) {\n display: none;\n }\n ",this)}init(){super.init?.(),this.lang=this.getAttribute("lang"),this.isInline="true"===this.getAttribute("inline"),"true"===this.getAttribute("copy-button")&&this.#Bt(),$t(this,this.#Zt.bind(this))}get contentNode(){return this.shadowRoot.querySelector("code")}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("inline"===t&&(this.isInline=i),"lang"===t&&(this.lang=i),"copy-button"===t&&("true"===i?this.#Bt():this.#Ft()),this.#Zt())}#Bt(){if(this.shadowRoot.querySelector(".copy-btn"))return;const t=document.createElement("button");t.className="copy-btn",t.type="button",t.setAttribute("aria-label","Copy code");const e=document.createElement("descope-icon");e.setAttribute("src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogIDxyZWN0IHg9IjkiIHk9IjkiIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgcng9IjIiIHJ5PSIyIj48L3JlY3Q+CiAgPHBhdGggZD0iTTUgMTVINGEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg5YTIgMiAwIDAgMSAyIDJ2MSI+PC9wYXRoPgo8L3N2Zz4K");const i=document.createElement("descope-icon");i.setAttribute("src","data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iY2hlY2staWNvbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cG9seWxpbmUgcG9pbnRzPSIyMCA2IDkgMTcgNCAxMiI+PC9wb2x5bGluZT4KPC9zdmc+Cg=="),i.classList.add("check-icon"),t.appendChild(e),t.appendChild(i),t.addEventListener("click",()=>this.#Gt()),this.shadowRoot.querySelector(".wrapper").appendChild(t)}#Ft(){this.shadowRoot.querySelector(".copy-btn")?.remove()}#Gt(){const t=this.shadowRoot.querySelector(".copy-btn");navigator.clipboard.writeText(Ll(this.textContent)).then(()=>{t.classList.add("copied"),setTimeout(()=>t.classList.remove("copied"),2e3)}).catch(()=>{})}#Zt(){const t=Ll(this.textContent),e=this.lang;if(!e)return void(this.contentNode.textContent=t);const{value:i}=M.A.highlight(t,{language:e});this.contentNode.innerHTML=(t=>this.isInline?t:`<pre>${t}</pre>`)(i)}};const fl={selector:()=>".copy-btn"},{root:El,docTag:kl,keyword:Ol,metaKeyword:Vl,templateTag:Ul,templateVariable:Yl,type:Wl,variableLanguage:Rl,title:Ql,titleClass:Pl,titleClassInherited:Bl,titleFunction:Zl,attr:Fl,attribute:Gl,literal:Hl,meta:Jl,number:$l,operator:_l,variable:ql,selectorAttr:Xl,selectorClass:Kl,selectorId:td,regexp:ed,string:id,metaString:od,builtIn:nd,symbol:rd,comment:sd,code:ad,formula:ld,name:dd,quote:cd,selectorTag:ud,selectorPseudo:pd,subst:hd,section:gd,bullet:Md,emphasis:md,strong:yd,addition:bd,deletion:Nd,charEscape:Id,link:xd,params:jd,property:Td,punctuation:Dd,tag:zd}={root:{selector:()=>".hljs"},docTag:{selector:()=>".hljs-doctag"},keyword:{selector:()=>".hljs-keyword"},metaKeyword:{selector:()=>".hljs-meta .hljs-keyword"},templateTag:{selector:()=>".hljs-template-tag"},templateVariable:{selector:()=>".hljs-template-variable"},type:{selector:()=>".hljs-type"},variableLanguage:{selector:()=>".hljs-variable.language"},title:{selector:()=>".hljs-title"},titleClass:{selector:()=>".hljs-title.class_"},titleClassInherited:{selector:()=>".hljs-title.class_.inherited__"},titleFunction:{selector:()=>".hljs-title.function_"},attr:{selector:()=>".hljs-attr"},attribute:{selector:()=>".hljs-attribute"},literal:{selector:()=>".hljs-literal"},meta:{selector:()=>".hljs-meta"},number:{selector:()=>".hljs-number"},operator:{selector:()=>".hljs-operator"},variable:{selector:()=>".hljs-variable"},selectorAttr:{selector:()=>".hljs-selector-attr"},selectorClass:{selector:()=>".hljs-selector-class"},selectorId:{selector:()=>".hljs-selector-id"},regexp:{selector:()=>".hljs-regexp"},string:{selector:()=>".hljs-string"},metaString:{selector:()=>".hljs-meta .hljs-string"},builtIn:{selector:()=>".hljs-built_in"},symbol:{selector:()=>".hljs-symbol"},comment:{selector:()=>".hljs-comment"},code:{selector:()=>".hljs-code"},formula:{selector:()=>".hljs-formula"},name:{selector:()=>".hljs-name"},quote:{selector:()=>".hljs-quote"},selectorTag:{selector:()=>".hljs-selector-tag"},selectorPseudo:{selector:()=>".hljs-selector-pseudo"},subst:{selector:()=>".hljs-subst"},section:{selector:()=>".hljs-section"},bullet:{selector:()=>".hljs-bullet"},emphasis:{selector:()=>".hljs-emphasis"},strong:{selector:()=>".hljs-strong"},addition:{selector:()=>".hljs-addition"},deletion:{selector:()=>".hljs-deletion"},charEscape:{selector:()=>".hljs-char.escape"},link:{selector:()=>".hljs-link"},params:{selector:()=>".hljs-params"},property:{selector:()=>".hljs-property"},punctuation:{selector:()=>".hljs-punctuation"},tag:{selector:()=>".hljs-tag"}},vd=Zt(Pe({mappings:{rootBgColor:{...El,property:"background-color"},rootTextColor:{...El,property:"color"},docTagTextColor:{...kl,property:"color"},keywordTextColor:{...Ol,property:"color"},metaKeywordTextColor:{...Vl,property:"color"},templateTagTextColor:{...Ul,property:"color"},templateVariableTextColor:{...Yl,property:"color"},typeTextColor:{...Wl,property:"color"},variableLanguageTextColor:{...Rl,property:"color"},titleTextColor:{...Ql,property:"color"},titleClassTextColor:{...Pl,property:"color"},titleClassInheritedTextColor:{...Bl,property:"color"},titleFunctionTextColor:{...Zl,property:"color"},attrTextColor:{...Fl,property:"color"},attributeTextColor:{...Gl,property:"color"},literalTextColor:{...Hl,property:"color"},metaTextColor:{...Jl,property:"color"},numberTextColor:{...$l,property:"color"},operatorTextColor:{..._l,property:"color"},variableTextColor:{...ql,property:"color"},selectorAttrTextColor:{...Xl,property:"color"},selectorClassTextColor:{...Kl,property:"color"},selectorIdTextColor:{...td,property:"color"},regexpTextColor:{...ed,property:"color"},stringTextColor:{...id,property:"color"},metaStringTextColor:{...od,property:"color"},builtInTextColor:{...nd,property:"color"},symbolTextColor:{...rd,property:"color"},commentTextColor:{...sd,property:"color"},codeTextColor:{...ad,property:"color"},formulaTextColor:{...ld,property:"color"},nameTextColor:{...dd,property:"color"},quoteTextColor:{...cd,property:"color"},selectorTagTextColor:{...ud,property:"color"},selectorPseudoTextColor:{...pd,property:"color"},substTextColor:{...hd,property:"color"},sectionTextColor:{...gd,property:"color"},bulletTextColor:{...Md,property:"color"},emphasisTextColor:{...md,property:"color"},strongTextColor:{...yd,property:"color"},additionTextColor:{...bd,property:"color"},additionBgColor:{...bd,property:"background-color"},deletionTextColor:{...Nd,property:"color"},deletionBgColor:{...Nd,property:"background-color"},charEscapeTextColor:{...Id,property:"color"},linkTextColor:{...xd,property:"color"},paramsTextColor:{...jd,property:"color"},propertyTextColor:{...Td,property:"color"},punctuationTextColor:{...Dd,property:"color"},tagTextColor:{...zd,property:"color"},copyButtonSize:[{...fl,property:"width"},{...fl,property:"height"}],copyButtonBorderRadius:{...fl,property:"border-radius"},copyButtonBorderWidth:{...fl,property:"border-width"},copyButtonBorderColor:{...fl,property:"border-color"},copyButtonBgColor:{...fl,property:"background-color"},copyButtonHoverBgColor:{selector:()=>".copy-btn:hover",property:"background-color"},copyButtonColor:{...fl,property:"color"}}}),Be,Ze)(wl);customElements.define(Al,vd);const Cd=t=>{const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e},Sd=t=>{const e=document.createElement("div");return e.textContent=t,e.innerHTML},Ld=t=>(t=>t?.constructor===Object)(t)?"object":Array.isArray(t)?"array":/^\s*<[\s\S]*>/.test(t)?"xml":"text",Ad=(t,e)=>`<descope-code-snippet copy-button="true" lang="${e}" class="row-details__value code">${Sd(t)}</descope-code-snippet>`,wd=t=>`<div class="row-details__value text" title="${t}">${Sd(t)}</div>`,fd=t=>Ad(JSON.stringify(t,null,2),"json"),Ed=t=>{const e=Ld(t);return"object"===e?fd(t):"xml"===e?(t=>Ad(t,"xml"))(t):"array"===e?t.some(t=>"object"===Ld(t))?fd(t):wd(t.join(",\n")):wd(t)},kd=Xt("grid"),{host:Od,headerRow:Vd,headerRowCell:Ud,contentRow:Yd,firstRow:Wd,sortIndicators:Rd,activeSortIndicator:Qd,selectedRow:Pd,rowSeparator:Bd,resizeHandle:Zd,toggleDetailsPanelButton:Fd,toggleDetailsPanelButtonOpened:Gd,toggleDetailsPanelButtonClosed:Hd,detailsPanel:Jd,detailsPanelLabels:$d,selectedRowCell:_d,detailsPanelContent:qd}={host:{selector:()=>"vaadin-grid"},headerRow:{selector:()=>"::part(header-cell)"},headerRowCell:{selector:()=>"vaadin-grid::part(header-cell)"},contentRow:{selector:()=>"::part(cell)"},firstRow:{selector:()=>"::part(first-header-row-cell)"},selectedRow:{selector:()=>"::part(selected-row)"},selectedRowCell:{selector:()=>"::part(selected-row-cell)"},sortIndicators:{selector:()=>"vaadin-grid-sorter::part(indicators)"},activeSortIndicator:{selector:()=>"vaadin-grid-sorter[direction]"},rowSeparator:{selector:()=>"vaadin-grid::part(body-cell)"},resizeHandle:{selector:()=>"::part(resize-handle)"},toggleDetailsPanelButton:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button"},toggleDetailsPanelButtonOpened:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button.opened"},toggleDetailsPanelButtonClosed:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button.closed"},detailsPanel:{selector:()=>"vaadin-grid::part(details-cell)"},detailsPanelLabels:{selector:()=>"vaadin-grid .row-details__label"},detailsPanelContent:{selector:()=>"vaadin-grid .row-details"}},Xd=Zt(Pe({componentNameOverride:Xt("input-wrapper")}),Pe({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostHeight:{selector:()=>":host",property:"height"},hostMinHeight:{selector:()=>":host",property:"min-height"},fontFamily:[{...Vd},{...Yd}],fontSize:[{...Vd},{...Yd}],fontWeight:{...Yd},valueTextColor:{...Yd,property:"color"},backgroundColor:[{...Od,property:"background-color"},{...Yd,property:"background-color"}],sortIndicatorsColor:{...Rd,property:"color"},activeSortIndicator:{...Qd,property:"color"},borderColor:{...Od,property:"border-color"},borderWidth:{...Od,property:"border-width"},borderStyle:{...Od,property:"border-style"},borderRadius:{...Od,property:"border-radius"},selectedBackgroundColor:[{...Pd,property:"background-color"},{..._d,property:"background-color"}],headerRowTextColor:{...Ud,property:"color"},separatorColor:[{...Wd,property:"border-bottom-color"},{...Bd,property:"border-top-color"}],resizeHandleColor:{...Zd,property:"background-color"},hostDirection:{...Od,property:"direction",fallback:"ltr"},toggleDetailsPanelButtonSize:[{...Fd,property:"width"},{...Fd,property:"height"}],toggleDetailsPanelButtonOpenedColor:{...Gd,property:"color"},toggleDetailsPanelButtonClosedColor:{...Hd,property:"color"},toggleDetailsPanelButtonCursor:{...Fd,property:"cursor"},detailsPanelBackgroundColor:{...Jd,property:"background-color"},detailsPanelBorderTopColor:{...Jd,property:"border-top-color"},detailsPanelLabelsColor:{...$d,property:"color"},detailsPanelLabelsFontSize:{...$d,property:"font-size"},detailsPanelItemsGap:{...qd,property:"grid-gap"},detailsPanelPadding:{...qd,property:"padding"}}}),Be,Ze,t=>class extends t{#Ht;init(){super.init?.(),this.handleColumns(),this.forwardSelectedItemsChange(),this.baseElement._mapSorters=()=>{};const t=this.baseElement._updateDetailsCellHeight;this.baseElement._updateDetailsCellHeight=e=>{e&&t.call(this.baseElement,e)},this.baseElement.rowDetailsRenderer=this.#Jt.bind(this),this.baseElement.addEventListener("wheel",t=>{t.target.closest("descope-code-snippet")&&t.stopPropagation()},!0)}#Jt=async(t,e,i)=>{t.addEventListener("mousedown",t=>t.stopImmediatePropagation(),!0);const o=this.getRowDetailsTemplate(i.item);t.innerHTML="",t.append(o.content.cloneNode(!0))};getRowDetailsTemplate(t){const e=this.#Ht.reduce((t,{path:e,header:i})=>e&&i?{...t,[e]:i}:t,{}),i=this.rowDetailsRenderer?.(t,e)??((t,e)=>`\n <div class="row-details">\n ${Object.entries(t).map(([t,i])=>{const o=e[t]||t.replace(/([A-Z])/g," $1").trim().split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");return(t=>{const e=Ld(t);return"object"===e||"xml"===e||"array"===e&&t.some(t=>"object"===Ld(t))})(i)?`<details class="row-details__item">\n <summary class="row-details__label">${o}</summary>\n ${Ed(i)}\n </details>`:`<div class="row-details__item">\n <div class="row-details__label">${o}</div>\n ${Ed(i)}\n </div>`}).join("\n")}\n</div>\n `)(t,e);switch(!0){case i instanceof HTMLTemplateElement:return i;case"string"==typeof i:return Object.assign(document.createElement("template"),{innerHTML:i});default:throw new Error("rowDetailsRenderer should return a string or a template")}}forwardSelectedItemsChange(){this.baseElement.addEventListener("selected-items-changed",t=>{this.dispatchEvent(new CustomEvent("selected-items-changed",{bubbles:!0,composed:!0,detail:t.detail}))})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"columns"===t&&this.setColumnsDataFromAttr()}handleColumns(){this.columnsAttr?this.setColumnsDataFromAttr():this.children.length&&this.setColumnsFromChildren()}setColumnsFromChildren(){this.#Ht=Array.from(this.children).map(t=>({path:t.getAttribute("path"),header:t.getAttribute("header"),type:t.localName.match("^descope-grid-(\\w+)-column$")?.[1]||"text",attrs:["frozen","resizable","auto-width","status"].reduce((e,i)=>{const o=t.getAttribute(i);return o&&(e[i]=o),e},{})}))}get columnsAttr(){return this.getAttribute("columns")}setColumnsDataFromAttr(){try{const t=JSON.parse(this.columnsAttr);Cd(t)&&(this.columns=t)}catch(t){console.error('could not parse data string from attribute "columns" -',t.message)}}#$t=({path:t,header:e,type:i,attrs:o})=>{const n=`descope-grid-${i}-column`;return`<${n} header="${e}" path="${t}" ${Object.entries(o).map(([t,e])=>`${t}="${e}"`).join(" ")}></${n}>`};get renderColumn(){return this.#$t}set renderColumn(t){this.#$t=t,this.renderColumns()}getColumnsTemplate(){return this.#Ht?.reduce?.((t,e)=>t+(this.renderColumn?.(e||{})||""),"")}reassignRowDetailsRenderer(){this.baseElement.rowDetailsRenderer=null,setTimeout(()=>{this.baseElement.rowDetailsRenderer=this.#Jt.bind(this)},0)}renderColumns(){const t=this.getColumnsTemplate();t&&(this.reassignRowDetailsRenderer(),this.innerHTML=t)}get grid(){return this.shadowRoot.querySelector("vaadin-grid")}get data(){return this.grid.items}set data(t){if(Cd(t)&&this.grid.items!==t&&(this.grid.items=t,this.grid.selectedItems)){const t=new Set(this.grid.items.map(t=>t[this.uniqueColumnId]??t)),e=this.grid.selectedItems.filter(e=>t.has(e[this.uniqueColumnId]??e));this.grid.selectedItems.length!==e.length&&(this.grid.selectedItems=e)}}get columns(){return this.#Ht}set columns(t){this.#Ht=t,this.renderColumns()}get paths(){return this.columns.map(t=>t.path)}get uniqueColumnId(){return this.getAttribute("unique-column-id")}})(qe({delegatesFocus:!1,slots:[""],wrappedEleName:"vaadin-grid",style:()=>`\n /*css*/\n vaadin-grid {\n overflow: hidden;\n height: 100%;\n min-height: 300px;\n }\n vaadin-grid-cell-content {\n display: flex;\n }\n vaadin-grid::part(selected-row-cell) {\n background-image: none;\n box-shadow: none;\n background-color: inherit;\n }\n vaadin-grid::part(details-cell) {\n border-top-style: dashed;\n border-top-width: 1px;\n }\n vaadin-grid .row-details {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(max(200px, calc(100%/4 - var(${Xd.cssVarList.detailsPanelItemsGap}))), 1fr));\n width: 100%;\n }\n vaadin-grid .row-details__item:has(.row-details__value.code) {\n grid-column: 1 / -1;\n order: 2;\n }\n vaadin-grid details.row-details__item {\n padding: 0;\n }\n vaadin-grid details.row-details__item > summary.row-details__label {\n cursor: pointer;\n list-style: revert;\n display: revert;\n }\n vaadin-grid .row-details__value.text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n }\n vaadin-grid .row-details__value.code {\n margin-top: 5px;\n overflow-x: auto;\n font-size: 0.85em;\n }\n vaadin-grid vaadin-icon.toggle-details-button {\n margin: auto;\n }\n /*!css*/\n\t\t`,excludeAttrsSync:["columns","tabindex","style"],componentName:kd}));customElements.define(kd,Xd);const Kd=Xt("modal"),tc=["opened"],ec=Zt(Pe({mappings:{overlayBackdropColor:{property:()=>ec.cssVarList.overlay.backdropColor},overlayBackgroundColor:{property:()=>ec.cssVarList.overlay.backgroundColor},overlayShadow:{property:()=>ec.cssVarList.overlay.shadow},overlayWidth:{property:()=>ec.cssVarList.overlay.width},overlayBorderWidth:{property:()=>ec.cssVarList.overlay.borderWidth},overlayBorderStyle:{property:()=>ec.cssVarList.overlay.borderStyle},overlayBorderColor:{property:()=>ec.cssVarList.overlay.borderColor},overlayBorderRadius:{property:()=>ec.cssVarList.overlay.borderRadius}}}),ri({name:"overlay",selector:"",mappings:{hostDisplay:{selector:()=>":host(.descope-modal)",property:"display",important:!0},backgroundColor:[{selector:()=>"::part(content)",property:"background-color"},{selector:()=>"::part(overlay)",property:"background-color"}],backdropColor:{selector:()=>"::part(backdrop)",property:"background-color"},borderStyle:{selector:()=>"::part(content)",property:"border-style"},borderWidth:{selector:()=>"::part(content)",property:"border-width"},borderColor:{selector:()=>"::part(content)",property:"border-color"},borderRadius:{selector:()=>"::part(content)",property:"border-radius "},width:{selector:()=>"::part(overlay)",property:"width"},shadow:{selector:()=>"::part(overlay)",property:"box-shadow"}},forward:{include:!1,attributes:["opened","style"]}}),Be,Ze,t=>class extends t{static get observedAttributes(){return[].concat(t.observedAttributes||[],tc)}get opened(){return"true"===this.getAttribute("opened")}handleOpened(){this.opened?this.style.display="":this.style.display="none"}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"opened"===t&&this.handleOpened()}init(){super.init?.(),this.style.display="none",setTimeout(()=>{this.baseElement.shadowRoot.querySelector("vaadin-dialog-overlay").appendChild(document.createElement("slot")),this.#it(),te(this,this.baseElement,{includeAttrs:["opened"]}),this.handleOpened()})}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-dialog-overlay");t._attachOverlay=()=>{t.bringToFront(),f("\n :host {\n display: flex!important;\n }\n ",this.baseElement)},t._detachOverlay=()=>{this.baseElement.style.display="none"},t._enterModalState=()=>{},t.close=()=>!1}})(qe({slots:[""],wrappedEleName:"vaadin-dialog",style:()=>"\n vaaadin-dialog {\n display: flex!important;\n }\n ",excludeAttrsSync:["tabindex","opened","style"],componentName:Kd}));customElements.define(Kd,ec);const ic=window.customElements.get("vaadin-notification-container");if(!ic)throw new Error("could not get vaadin-notification-container class");customElements.define(Xt("notification-container"),class extends ic{});const oc=Xt("notification-card"),nc={content:()=>"vaadin-notification-card::part(content)",overlay:()=>"vaadin-notification-card::part(overlay)"},rc=Zt(Pe({mappings:{hostMinWidth:{selector:nc.content,property:"min-width"},fontFamily:{},fontSize:{},backgroundColor:{selector:nc.content},textColor:{property:"color"},boxShadow:{},borderWidth:{selector:nc.content,property:"border-width"},borderColor:{selector:nc.content,property:"border-color"},borderStyle:{selector:nc.content,property:"border-style"},borderRadius:[{selector:nc.content,property:"border-radius"},{selector:nc.overlay,property:"border-radius"}],verticalPadding:[{selector:nc.content,property:"padding-top"},{selector:nc.content,property:"padding-bottom"}],horizontalPadding:[{selector:nc.content,property:"padding-right"},{selector:nc.content,property:"padding-left"}]}}),t=>class extends t{close(){this.baseElement.addEventListener("animationend",()=>{this.remove(),this.dispatchEvent(new Event("card-closed"))}),this.setAttribute("opened","false")}constructor(){super(),this.baseElement.innerHTML='\n <div part="root">\n <div part="content">\n <slot></slot>\n </div>\n <div part="close">\n <slot name="close"></slot>\n </div>\n </div>\n ',this.closeEle=this.shadowRoot.querySelector('[part="close"]')}init(){super.init?.(),this.closeEle.onclick=()=>{this.close()}}})(qe({slots:[],wrappedEleName:"vaadin-notification-card",style:()=>'\n vaadin-notification-card {\n box-shadow: none;\n }\n ::part(overlay) {\n box-shadow: none;\n background: none;\n }\n\n [part="close"] {\n cursor: pointer;\n display: flex;\n }\n\n [part="content"] {\n display: flex;\n align-items: center;\n flex-grow: 1;\n }\n\n [part="root"] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n ',excludeAttrsSync:["tabindex","style"],componentName:oc}));customElements.define(oc,rc);const sc=Xt("notification"),ac=Zt(Be,Ze,Ge,t=>class e extends t{#_t;constructor(){super();const t=this;Object.defineProperty(this.baseElement,"_container",{get:()=>(e._container||(e._container=document.createElement("descope-notification-container"),e._container.style.position="absolute",document.body.appendChild(e._container)),e._container.isConnected||setTimeout(()=>t.parentNode.appendChild(e._container)),e._container)}),Object.defineProperty(this.baseElement,"_card",{get:()=>t.#_t}),this.baseElement._removeNotificationCard=this.close.bind(this)}close(){this.#_t.close()}init(){super.init?.(),this.createCard(),te(this,this.#_t),qt(this.#_t,this,{includeAttrs:["opened"]}),this.baseElement.renderer=t=>{Array.from(this.childNodes).forEach(e=>t.appendChild(e))}}get isContainerEmpty(){return!e._container.children.length}removeContainer(){e._container.remove()}removeNotification(){this.remove(),this.isContainerEmpty&&this.removeContainer()}createCard(){this.#_t=document.createElement("descope-notification-card"),this.#_t.addEventListener("card-closed",this.removeNotification.bind(this))}})(qe({wrappedEleName:"vaadin-notification",excludeAttrsSync:["tabindex","style"],componentName:sc}));customElements.define(sc,ac);const lc=Xt("mappings-field-internal"),dc=ci({componentName:lc,baseSelector:"div"}),cc=Xt("mappings-field"),{host:uc,helperText:pc,errorMessage:hc,mappingItem:gc,labels:Mc,labelsText:mc,valueLabel:yc,attrLabel:bc,separator:Nc,labelsContainer:Ic}={host:{selector:()=>":host"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},mappingItem:{selector:"descope-mapping-item::part(wrapper)"},labels:{selector:'descope-mappings-field-internal [part="labels"] descope-text'},labelsText:{selector:'descope-mappings-field-internal [part="labels"] descope-text::part(text-wrapper)'},valueLabel:{selector:'descope-mappings-field-internal [part="labels"] [part="value-label"]'},attrLabel:{selector:'descope-mappings-field-internal [part="labels"] [part="attr-label"]'},separator:{selector:"descope-mapping-item::part(separator)"},labelsContainer:{selector:'descope-mappings-field-internal [part="labels"]'}},xc=Zt(Pe({mappings:{hostWidth:{...uc,property:"width"},hostDirection:{...uc,property:"direction"},fontSize:[{},uc,{...Nc,property:"margin-top"}],fontFamily:[pc,hc,Mc],separatorFontSize:{...Nc,property:"font-size"},labelsFontSize:{...mc,property:"font-size"},labelsLineHeight:[{...mc,property:"line-height"},{...Mc,property:"line-height"}],labelTextColor:[{...Mc,property:Li.cssVarList.textColor},{...Nc,property:"color"}],itemMarginBottom:{...gc,property:"margin-bottom"},valueLabelMinWidth:{...yc,property:"min-width"},attrLabelMinWidth:{...bc,property:"min-width"},labelsMarginBottom:{...Ic,property:"margin-bottom"},separatorWidth:{},removeButtonWidth:{}}}),Be,ni({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),Ze,t=>class extends t{get defaultValues(){const t=this.getAttribute("default-values");if(t)try{return JSON.parse(t)}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}setDefaultValues(){const t=this.defaultValues;Object.keys(t).length>0&&(this.inputElement.value=t)}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${lc}\n tabindex="-1"\n ></${lc}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(lc),te(this,this.inputElement,{includeAttrs:["size","full-width","label-value","label-attr","button-label","separator","options","default-values","invalid","readonly","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),qt(this,this.inputElement,{includeAttrs:["invalid"]}),this.setDefaultValues()}})(qe({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-mappings-field-internal [part="labels"] {\n display: none;\n grid-template-columns: 1fr var(${xc.cssVarList.separatorWidth}) 1fr var(${xc.cssVarList.removeButtonWidth});\n }\n\n descope-mappings-field-internal [part="labels"] [part="value-label"],\n descope-mappings-field-internal [part="labels"] [part="attr-label"] {\n ${Li.cssVarList.fontWeight}: 500;\n }\n\n descope-mappings-field-internal [part="labels"] [part="value-label"] {\n grid-column: 1 / span 1;\n }\n\n descope-mappings-field-internal [part="labels"] [part="attr-label"] {\n grid-column: 3 / span 1;\n }\n\n descope-mapping-item::part(wrapper) {\n display: grid;\n grid-template-columns: 1fr var(${xc.cssVarList.separatorWidth}) 1fr var(${xc.cssVarList.removeButtonWidth});\n }\n `,excludeAttrsSync:["tabindex","label-value","label-attr","button-label","options","error-message","style"],componentName:cc}));customElements.define(lc,class extends dc{#qt;static get observedAttributes(){return[].concat(dc.observedAttributes||[],["label-value","label-attr","button-label","invalid","readonly","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"])}isValidDataType(t){try{return t.every(t=>"object"==typeof t&&!Array.isArray(t)&&1===Object.getOwnPropertyNames(t).length&&"string"==typeof t[Object.keys(t)[0]]&&""!==t[Object.keys(t)[0]].trim())}catch(t){return!1}}get labelValue(){return this.getAttribute("label-value")||"Value"}get labelAttr(){return this.getAttribute("label-attr")||"Attribute"}get buttonLabel(){return this.getAttribute("button-label")||"Add mapping"}get options(){return this.getAttribute("options")||[]}addNewMappingItem(t){const e=document.createElement("descope-mapping-item");return e.setAttribute("bordered","true"),this.mappingsContainerEle.appendChild(e),te(this,e,{includeAttrs:["size","full-width","separator","options","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),setTimeout(()=>{this.setCustomValidity(""),e.addEventListener("mapping-item-removed",()=>{e===this.#qt&&(this.resetInvalidIndication(),this.#qt=void 0),e.remove(),this.setCustomValidity("")}),this.dispatchEvent(new CustomEvent("mapping-item-added",{bubbles:!0,composed:!0})),t&&e.focus()},0),e}get items(){return Array.from(this.mappingsContainerEle.querySelectorAll("descope-mapping-item"))}get value(){return this.items.reduce((t,e)=>e.value?[...t,e.value]:t,[])}set value(t){if(!this.isValidDataType(t))return void console.error("received invalid value to set - should be an array of objects with one key-value pair");const e=this.items;if(e.length>t.length)for(let i=t.length;i<e.length;i++)this.mappingsContainerEle.removeChild(e[i]);t.forEach((t,i)=>{const o=e[i];if(o)o.value=t;else{const e=this.addNewMappingItem(!1);setTimeout(()=>{e.value=t},0)}})}constructor(){super(),this.innerHTML='\n <div class="labels-container" part="labels"></div>\n <div class="mappings-container"></div>\n <div class="button-container"></div>\n ',this.labelsEle=this.querySelector(".labels-container"),this.mappingsContainerEle=this.querySelector(".mappings-container"),this.buttonContainer=this.querySelector(".button-container")}initLabels(){this.labelsEle.innerHTML=`\n <descope-text variant="body2" part="value-label">${this.labelValue}</descope-text>\n <descope-text variant="body2" part="attr-label">${this.labelAttr}</descope-text>\n `}initAddButton(){this.buttonContainer.innerHTML=`\n <descope-button variant="link" mode="primary" disabled="${this.isDisabled}">\n <vaadin-icon icon="vaadin:plus"></vaadin-icon>\n ${this.buttonLabel}\n </descope-button>\n `;const t=this.querySelector("descope-button");t.onclick=()=>{this.addNewMappingItem(!0)},te(this,t,{includeAttrs:["disabled"]})}#Xt(){this.labelsEle.style.display=this.items.length?"grid":"none"}init(){this.addEventListener("focus",t=>{t.isTrusted&&(this.#qt||this.items[0]||this.querySelector("descope-button")).focus()}),super.init?.(),this.initLabels(),this.initAddButton(),this.addEventListener("input",()=>{this.mappingsContainerEle.contains(this.#qt)&&this.#qt?.checkValidity()&&(this.resetInvalidIndication(),this.#qt.removeAttribute("invalid"),this.#qt=void 0)}),$t(this.mappingsContainerEle,this.#Xt.bind(this))}resetInvalidIndication(){this.removeAttribute("invalid")}getValidity(){const t=this.items.find(t=>!t.checkValidity());return t?t.validity:{}}#Kt(t){t&&(this.#qt=this.items.find(t=>!t.checkValidity()),this.#qt?.reportValidity(),this.#qt?.setAttribute("invalid","true"))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"label-value"!==t&&"label-attr"!==t||this.initLabels(),"button-label"===t&&this.initAddButton(),"invalid"===t&&this.#Kt("true"===i),"readonly"===t&&this.toggleAttribute("inert","true"===i)}});const jc=Xt("mapping-item"),Tc=["size","bordered","readonly","full-width","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],Dc=ci({componentName:jc,baseSelector:"div"});customElements.define(jc,class extends Dc{static get observedAttributes(){return[].concat(Dc.observedAttributes||[],Tc,["separator","options","invalid","disabled"])}get separator(){return this.getAttribute("separator")||"map to"}get value(){const t=this.attributeInput.value,e=this.valueInput.value;return t&&e?{[t]:e}:null}set value(t){if(1!==Object.entries(t).length)return void console.error("descope-mapping item expected expects only one key-value pair in the value but received: ",t);const[e,i]=Object.entries(t)[0];this.valueInput.value=i,this.attributeInput.value=e,this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <div class="wrapper" part="wrapper">\n <descope-text-field required="true"></descope-text-field>\n <div class="separator" part="separator">${this.separator}</div>\n <descope-combo-box\n item-label-path="data-name"\n item-value-path="data-id"\n required="true"\n >\n </descope-combo-box>\n <descope-button variant="link" mode="primary">\n <vaadin-icon icon="vaadin:minus"></vaadin-icon>\n </descope-button>\n </div>\n\t`,f("\n .wrapper {\n display: flex;\n }\n .separator {\n text-align: center;\n flex-shrink: 0;\n }\n ",this),this.valueInput=this.shadowRoot.querySelector("descope-text-field"),this.attributeInput=this.shadowRoot.querySelector("descope-combo-box"),this.inputs=[this.valueInput,this.attributeInput],this.removeButton=this.shadowRoot.querySelector("descope-button"),te(this,this.valueInput,{includeAttrs:Tc}),te(this,this.attributeInput,{includeAttrs:[...Tc,"options"],mapAttrs:{options:"data"}}),te(this,this.removeButton,{includeAttrs:["disabled"]})}initRemoveButton(){this.removeButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("mapping-item-removed",{bubbles:!0,composed:!0})))}init(){super.init?.(),this.initRemoveButton()}getValidity(){const t=this.attributeInput.value,e=this.valueInput.value;return t&&e?{}:{badInput:!0}}reportValidity(){this.inputs.forEach(t=>t.reportValidity())}focus(){(this.checkValidity()||!this.valueInput.checkValidity()?this.valueInput:this.attributeInput).focus()}handleSeparatorChange(){this.shadowRoot.querySelector(".separator").textContent=this.separator}#te(t){"true"===t&&(this.valueInput.value||(this.valueInput.setAttribute("invalid","true"),this.valueInput.setAttribute("error-message",this.defaultErrorMsgValueMissing)),this.attributeInput.value||(this.attributeInput.setAttribute("invalid","true"),this.attributeInput.setAttribute("error-message",this.defaultErrorMsgValueMissing)))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"separator"===t&&this.handleSeparatorChange(),"invalid"===t&&this.#te(i)}}),customElements.define(cc,xc);const zc=L("badge");class vc extends(yt({componentName:zc,baseSelector:":host > div"})){static get observedAttributes(){return["data-attachment-size","shrink-to-indicator-threshold"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div>\n <slot></slot>\n\t\t</div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n :host > div {\n position: relative;\n width: 100%;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n ",this)}get shrinkToIndicatorThreshold(){return this.getAttribute("shrink-to-indicator-threshold")||65}#ee(t){this.toggleAttribute("shrink-to-indicator",parseFloat(t)<this.shrinkToIndicatorThreshold)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"data-attachment-size"===t&&e!==i&&this.#ee(i)}}const Cc=T(ct({mappings:{hostWidth:[{selector:()=>":host",property:"width"}],hostHeight:[{selector:()=>":host",property:"height"}],hostDirection:{property:"direction"},fontFamily:{},fontSize:{},fontWeight:{},textTransform:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],borderWidth:{},borderStyle:{},borderColor:{},borderRadius:{},backgroundColor:{},textColor:{property:"color"},textAlign:{},boxShadow:{},textIndent:{}}}),ut,pt)(vc),Sc=Xt("user-attribute");class Lc extends($e({componentName:Sc,baseSelector:":host > .root"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="root">\n <descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="secondary" class="label"></descope-text>\n <div class="content-wrapper">\n <descope-text st-text-align="auto" data-id="value-text" variant="body1" mode="primary" class="value"></descope-text>\n <div class="btn-wrapper">\n <descope-badge mode="default" bordered="true" size="xs"></descope-badge>\n <descope-button size="sm" data-id="delete-btn" variant="link" mode="primary">\n <slot name="delete-icon"></slot>\n </descope-button>\n <descope-button size="sm" data-id="edit-btn" variant="link" mode="primary">\n <slot name="edit-icon"></slot>\n </descope-button>\n </div>\n </div>\n </div>\n\t\t',f(`\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n container-type: inline-size;\n\t\t\t\t}\n\n .root {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n }\n\n ::slotted(*) {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n @container (max-width: 529px) {\n .root {\n flex-wrap: wrap;\n }\n }\n\n .btn-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 0;\n flex-shrink: 0;\n }\n\n slot[name="edit-icon"],\n slot[name="delete-icon"] {\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n }\n\n .content-wrapper {\n display: flex;\n flex-grow: 1;\n align-items: center;\n }\n\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: initial;\n }\n\n descope-text {\n display: inline-flex;\n max-width: 100%;\n min-width: 0;\n }\n\n .label {\n flex-grow: 1;\n width: 100%;\n }\n\n .value {\n flex-grow: 1;\n }\n\n descope-badge {\n margin-inline-end: 10px;\n }\n\n .hidden {\n visibility: hidden;\n width: 0;\n }\n\n descope-text[data-id="label-text"].required:after {\n content: '*';\n color: var(${Li.cssVarList.textColor});\n }\n\n :host([readonly="true"]) descope-button {\n visibility: hidden;\n width: 0;\n }\n `,this),this.deleteButton=this.shadowRoot.querySelector('descope-button[data-id="delete-btn"]'),this.editButton=this.shadowRoot.querySelector('descope-button[data-id="edit-btn"]'),this.badge=this.shadowRoot.querySelector("descope-badge"),this.labelText=this.shadowRoot.querySelector('descope-text[data-id="label-text"]'),this.valueText=this.shadowRoot.querySelector('descope-text[data-id="value-text"]')}onLabelChange(){this.labelText.innerText=this.label,this.labelText.setAttribute("title",this.label)}onValueOrPlaceholderChange(){const t=this.value||this.placeholder,e=this.value?"primary":"secondary";this.valueText.innerText=t,this.valueText.setAttribute("title",t),this.valueText.setAttribute("mode",e)}onBadgeLabelChange(){this.badgeLabel?(this.badge.innerText=this.badgeLabel,this.badge.style.display=""):this.badge.style.display="none"}onBadgeTooltipTextChange(){this.badge.setAttribute("title",this.badgeTooltipText||this.badgeLabel)}updateButtonLabel(t,e){let i=t.querySelector("span.btn-label");e?(i||(i=document.createElement("span"),i.classList.add("btn-label"),t.appendChild(i)),i.innerText=e):i?.remove()}onIsRequiredChange(){this.labelText.classList.toggle("required",this.isRequired)}get label(){return this.getAttribute("label")||""}get value(){return this.getAttribute("value")||""}get placeholder(){return this.getAttribute("placeholder")||""}get isRequired(){return"true"===this.getAttribute("required")}get badgeLabel(){return this.getAttribute("badge-label")||""}get badgeTooltipText(){return this.getAttribute("badge-tooltip-text")||""}get editButtonLabel(){return this.getAttribute("edit-button-label")||""}get deleteButtonLabel(){return this.getAttribute("delete-button-label")||""}get isDeleteHidden(){return"true"===this.getAttribute("hide-delete")}init(){this.onLabelChange(),this.onValueOrPlaceholderChange(),this.onIsRequiredChange(),this.onBadgeLabelChange(),this.onBadgeTooltipTextChange(),this.updateButtonLabel(this.editButton,this.editButtonLabel),this.updateButtonLabel(this.deleteButton,this.deleteButtonLabel),this.handleDeleteButtonVisibility(),this.deleteButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("delete-clicked",{bubbles:!0,composed:!0}))),this.editButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("edit-clicked",{bubbles:!0,composed:!0}))),this.setDefaultChildren()}#ie(t,e){const i=document.createElement("descope-icon");i.setAttribute("src",t),i.setAttribute("src-dark",t),i.setAttribute("slot",e),this.appendChild(i)}setDefaultChildren(){this.children.length||(this.#ie("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMSAxNkMxIDE3LjEgMS45IDE4IDMgMThIMTFDMTIuMSAxOCAxMyAxNy4xIDEzIDE2VjRIMVYxNlpNMyA2SDExVjE2SDNWNlpNMTAuNSAxTDkuNSAwSDQuNUwzLjUgMUgwVjNIMTRWMUgxMC41WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPg==","delete-icon"),this.#ie("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuMDAwMiAwLjk5MjE0OUMxMC4wMDAyIDEuMDE2MTUgMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNUw4LjIyNDE5IDMuMDA4MTVIMi45OTIxOUMyLjQ2NDE5IDMuMDA4MTUgMi4wMDgxOSAzLjQ0MDE1IDIuMDA4MTkgMy45OTIxNVYxMi4wMDgyQzIuMDA4MTkgMTIuNTM2MiAyLjQ0MDE5IDEyLjk5MjIgMi45OTIxOSAxMi45OTIySDUuNTM2MTlDNS44NDgxOS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nPgo=","edit-icon"))}static get observedAttributes(){return["label","value","placeholder","required","badge-label","badge-tooltip-text","edit-button-label","delete-button-label","hide-delete"].concat(super.observedAttributes)}handleDeleteButtonVisibility(){this.deleteButton.classList.toggle("hidden",this.isRequired||!this.value||this.isDeleteHidden)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"value"===t||"placeholder"===t?this.onValueOrPlaceholderChange():"required"===t?this.onIsRequiredChange():"badge-label"===t?this.onBadgeLabelChange():"badge-tooltip-text"===t?this.onBadgeTooltipTextChange():"edit-button-label"===t?this.updateButtonLabel(this.editButton,this.editButtonLabel):"delete-button-label"===t&&this.updateButtonLabel(this.deleteButton,this.deleteButtonLabel),"value"!==t&&"required"!==t&&"hide-delete"!==t||this.handleDeleteButtonVisibility())}}const{host:Ac,textFields:wc,buttons:fc,badge:Ec,labelText:kc,contentWrapper:Oc}={host:{selector:()=>":host"},textFields:{selector:"descope-text"},labelText:{selector:'descope-text[data-id="label-text"]'},buttons:{selector:"descope-button"},badge:{selector:"descope-badge"},contentWrapper:{selector:" .content-wrapper"}},Vc=Zt(Pe({mappings:{hostWidth:{...Ac,property:"width"},hostMinWidth:{...Ac,property:"min-width"},hostMaxWidth:{...Ac,property:"max-width"},hostDirection:[{...Ac,property:"direction"},{...wc,property:Li.cssVarList.hostDirection},{...fc,property:ko.cssVarList.hostDirection},{...Ec,property:Cc.cssVarList.hostDirection}],labelMinWidth:{...kc,property:"min-width"},contentMinWidth:{...Oc,property:"min-width"},badgeMaxWidth:{...Ec,property:"max-width"},itemsGap:[{property:"gap"},{...Oc,property:"gap"}],iconColor:[{selector:()=>"::slotted(*)",property:So.cssVarList.fill}]}}),Be,Ze)(Lc);customElements.define(zc,Cc),customElements.define(Sc,Vc);const Uc=Xt("user-auth-method");class Yc extends($e({componentName:Uc,baseSelector:":host > .root"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="root">\n <div class="text-wrapper">\n <slot name="method-icon"></slot>\n <descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>\n </div>\n\n <div class="btn-wrapper">\n <descope-button class="btn unfulfilled hidden" size="sm" variant="link" mode="primary">\n <slot name="button-icon"></slot>\n </descope-button>\n <descope-button class="btn fulfilled hidden" size="sm" variant="link" mode="primary">\n <slot name="fulfilled-button-icon"></slot>\n </descope-button>\n <div class="status-indicator hidden">\n <vaadin-icon src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==></vaadin-icon>\n </div>\n <descope-button class="hidden-btn" size="sm" variant="link" mode="primary"></descope-button>\n </div>\n </div>\n\t\t',f('\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n vaadin-icon {\n color: currentcolor;\n }\n\n .root {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n }\n\n .btn-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 0;\n }\n\n .text-wrapper {\n display: flex;\n align-items: center;\n flex-grow: 1;\n min-width: 0;\n }\n\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: initial;\n }\n\n descope-text {\n display: inline-flex;\n min-width: 0;\n }\n\n .status-indicator {\n width: 1em;\n height: 1em;\n display: flex;\n align-items: center;\n padding-inline-end: 1em;\n }\n\n .hidden {\n display: none;\n }\n\n .hidden-btn {\n width: 0;\n overflow: hidden;\n opacity: 0;\n pointer-events: none;\n }\n\n slot[name="method-icon"]:not(:empty) {\n display: inline-flex;\n align-items: center;\n }\n ',this),this.unfulfilledButton=this.shadowRoot.querySelector(".btn.unfulfilled"),this.fulfilledButton=this.shadowRoot.querySelector(".btn.fulfilled"),this.statusIndicator=this.shadowRoot.querySelector(".status-indicator"),this.labelText=this.shadowRoot.querySelector('descope-text[data-id="label-text"]')}onLabelChange(){this.labelText.innerText=this.label,this.labelText.setAttribute("title",this.label)}updateButtonLabel(t,e){let i=t.querySelector("span");e?(i||(i=document.createElement("span"),t.appendChild(i)),i.innerText=e):i&&t.removeChild(i)}onFulfilledChange(){this.isFulfilled?(this.unfulfilledButton.classList.add("hidden"),this.handleFulfilled()):(this.fulfilledButton.classList.add("hidden"),this.handleUnfulfilled())}handleFulfilled(){this.fulfilledButton.classList.toggle("hidden",!this.isFulfilledEditable),this.statusIndicator.classList.toggle("hidden",this.isFulfilledEditable)}handleUnfulfilled(){this.unfulfilledButton.classList.toggle("hidden",!this.isUnfulfilledEditable),this.statusIndicator.classList.toggle("hidden",this.isUnfulfilledEditable)}get label(){return this.getAttribute("label")||""}get unfulfilledButtonLabel(){return this.getAttribute("button-label")||""}get fulfilledButtonLabel(){return this.getAttribute("fulfilled-button-label")||""}get isFulfilled(){return"true"===this.getAttribute("fulfilled")}get isFulfilledEditable(){return"true"===this.getAttribute("fulfilled-editable")}get isUnfulfilledEditable(){return"false"!==this.getAttribute("unfulfilled-editable")}init(){this.onLabelChange(),this.updateButtonLabel(this.fulfilledButton,this.fulfilledButtonLabel),this.updateButtonLabel(this.unfulfilledButton,this.unfulfilledButtonLabel),this.onFulfilledChange(),this.unfulfilledButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("button-clicked",{bubbles:!0,composed:!0}))),this.fulfilledButton.addEventListener("click",()=>{this.dispatchEvent(new CustomEvent("fulfilled-button-clicked",{bubbles:!0,composed:!0}))})}static get observedAttributes(){return["label","fulfilled","button-label","fulfilled-button-label","fulfilled-editable","unfulfilled-editable"].concat(super.observedAttributes)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"fulfilled"===t?this.onFulfilledChange():"button-label"===t?this.updateButtonLabel(this.unfulfilledButton,this.unfulfilledButtonLabel):"fulfilled-button-label"===t?this.updateButtonLabel(this.fulfilledButton,this.fulfilledButtonLabel):"fulfilled-editable"===t&&this.isFulfilled?this.handleFulfilled():"unfulfilled-editable"!==t||this.isFulfilled||this.handleUnfulfilled())}}const{host:Wc,textField:Rc,buttons:Qc,badge:Pc,textWrapper:Bc,methodIconSlot:Zc}={host:{selector:()=>":host"},textField:{selector:"descope-text"},buttons:{selector:"descope-button"},badge:{selector:"descope-badge"},textWrapper:{selector:" .text-wrapper"},methodIconSlot:{selector:'slot[name="method-icon"]:not(:empty)'}},Fc=Zt(Pe({mappings:{hostWidth:{...Wc,property:"width"},hostMinWidth:{...Wc,property:"min-width"},hostMaxWidth:{...Wc,property:"max-width"},hostDirection:[{...Wc,property:"direction"},{...Rc,property:Li.cssVarList.hostDirection},{...Qc,property:ko.cssVarList.hostDirection},{...Pc,property:Cc.cssVarList.hostDirection}],itemsGap:[{property:"gap"},{...Bc,property:"gap"}],iconSize:[{...Zc,property:"width"},{...Zc,property:"height"}],iconColor:[{selector:()=>"::slotted(*)",property:So.cssVarList.fill}]}}),Be,Ze)(Yc);customElements.define(Uc,Fc);const Gc=Xt("saml-group-mappings-internal"),Hc=ci({componentName:Gc,baseSelector:""}),Jc=Xt("saml-group-mappings"),{host:$c,groupInput:_c,errorMessage:qc}={host:{selector:()=>":host"},groupInput:{selector:"descope-text-field"},errorMessage:{selector:"::part(error-message)"}},Xc=Zt(Pe({mappings:{hostWidth:{...$c,property:"width"},hostDirection:{...$c,property:"direction"},groupNameInputMarginBottom:{..._c,property:"margin-bottom"},errorMessageIcon:{...qc,property:"background-image"},errorMessageIconSize:{...qc,property:"background-size"},errorMessageIconPadding:{...qc,property:"padding-inline-start"},errorMessageIconRepeat:{...qc,property:"background-repeat"},errorMessageIconPosition:{...qc,property:"background-position"},errorMessageFontSize:{...qc,property:"font-size"}}}),Be,ni({proxyProps:["value","selectionStart"],inputEvent:"input",triggerValidationEvents:["mapping-item-added","mapping-item-removed"],proxyParentValidation:!0}),Ze,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${Gc}\n tabindex="-1"\n ></${Gc}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Gc),te(this,this.inputElement,{includeAttrs:["size","full-width","label-group","label-value","label-attr","button-label","separator","options","readonly","disabled"]}),qt(this,this.inputElement,{includeAttrs:["invalid"]})}})(qe({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>"\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-text-field {\n width: auto;\n }\n\n descope-mappings-field {\n display: block;\n }\n ",excludeAttrsSync:["tabindex","label-group","label-value","label-attr","button-label","separator","options","error-message","style"],componentName:Jc}));customElements.define(Gc,class extends Hc{static get observedAttributes(){return["invalid"].concat(Hc.observedAttributes||[])}constructor(){super(),this.innerHTML='\n <descope-text-field variant="body2" bordered="true"></descope-text-field>\n <descope-mappings-field></descope-mappings-field>\n ',this.groupInputElement=this.querySelector("descope-text-field"),this.mappingsElement=this.querySelector("descope-mappings-field")}resetInvalidIndication(){this.removeAttribute("invalid")}handleMappingsInvalidChange(t){t.includes("invalid")&&(this.mappingsElement.hasAttribute("invalid")||this.resetInvalidIndication())}initFocusHandler(){this.addEventListener("focus",t=>{t.isTrusted&&(this.mappingsElement.checkValidity()?this.groupInputElement:this.mappingsElement).focus()})}init(){this.initFocusHandler(),super.init?.(),te(this,this.groupInputElement,{mapAttrs:{"label-group":"label"},includeAttrs:["size","label-group","readonly","disabled"]}),te(this,this.mappingsElement,{includeAttrs:["size","full-width","label-value","label-attr","button-label","separator","options","readonly","disabled","data-errormessage-pattern-mismatch"]}),Jt(this.mappingsElement,this.handleMappingsInvalidChange.bind(this),{includeAttrs:["invalid"]})}get value(){return{group:this.groupInputElement.value,mappings:this.mappingsElement.value}}set value(t){t?.group&&"string"==typeof t.group&&(this.groupInputElement.value=t.group),Array.isArray(t?.mappings)&&(this.mappingsElement.value=t.mappings)}getValidity(){return this.groupInputElement.checkValidity()?this.mappingsElement.checkValidity()?{}:this.mappingsElement.validity:this.groupInputElement.validity}#oe(t){if(t){if(!this.groupInputElement.checkValidity())return void this.groupInputElement.setAttribute("invalid","true");this.mappingsElement.checkValidity()||this.mappingsElement.setAttribute("invalid","true")}}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"invalid"===t&&this.#oe("true"===i)}}),customElements.define(Jc,Xc);const Kc=Xt("radio-button"),tu=Zt(Pe({mappings:{cursor:[{},{selector:"label"}],fontSize:[{selector:"label"},{}],labelTextColor:{selector:"label",property:"color"},fontFamily:{selector:"label"},radioSize:[{selector:"::part(radio)",property:"height"},{selector:"::part(radio)",property:"width"}],radioBackgroundColor:{selector:"::part(radio)",property:"background-color"},radioMargin:{selector:"::part(radio)",property:"margin"},radioCheckedSize:{selector:"::part(radio)::after",property:"border-width"},radioCheckedColor:{selector:"::part(radio)::after",property:"border-color"},radioBorderColor:{selector:"::part(radio)",property:"border-color",fallback:"none"},radioBorderWidth:{selector:"::part(radio)",property:"border-width",fallback:0},radioBorderStyle:{selector:"::part(radio)",property:"border-style",fallback:"solid"}}}),ni({proxyProps:["setSelectionRange"]}),Ze,t=>class extends t{constructor(){super(),this.baseElement.checkValidity=()=>{}}init(){this.baseElement.addEventListener("checked-changed",t=>{this.dispatchEvent(new CustomEvent("checked-changed",{detail:t.detail},{bubbles:!0,composed:!0}))}),super.init?.(),$t(this,this.renderLabel.bind(this))}renderLabel(){this.baseElement.setAttribute("label",this.textContent)}get value(){return this.getAttribute("value")}})(qe({slots:[""],wrappedEleName:"vaadin-radio-button",excludeAttrsSync:["tabindex","data","style"],includeForwardProps:["checked","name","disabled"],componentName:Kc})),eu=Xt("radio-group"),iu=Zt(Pe({mappings:{...Jn,buttonsSpacing:{selector:"::part(group-field)",property:"justify-content"},buttonsRowGap:{selector:"::part(group-field)",property:"row-gap"},buttonsColumnGap:{selector:"::part(group-field)",property:"column-gap"},itemsLabelColor:{selector:()=>`::slotted(${tu.componentName})`,property:tu.cssVarList.labelTextColor}}}),Be,ni({proxyProps:["setSelectionRange"]}),Ze,t=>class extends t{#tt=({value:t,label:e})=>`<descope-radio-button value="${t}">${e}</descope-radio-button>`;#U;constructor(){super(),Object.defineProperty(this.baseElement,"children",{get:()=>this.querySelectorAll(Kc)}),this.baseElement.__filterRadioButtons=t=>t.filter(t=>t.localName===Kc),this.baseElement.setCustomValidity=()=>{}}get items(){return this.shadowRoot.querySelector("slot").assignedElements()}get size(){return this.getAttribute("size")}get data(){if(this.#U)return this.#U;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#U=t,this.renderItems())}get defaultValue(){return this.getAttribute("default-value")}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.#tt?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.inputElement=this.baseElement,this.renderItems(),Jt(this,this.renderItems.bind(this),{includeAttrs:["data"]}),Object.defineProperty(this.baseElement,"validity",{get:()=>({valueMissing:!this.baseElement.checkValidity()})}),te(this,this.baseElement,{includeAttrs:["layout"],mapAttrs:{layout:"theme"}}),setTimeout(()=>{this.defaultValue&&(this.value=this.defaultValue)}),$t(this,({addedNodes:t})=>{t.forEach(t=>{t.setAttribute("size",this.size)})}),Jt(this,()=>{this.items.forEach(t=>{t.setAttribute("size",this.size)})},{includeAttrs:["size"]})}})(qe({slots:["","prefix"],wrappedEleName:"vaadin-radio-group",style:()=>`\n :host {\n display: inline-block;\n max-width: 100%;\n box-sizing: border-box;\n }\n\n vaadin-radio-group {\n padding: 0;\n width: 100%;\n }\n\n ${xe("vaadin-radio-group")}\n `,excludeAttrsSync:["tabindex","size","data","direction","style"],componentName:eu,includeForwardProps:["value"]}));customElements.define(eu,iu),customElements.define(Kc,tu);const ou=()=>!0,nu=t=>`<pre>${JSON.stringify(t,null,4)}</pre>`,ru=Xt("scopes-list"),su=["checkbox","switch"];class au extends($e({componentName:ru,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}get isReadOnly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"sm"}#ne(){return Array.from(this.shadowRoot.querySelector("div").children)}reportValidity(){this.checkValidity()}checkValidity(){return this.data.every(t=>!t.required||this.value.includes(t.id))}get value(){return this.#ne().filter(t=>t.checked).map(t=>t.getAttribute("data-id"))}set value(t=[]){this.#ne().forEach(e=>{e.checked=t.includes(e.getAttribute("data-id"))})}get variant(){const t=this.getAttribute("variant");return su.includes(t)?t:su[0]}}const lu=Zt(Pe({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>zi.componentName,property:zi.cssVarList.hostDirection},{selector:()=>$i.componentName,property:$i.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"},requiredInputBorderColor:[{selector:`${zi.componentName}[required="true"]`,property:zi.cssVarList.inputBorderColor},{selector:`${$i.componentName}[required="true"]`,property:$i.cssVarList.inputBorderColor}],requiredInputValueTextColor:[{selector:`${zi.componentName}[required="true"]`,property:zi.cssVarList.inputValueTextColor},{selector:`${$i.componentName}[required="true"]`,property:$i.cssVarList.knobColor}]}}),(({itemRenderer:t=nu,validateSchema:e=ou,slotName:i,rerenderAttrsList:o=[]})=>n=>class extends n{#U=[];#W(t){if(!e)return!0;const i=e(t);return!0===i||(console.error("Data schema validation failed",i||""),!1)}#R(){const t=i?`*[slot="${i}"]`:":not([slot])";this.baseElement.querySelectorAll(t).forEach(t=>t.remove())}#Q(){this.#R(),this.data.forEach((e,i)=>{const o="string"==typeof(n=t(e,i,this))?(t=>{const e=document.createElement("template");return e.innerHTML=t,e})(n).content:n instanceof HTMLTemplateElement?n.content:(console.error("Invalid template",n),null);var n;this.baseElement.appendChild(o?.cloneNode(!0))})}set data(t){this.#W(t)&&(this.#U=t,this.#Q())}get data(){return this.#U}init(){super.init?.(),Jt(this,t=>{t.includes("data")?this.#P():this.#Q()},{includeAttrs:[...o,"data"]})}#P(){const t=this.getAttribute("data");if(t)try{this.data=JSON.parse(t)}catch(e){console.warn("Invalid JSON data",t)}}})({itemRenderer:({id:t,desc:e,required:i=!1},o,n)=>{const r="checkbox"===n.variant?zi:$i;return`\n <${r.componentName}\n bordered="true"\n size=${n.size}\n label="${e}"\n data-id="${t}"\n readonly="${i||n.isReadOnly}"\n required="${i}"\n checked="true"\n ></${r.componentName}>\n`},rerenderAttrsList:["size","variant"]}),Be,Ze)(au),du=L("list-item"),cu=T(ct({mappings:{verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],backgroundColor:{},borderColor:{},borderStyle:{},borderWidth:{},borderRadius:{},outline:{},cursor:{},gap:{},maxWidth:{selector:()=>":host"},alignItems:{},flexDirection:{},transition:{}}}),ut,pt,t=>class extends t{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <slot></slot>\n ",f("\n slot {\n width: 100%;\n display: flex;\n overflow: hidden;\n box-sizing: border-box;\n }\n :host {\n display: block;\n }\n ",this)}},t=>class extends t{init(){super.init?.(),this.baseElement.addEventListener("mousedown",t=>{t.preventDefault(),this.setAttribute("active","true"),window.addEventListener("mouseup",()=>this.removeAttribute("active"),{once:!0})})}})(yt({componentName:du,baseSelector:"slot"}));customElements.define(du,cu);const uu=L("list");class pu extends(yt({componentName:uu,baseSelector:".wrapper"})){static get observedAttributes(){return["variant","readonly"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <slot></slot>\n <slot name="empty-state">\n No item...\n </slot>\n </div>\n\t',f('\n .wrapper {\n overflow: auto;\n display: grid;\n max-height: 100%;\n width: 100%;\n }\n\n :host {\n display: inline-flex;\n width: 100%;\n }\n slot[name="empty-state"] {\n justify-content: center;\n align-items: center;\n display: flex;\n flex-grow: 1;\n }\n\n :host slot[name="empty-state"] {\n display: none;\n }\n :host([empty]) slot[name="empty-state"] {\n display: flex;\n }\n ::slotted(:not([slot])) {\n width: 100%;\n }\n ',this)}get items(){return this.shadowRoot.querySelector("slot").assignedElements()}#re(){0===this.items.length?this.setAttribute("empty","true"):this.removeAttribute("empty")}get variant(){return this.getAttribute("variant")||"list"}#se(){this.items.forEach(t=>{let e=t;e.localName!==cu.componentName&&(e=t.querySelector(cu.componentName));const i="tiles"===this.variant?"tile":"row";e?.setAttribute("variant",i)})}init(){super.init?.(),v(this,()=>{this.#re(),this.#se(),this.#ae()})}get isReadOnly(){return"true"===this.getAttribute("readonly")}#ae(){this.items.forEach(t=>{this.isReadOnly?t.setAttribute("inert",""):t.removeAttribute("inert")})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("variant"===t?this.#se():"readonly"===t&&this.#ae())}}const hu=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},maxHeight:{selector:()=>":host"},minHeight:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],hostDirection:{selector:()=>":host",property:"direction"},fontFamily:{},gap:{},backgroundColor:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{},gridTemplateColumns:{},maxItemsWidth:{selector:()=>"::slotted(:not([slot]))",property:"max-width"},minItemsWidth:{selector:()=>"::slotted(:not([slot]))",property:"min-width"},maxRowItems:{property:"max-row-items"},itemsHorizontalAlign:{selector:()=>"::slotted(*)",property:"justify-self"},emptyStateTextColor:{selector:()=>'slot[name="empty-state"]',property:"color"},emptyStateTextFontFamily:{selector:()=>'slot[name="empty-state"]',property:"font-family"}}}),ut,pt)(pu);customElements.define(uu,hu),customElements.define(ru,lu);const gu=Xt("third-party-app-logo");class Mu extends($e({componentName:gu,baseSelector:".wrapper"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t\t<div class="wrapper">\n <div class="third-party-app-logo-wrapper">\n <div class="third-party-app-logo"></div>\n </div>\n <div class="arrows">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K"></descope-icon>\n </div>\n <div class="company-logo-wrapper">\n <descope-logo st-height="100%"></descope-logo>\n </div>\n </div>\n\t\t\t',f('\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t:host([draggable="true"]) > div {\n\t\t\t\t\tpointer-events: none\n\t\t\t\t}\n\n .wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: max-content;\n }\n\n\t\t\t\t.third-party-app-logo {\n flex-shrink: 0;\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tmax-width: 100%;\n\t\t\t\t\tmax-height: 100%;\n\t\t\t\t\tobject-fit: contain;\n\t\t\t\t}\n\n .company-logo-wrapper, .third-party-app-logo-wrapper {\n flex-shrink: 0;\n display: inline-flex;\n }\n\n .company-logo-wrapper {\n justify-content: flex-end;\n }\n\n .third-party-app-logo-wrapper {\n justify-content: flex-start;\n }\n\n .arrows {\n flex-shrink: 0;\n display: flex;\n }\n ',this)}}const mu=">.company-logo-wrapper",yu=">.third-party-app-logo-wrapper",bu=Zt(Pe({mappings:{logoMaxHeight:[{selector:mu,property:"height"},{selector:yu,property:"height"}],logoMaxWidth:[{selector:mu,property:"max-width"},{selector:yu,property:"max-width"}],thirdPartyAppLogo:{selector:()=>".third-party-app-logo",property:"content",fallback:{}},companyLogoFallback:{selector:Dr.componentName,property:Dr.cssVarList.fallbackUrl},gap:{},arrowsColor:{selector:So.componentName,property:So.cssVarList.fill}}}),Be,Ze)(Mu);customElements.define(gu,bu);const Nu=Xt("security-questions-setup"),Iu=["full-width","readonly","size","label-type","question-label","question-placeholder","question-data-errormessage-value-missing","answer-label","answer-placeholder","answer-data-errormessage-value-missing","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],xu=["count","questions"];class ju extends($e({componentName:Nu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}get count(){return Number(this.getAttribute("count"))||0}#le(){const t=Array.from({length:this.count}).map((t,e)=>`\n <div class="question-wrapper">\n <descope-combo-box\n data-id="${e}"\n item-label-path="data-name"\n item-value-path="data-id"\n bordered="true"\n required="true"\n clear-button-visible="true"\n ></descope-combo-box>\n\n <descope-text-field\n data-id="${e}"\n required="true"\n bordered="true"\n minlength="2"\n ></descope-text-field>\n </div>\n `);this.baseElement.innerHTML=t.join("<spacer></spacer><descope-divider></descope-divider><spacer></spacer>"),this.comboBoxes.forEach(t=>{t.addEventListener("change",t=>{this.updateRemainingCombosData(t.target),this.getAttachedTextField(t.target).value=""}),t.data=this.data}),this.#de(Iu)}getAttachedTextField(t){const e=`descope-text-field[data-id="${t.getAttribute("data-id")}"]`;return this.baseElement.querySelector(e)}filterData(t){const e=this.data.filter(e=>e.value===t||!this.selectedQuestionIds.includes(e.value));return e}reportValidity(){return this.inputs.reverse().forEach(t=>t.reportValidity()),this.checkValidity()}checkValidity(){return[...this.comboBoxes,...this.textFields].every(t=>t.checkValidity())}updateRemainingCombosData(t){this.comboBoxes.filter(e=>e!==t).forEach(t=>{t.data=this.filterData(t.value)})}get questions(){try{return JSON.parse(this.getAttribute("questions"))||[]}catch(t){return console.error(Nu,"Error parsing questions attribute",t),[]}}get data(){return this.questions.map(({id:t,text:e})=>({value:t,label:e}))}get comboBoxes(){return Array.from(this.baseElement.querySelectorAll("descope-combo-box"))}get textFields(){return Array.from(this.baseElement.querySelectorAll("descope-text-field"))}get inputs(){return Array.from(this.baseElement.querySelectorAll("descope-combo-box, descope-text-field"))}get selectedQuestionIds(){return this.comboBoxes.map(t=>t.value)}get value(){return this.comboBoxes.map(t=>({id:t.value,answer:this.getAttachedTextField(t).value}))}set value(t=[]){t.forEach((t,e)=>{const i=this.comboBoxes[e],o=this.getAttachedTextField(i);i.value=t.id,o.value=t.answer})}#ce(t,e,i){null===i?t.removeAttribute(e):t.setAttribute(e,i)}#de(t){const e={question:this.comboBoxes,answer:this.textFields};t.forEach(t=>{const[i,...o]=t.split("-"),n=e[i]||this.inputs,r=e[i]?o.join("-"):t;n.forEach(e=>{this.#ce(e,r,this.getAttribute(t))})})}init(){super.init?.(),Jt(this,()=>{this.#le()},{includeAttrs:xu}),Jt(this,this.#de.bind(this),{includeAttrs:Iu})}}const Tu=Zt(Pe({mappings:{hostWidth:[{selector:()=>":host",property:"width"},{property:"width"}],hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>xo.componentName,property:xo.cssVarList.hostDirection},{selector:()=>qn.componentName,property:qn.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"}}}),Be,Ze)(ju);customElements.define(Nu,Tu);const Du=Xt("security-questions-verify"),zu=["full-width","readonly","size","answer-placeholder","answer-data-errormessage-value-missing","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],vu=["question-mode"],Cu={"answer-placeholder":"placeholder","answer-data-errormessage-value-missing":"data-errormessage-value-missing","question-mode":"mode"},Su=[...zu,...vu],Lu=["questions"];class Au extends($e({componentName:Du,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}#le(){const t=this.questions.map(({id:t,text:e})=>`\n <div class="question-wrapper">\n <descope-text\n data-id="${t}"\n >${e}</descope-text>\n\n <descope-text-field\n data-id="${t}"\n required="true"\n bordered="true"\n ></descope-text-field>\n </div>\n `);this.baseElement.innerHTML=t.join("<spacer></spacer><descope-divider></descope-divider><spacer></spacer>"),this.#de(Su),this.texts.forEach(t=>{const e=this.textFields.find(e=>e.getAttribute("data-id")===t.getAttribute("data-id"));e&&(t.onclick=e.focus.bind(e))})}reportValidity(){return this.textFields.reverse().forEach(t=>t.reportValidity()),this.checkValidity()}checkValidity(){return this.textFields.every(t=>t.checkValidity())}get questions(){try{return JSON.parse(this.getAttribute("questions"))||[]}catch(t){return console.error(Du,"Error parsing questions attribute",t),[]}}get texts(){return Array.from(this.baseElement.querySelectorAll("descope-text"))}get textFields(){return Array.from(this.baseElement.querySelectorAll("descope-text-field"))}get elements(){return Array.from(this.baseElement.querySelectorAll("descope-text, descope-text-field"))}get value(){return this.textFields.map(t=>({id:t.getAttribute("data-id"),answer:t.value}))}set value(t=[]){t.forEach(({id:t,answer:e})=>{const i=this.textFields.find(e=>e.getAttribute("data-id")===t);i&&(i.value=e)})}#ce(t,e,i){null===i?t.removeAttribute(e):t.setAttribute(e,i)}#ue(t){switch(!0){case zu.includes(t):return this.textFields;case vu.includes(t):return this.texts;default:return[]}}#de(t){t.forEach(t=>{this.#ue(t).forEach(e=>{this.#ce(e,Cu[t]||t,this.getAttribute(t))})})}init(){super.init?.(),Jt(this,()=>{this.#le()},{includeAttrs:Lu}),Jt(this,this.#de.bind(this),{includeAttrs:Su})}}const wu=Zt(Pe({componentNameOverride:Xt("input-wrapper")}),Pe({mappings:{hostWidth:[{selector:()=>":host",property:"width"},{property:"width"}],hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Li.componentName,property:Li.cssVarList.hostDirection},{selector:()=>qn.componentName,property:qn.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"},questionTextAlign:{selector:()=>Li.componentName,property:Li.cssVarList.textAlign},questionFontSize:{selector:()=>Li.componentName,property:Li.cssVarList.fontSize},questionFontFamily:{selector:()=>Li.componentName,property:Li.cssVarList.fontFamily},questionCursor:{selector:()=>Li.componentName,property:"cursor"},errorMessageIcon:{selector:()=>Li.componentName,property:Li.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:()=>Li.componentName,property:Li.cssVarList.errorMessageSize},errorMessageIconPadding:{selector:()=>Li.componentName,property:Li.cssVarList.errorMessagePadding},errorMessageIconRepeat:{selector:()=>Li.componentName,property:Li.cssVarList.errorMessageRepeat},errorMessageIconPosition:{selector:()=>Li.componentName,property:Li.cssVarList.errorMessagePosition},errorMessageFontSize:{selector:()=>Li.componentName,property:Li.cssVarList.errorMessageFontSize}}}),Be,Ze)(Au);customElements.define(Du,wu);const fu=/[^\d\s+\-()]/,Eu=Xt("hybrid-field"),ku={shared:["label","bordered","full-width","label-type","size","disabled","readonly","required","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],email:["placeholder","data-errormessage-value-missing-email","data-errormessage-pattern-mismatch-email","external-input"],phone:{countryCode:["phone-input-label","country-input-label","country-input-placeholder","restrict-countries","default-code","phone-minlength","phone-format-value","phone-strict-validation","phone-input-type","data-errormessage-value-missing-phone"],inputBox:["restrict-countries","default-code","phone-minlength","phone-format-value","phone-strict-validation","phone-input-type","data-errormessage-value-missing-phone"]}},Ou={email:{"data-errormessage-value-missing-email":"data-errormessage-value-missing","data-errormessage-pattern-mismatch-email":"data-errormessage-pattern-mismatch"},phone:{"phone-input-label":"label","phone-minlength":"minlength","phone-format-value":"format-value","phone-strict-validation":"strict-validation","data-errormessage-value-missing-phone":"data-errormessage-value-missing"}},Vu="descope-phone-field",Uu=$e({componentName:Eu,baseSelector:"div"}),Yu=Zt(Pe({componentNameOverride:Xt("input-wrapper")}),Pe({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:[{selector:()=>"descope-email-field",property:"direction"},{selector:()=>"descope-phone-field",property:"direction"},{selector:()=>"descope-phone-input-box-field",property:"direction"}],errorMessageIcon:[{selector:()=>Zs.componentName,property:Zs.cssVarList.errorMessageIcon},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIcon}],errorMessageIconSize:[{selector:()=>Zs.componentName,property:Zs.cssVarList.errorMessageIconSize},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconSize}],errorMessageIconPadding:[{selector:()=>Zs.componentName,property:Zs.cssVarList.errorMessageIconPadding},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconPadding}],errorMessageIconRepeat:[{selector:()=>Zs.componentName,property:Zs.cssVarList.errorMessageIconRepeat},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconRepeat}],errorMessageIconPosition:[{selector:()=>Zs.componentName,property:Zs.cssVarList.errorMessageIconPosition},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageIconPosition}],errorMessageFontSize:[{selector:()=>Zs.componentName,property:Zs.cssVarList.errorMessageFontSize},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageFontSize}],labelFontWeight:[{selector:()=>Zs.componentName,property:Zs.cssVarList.labelFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.labelFontWeight}],inputValueFontWeight:[{selector:()=>Zs.componentName,property:Zs.cssVarList.inputValueFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.inputValueFontWeight}],inputPlaceholderFontWeight:[{selector:()=>Zs.componentName,property:Zs.cssVarList.inputPlaceholderFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.inputPlaceholderFontWeight}],helperTextFontWeight:[{selector:()=>Zs.componentName,property:Zs.cssVarList.helperTextFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.helperTextFontWeight}],errorMessageFontWeight:[{selector:()=>Zs.componentName,property:Zs.cssVarList.errorMessageFontWeight},{selector:()=>aa.componentName,property:aa.cssVarList.errorMessageFontWeight}]}}),Be,Ze)(class extends Uu{#pe=!1;#he;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <div class="wrapper">\n <descope-email-field external-input="${this.isExternalInput}"></descope-email-field>\n <descope-phone-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-field>\n <descope-phone-input-box-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-input-box-field>\n </div>\n\t\t`,f("\n :host {\n display: inline-flex;\n box-sizing: border-box;\n padding: 0;\n gap: 0;\n }\n .wrapper {\n display: grid;\n width: 100%;\n }\n descope-email-field,\n descope-phone-field,\n descope-phone-input-box-field {\n grid-area: 1/1;\n width: 100%;\n height: 100%;\n }\n .hidden {\n visibility: hidden;\n }\n ",this)}get isExternalInput(){return"true"===this.getAttribute("external-input")}get emailInputEle(){return this.isExternalInput?this.emailInput.externalInput:this.emailInput.inputElement}get phoneVariant(){return"inputBox"===this.getAttribute("phone-variant")?this.phoneInputBoxInput:this.phoneCountryCodeInput}get defaultCode(){const t=this.phoneCountryCodeInput.countryCodes?.[0]||"";return this.getAttribute("default-code")||t}get activeInputEle(){return this.activeInput===this.emailInput?this.emailInputEle:this.phoneVariant.phoneNumberInputEle}get value(){return this.activeInput?.value||""}set value(t){this.handleActiveInput(t),setTimeout(()=>{this.activeInput.value=t})}async init(){super.init?.(),this.initInputs(),this.updateAttrs(),this.toggleInputVisibility(),await this.waitForInputs(),this.initInputEles(),this.overrideEmailInputType(),this.overrideEmailSetAttribute()}waitForInputs(){return new Promise(t=>{const e=setInterval(()=>{this.emailInputEle&&(clearInterval(e),t())})})}initInputs(){this.emailInput=this.shadowRoot.querySelector("descope-email-field"),this.phoneCountryCodeInput=this.shadowRoot.querySelector(Vu),this.phoneInputBoxInput=this.shadowRoot.querySelector("descope-phone-input-box-field"),this.inputs=[this.emailInput,this.phoneCountryCodeInput,this.phoneInputBoxInput],this.activeInput=this.emailInput}initInputEles(){[this.emailInputEle,this.phoneCountryCodeInput.phoneNumberInputEle,this.phoneInputBoxInput.phoneNumberInputEle].forEach(t=>{t.addEventListener("input",this.onValueChange.bind(this))})}overrideEmailInputType(){this.emailInputEle.addEventListener("focus",()=>{this.emailInputEle.setAttribute("type","text")}),this.emailInputEle.addEventListener("blur",()=>{setTimeout(()=>{this.emailInputEle.setAttribute("type","email")})})}overrideEmailSetAttribute(){const t=this.emailInput.setAttribute.bind(this.emailInputEle);this.emailInputEle.setAttribute=(e,i)=>("type"!==e||"email"!==i||!this.emailInput.hasAttribute("focused"))&&t(e,i)}updateAttrs(){te(this,this.emailInput,{includeAttrs:ku.email,mapAttrs:Ou.email}),te(this,this.phoneCountryCodeInput,{includeAttrs:ku.phone.countryCode,mapAttrs:Ou.phone}),te(this,this.phoneInputBoxInput,{includeAttrs:ku.phone.inputBox,mapAttrs:Ou.phone}),this.inputs.forEach(t=>te(this,t,{includeAttrs:ku.shared})),setTimeout(()=>this.phoneCountryCodeInput.setAttribute("default-code",this.defaultCode))}onValueChange(){this.#he=this.activeInputEle.selectionStart,this.handleActiveInput(this.activeInputEle.value||this.activeInput.value)}handleActiveInput(t){const e=(t=>!!t&&!fu.test(t))(t)?this.phoneVariant:this.emailInput;this.activeInput!==e&&this.setActiveInput(e)}setActiveInput(t){const e=this.activeInputEle.value||this.activeInput.value;this.activeInput=t,this.setActiveInputValue(e),this.#pe&&this.activeInput.reportValidity(),this.setActiveInputSelectionStart(),this.toggleInputVisibility()}setActiveInputSelectionStart(){setTimeout(()=>{this.activeInputEle.focus(),this.activeInputEle.setSelectionRange?.(this.#he,this.#he)})}#ge(){const t=this.getAttribute("default-code"),e=t&&Zs.CountryCodes.find(e=>e.code===t);return e?.dialCode||Zs.CountryCodes[0]?.dialCode||""}setActiveInputValue(t){const e=(t=>t.replace(/\+\d+-/,""))(t);if(this.activeInput.localName===Vu){const t=this.phoneCountryCodeInput.countryCodeItems||this.#ge();this.activeInput.value=`${t}-${e}`}else this.activeInput.value=e}toggleInputVisibility(){this.inputs.forEach(t=>{t!==this.activeInput?t.classList.add("hidden"):t.classList.remove("hidden")})}reportValidity(){this.#pe=!0;const t=this.activeInputEle,e=t.type;return t.setAttribute("type","text"),setTimeout(()=>{t.setSelectionRange?.(t.value.length,t.value.length),t.setAttribute("type",e)}),this.activeInput.reportValidity()}checkValidity(){return this.activeInput.checkValidity()}});customElements.define(Eu,Yu);const Wu=Xt("alert");class Ru extends($e({componentName:Wu,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <div class="icon"></div>\n <div class="content">\n <descope-enriched-text>\n <slot></slot>\n </descope-enriched-text>\n </div>\n </div>\n ',f('\n :host {\n display: inline-flex;\n }\n :host > div {\n display: flex;\n width: 100%;\n }\n :host([empty="true"]) {\n display: none;\n }\n .icon {\n flex-shrink: 0;\n }\n .content {\n display: flex;\n flex-wrap: wrap;\n white-space: normal;\n overflow-wrap: break-word;\n }\n ',this)}init(){super.init?.(),this.slotEle=this.shadowRoot.querySelector("slot"),this.textComp=this.shadowRoot.querySelector("descope-enriched-text"),this.slotEle.addEventListener("slotchange",this.handleSlotChange.bind(this)),S(this.textComp,this,{includeAttrs:["empty"]}),v(this,this.handleChildrenChange.bind(this)),te(this,this.textComp,{includeAttrs:["variant","full-width","link-target-blank"]})}handleChildrenChange(){this.textComp.textContent=this.textContent}handleSlotChange(){const t=this.slotEle.assignedNodes({flatten:!0});t.length&&(this.textComp.textContent=t[0]?.textContent||"")}}const{icon:Qu}={icon:{selector:()=>".icon"}},Pu=Zt(Pe({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},textColor:{selector:Qt.componentName,property:Qt.cssVarList.textColor},backgroundColor:{},borderColor:{},borderWidth:{},borderStyle:{},borderRadius:{},fontSize:[{},{selector:Qt.componentName,property:Qt.cssVarList.fontSize}],gap:{},horizontalPadding:[{property:"padding-top"},{property:"padding-bottom"}],verticalPadding:[{property:"padding-right"},{property:"padding-left"}],alignItems:{},justifyContent:[{},{selector:Qt.componentName,property:Qt.cssVarList.textAlign}],icon:[{...Qu,property:"content"},{...Qu,property:"display",fallback:"none"}],iconSize:[{...Qu,property:"width"},{...Qu,property:"height"}]}}),Pe({componentNameOverride:Xt("enriched-text")}),Pe({componentNameOverride:Xt("text")}),Be,Ze)(Ru);customElements.define(Wu,Pu);const Bu=Xt("hcaptcha"),Zu=["enabled","site-key"],Fu=ci({componentName:Bu,baseSelector:":host > div"}),Gu=Zt(Pe({mappings:{hostWidth:[{selector:()=>":host",property:"width"}],hostDirection:{property:"direction"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],maxHeight:[{selector:">img",property:"height"},{selector:">#hcaptcha",property:"height"}],maxWidth:[{selector:">img",property:"max-width"},{selector:">hcaptcha",property:"max-width"}]}}),Be,Ze)(class extends Fu{static get observedAttributes(){return Zu.concat(Fu.observedAttributes||[])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&"enabled"===t&&this.toggleCaptchaEles("true"===i)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="badge">\n <span id="hcaptcha"></span>\n <input id="hcaptcha-input" type="hidden" name="hcaptcha" required />\n <img src="https://imgs.descope.com/connectors/templates/hcaptcha/hcaptcha-big.png" alt="hcaptcha"/>\n </div>\n <slot></slot>\n\t',f("\n :host {\n display: inline-flex;\n }\n :host > div:not(.hidden) {\n display: flex;\n }\n :host #hcaptcha-input {\n display: none;\n }\n :host #hcaptcha .hcaptcha-logo {\n height: 100%;\n }\n :host #hcaptcha {\n\t\t\t\twidth: 100%;\n height: 100%;\n\t\t\t}\n :host img {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n .hidden {\n display: none;\n }\n ",this),this.captchaEle=this.shadowRoot.querySelector("#hcaptcha"),this.mockCaptchaEle=this.shadowRoot.querySelector("img"),this.badge=this.shadowRoot.querySelector(".badge"),this.inputElement=this.shadowRoot.querySelector("input")}init(){super.init?.(),v(this,this.updatePreview.bind(this)),this.inputElement.getValidity=null,this.inputElement.checkValidity=null}toggleCaptchaEles(t){t?(this.captchaEle.style.display="",this.mockCaptchaEle.style.display="none"):(this.captchaEle.style.display="none",this.mockCaptchaEle.style.display="")}updatePreview(){this.toggleCaptchaEles(this.enabled)}getValidity(){return this.inputElement.value?{}:{valueMissing:!0}}checkValidity(){return!!this.inputElement.value}get siteKey(){return this.getAttribute("site-key")}get enabled(){return"true"===this.getAttribute("enabled")}});customElements.define(Bu,Gu);const Hu=(ip={surface:{main:"#ffffff",dark:"#636c74",light:"#cfd3d7",highlight:"#f4f5f6",contrast:"#181a1c"},primary:{main:"#006af5",dark:"#004094",light:"#71aeff",highlight:"#f0f6ff",contrast:"#ffffff"},secondary:{main:"#802ed6",dark:"#6410bc",light:"#be89f5",highlight:"#ede7f6",contrast:"#ffffff"},success:{main:"#008000",dark:"#005700",light:"#8bc38b",highlight:"#f5faf5",contrast:"#ffffff"},error:{main:"#e21d12",dark:"#b3170f",light:"#f4807a",highlight:"#fef1f1",contrast:"#ffffff"},warning:{main:"#c45512",dark:"#a24309",light:"#ff985a",highlight:"#fdf0e5",contrast:"#ffffff"}},Object.keys(ip).reduce((t,e)=>{const i=ip[e];return Object.assign(t,{[e]:he(i)})},{})),Ju={font1:{family:["Roboto","ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Roboto",url:"https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900"},font2:{family:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Sans Serif"}},$u=ve({fonts:Ju}).fonts,_u={colors:Hu,typography:{h1:{font:$u.font1.family,weight:"900",size:"48px"},h2:{font:$u.font1.family,weight:"800",size:"38px"},h3:{font:$u.font1.family,weight:"600",size:"28px"},subtitle1:{font:$u.font2.family,weight:"500",size:"22px"},subtitle2:{font:$u.font2.family,weight:"400",size:"20px"},body1:{font:$u.font1.family,weight:"400",size:"16px"},body2:{font:$u.font1.family,weight:"400",size:"14px"}},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"32px"},border:{xs:"1px",sm:"2px",md:"3px",lg:"4px",xl:"5px"},radius:{xs:"5px",sm:"10px",md:"15px",lg:"20px",xl:"25px","2xl":"30px","3xl":"35px"},shadow:{wide:{sm:"0 2px 3px -0.5px",md:"0 4px 6px -1px",lg:"0 10px 15px -3px",xl:"0 20px 25px -5px","2xl":"0 25px 50px -12px"},narrow:{sm:"0 1px 2px -1px",md:"0 2px 4px -2px",lg:"0 4px 6px -4px",xl:"0 8px 10px -6px","2xl":"0 16px 16px -8px"}},fonts:Ju,direction:"ltr"},qu=(t=>De(t,[],t=>Te({},t,je(t))))(_u),Xu=(t=>Object.keys(t).reduce((e,i)=>{const o=t[i];return Object.assign(e,{[i]:G(o)})},{}))({surface:{main:"#ffffff",dark:"#636c74",light:"#cfd3d7",highlight:"#f4f5f6",contrast:"#181a1c"},primary:{main:"#006af5",dark:"#004094",light:"#71aeff",highlight:"#f0f6ff",contrast:"#ffffff"},secondary:{main:"#802ed6",dark:"#6410bc",light:"#be89f5",highlight:"#ede7f6",contrast:"#ffffff"},success:{main:"#008000",dark:"#005700",light:"#8bc38b",highlight:"#f5faf5",contrast:"#ffffff"},error:{main:"#e21d12",dark:"#b3170f",light:"#f4807a",highlight:"#fef1f1",contrast:"#ffffff"},warning:{main:"#c45512",dark:"#a24309",light:"#ff985a",highlight:"#fdf0e5",contrast:"#ffffff"}}),Ku={font1:{family:["Roboto","ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Roboto",url:"https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900"},font2:{family:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Sans Serif"}},tp=et({fonts:Ku}).fonts,ep={colors:Xu,typography:{h1:{font:tp.font1.family,weight:"900",size:"48px"},h2:{font:tp.font1.family,weight:"800",size:"38px"},h3:{font:tp.font1.family,weight:"600",size:"28px"},subtitle1:{font:tp.font2.family,weight:"500",size:"22px"},subtitle2:{font:tp.font2.family,weight:"400",size:"20px"},body1:{font:tp.font1.family,weight:"400",size:"16px"},body2:{font:tp.font1.family,weight:"400",size:"14px"}},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"32px"},border:{xs:"1px",sm:"2px",md:"3px",lg:"4px",xl:"5px"},radius:{xs:"5px",sm:"10px",md:"15px",lg:"20px",xl:"25px","2xl":"30px","3xl":"35px"},shadow:{wide:{sm:"0 2px 3px -0.5px",md:"0 4px 6px -1px",lg:"0 10px 15px -3px",xl:"0 20px 25px -5px","2xl":"0 25px 50px -12px"},narrow:{sm:"0 1px 2px -1px",md:"0 2px 4px -2px",lg:"0 4px 6px -4px",xl:"0 8px 10px -6px","2xl":"0 16px 16px -8px"}},fonts:Ku,direction:"ltr"};var ip;(t=>{tt(t,[],t=>K({},t,X(t)))})(ep);const op=et(ep),np=ko.cssVarList,rp={primary:op.colors.primary,secondary:op.colors.secondary,success:op.colors.success,error:op.colors.error,surface:op.colors.surface},[sp,ap,lp]=ot({mode:rp},Lo),dp={...sp,[np.fontFamily]:op.fonts.font1.family,[np.fontWeight]:"400",[np.cursor]:"pointer",[np.hostHeight]:"3em",[np.hostWidth]:"auto",[np.hostDirection]:op.direction,[np.borderRadius]:op.radius.sm,[np.borderWidth]:op.border.xs,[np.borderStyle]:"solid",[np.borderColor]:"transparent",[np.labelSpacing]:"0.25em",[np.textAlign]:"center",textAlign:{right:{[np.textAlign]:"right"},left:{[np.textAlign]:"left"},center:{[np.textAlign]:"center"}},[np.verticalPadding]:"1em",[np.horizontalPadding]:"0.875em",[np.outlineWidth]:ep.border.sm,[np.outlineOffset]:"0px",[np.outlineStyle]:"solid",[np.outlineColor]:"transparent",[np.iconSize]:"1.5em",size:{xs:{[np.fontSize]:"12px"},sm:{[np.fontSize]:"14px"},md:{[np.fontSize]:"16px"},lg:{[np.fontSize]:"18px"}},_square:{[np.hostHeight]:"3em",[np.hostWidth]:"3em",[np.verticalPadding]:"0"},_fullWidth:{[np.hostWidth]:"100%"},_loading:{[np.cursor]:"wait",[np.labelTextColor]:ap.main},_disabled:{[lp.main]:op.colors.surface.light,[lp.dark]:op.colors.surface.dark,[lp.light]:op.colors.surface.light,[lp.contrast]:op.colors.surface.main,[np.iconColor]:op.colors.surface.main},variant:{contained:{[np.labelTextColor]:ap.contrast,[np.backgroundColor]:ap.main,_hover:{[np.backgroundColor]:ap.dark,_loading:{[np.backgroundColor]:ap.main}},_active:{[np.backgroundColor]:ap.main}},outline:{[np.labelTextColor]:ap.main,[np.borderColor]:ap.main,_hover:{[np.labelTextColor]:ap.dark,[np.borderColor]:ap.dark},_active:{[np.labelTextColor]:ap.main,[np.borderColor]:ap.main}},link:{[np.labelTextColor]:ap.main,[np.horizontalPadding]:"0.125em",_hover:{[np.labelTextColor]:ap.dark,[np.labelTextDecoration]:"underline"},_active:{[np.labelTextColor]:ap.main}}},_focused:{[np.outlineColor]:ap.light}},cp={...np,...lp};var up=Object.freeze({__proto__:null,default:dp,vars:cp});const pp=et(ep),hp=Li.cssVarList,gp={[hp.hostDirection]:pp.direction,[hp.textLineHeight]:"1.35em",[hp.textAlign]:"start",[hp.textColor]:pp.colors.surface.dark,variant:{h1:{[hp.fontSize]:pp.typography.h1.size,[hp.fontWeight]:pp.typography.h1.weight,[hp.fontFamily]:pp.typography.h1.font},h2:{[hp.fontSize]:pp.typography.h2.size,[hp.fontWeight]:pp.typography.h2.weight,[hp.fontFamily]:pp.typography.h2.font},h3:{[hp.fontSize]:pp.typography.h3.size,[hp.fontWeight]:pp.typography.h3.weight,[hp.fontFamily]:pp.typography.h3.font},subtitle1:{[hp.fontSize]:pp.typography.subtitle1.size,[hp.fontWeight]:pp.typography.subtitle1.weight,[hp.fontFamily]:pp.typography.subtitle1.font},subtitle2:{[hp.fontSize]:pp.typography.subtitle2.size,[hp.fontWeight]:pp.typography.subtitle2.weight,[hp.fontFamily]:pp.typography.subtitle2.font},body1:{[hp.fontSize]:pp.typography.body1.size,[hp.fontWeight]:pp.typography.body1.weight,[hp.fontFamily]:pp.typography.body1.font},body2:{[hp.fontSize]:pp.typography.body2.size,[hp.fontWeight]:pp.typography.body2.weight,[hp.fontFamily]:pp.typography.body2.font}},mode:{primary:{[hp.textColor]:pp.colors.surface.contrast},secondary:{[hp.textColor]:pp.colors.surface.dark},error:{[hp.textColor]:pp.colors.error.main},"error-dark":{[hp.textColor]:pp.colors.error.dark},success:{[hp.textColor]:pp.colors.success.main},"success-dark":{[hp.textColor]:pp.colors.success.dark},warning:{[hp.textColor]:pp.colors.warning.main},"warning-dark":{[hp.textColor]:pp.colors.warning.dark}},textAlign:{right:{[hp.textAlign]:"right"},left:{[hp.textAlign]:"left"},center:{[hp.textAlign]:"center"}},_fullWidth:{[hp.hostWidth]:"100%"},_italic:{[hp.fontStyle]:"italic"},_uppercase:{[hp.textTransform]:"uppercase"},_lowercase:{[hp.textTransform]:"lowercase"}};var Mp=Object.freeze({__proto__:null,default:gp,vars:hp});const mp=et(ep),yp=Wi.cssVarList,bp={[yp.hostDirection]:mp.direction,[yp.cursor]:"pointer",[yp.textColor]:mp.colors.primary.main,textAlign:{right:{[yp.textAlign]:"right"},left:{[yp.textAlign]:"left"},center:{[yp.textAlign]:"center"}},_fullWidth:{[yp.hostWidth]:"100%"},_hover:{[yp.textDecoration]:"underline"},mode:{secondary:{[yp.textColor]:mp.colors.secondary.main}}};var Np=Object.freeze({__proto__:null,default:bp,vars:yp});const Ip=et(ep),xp=Qt.cssVarList,jp={[xp.hostDirection]:Ip.direction,[xp.hostWidth]:it(hp.hostWidth),[xp.textLineHeight]:it(hp.textLineHeight),[xp.textColor]:it(hp.textColor),[xp.textAlign]:it(hp.textAlign),[xp.fontSize]:it(hp.fontSize),[xp.fontWeight]:it(hp.fontWeight),[xp.fontFamily]:it(hp.fontFamily),[xp.linkColor]:it(yp.textColor),[xp.linkTextDecoration]:"none",[xp.linkHoverTextDecoration]:"underline",[xp.fontWeightBold]:"900",[xp.minWidth]:"0.25em",[xp.minHeight]:"1.35em",[xp.hostDisplay]:"inline-block",_empty:{_hideWhenEmpty:{[xp.hostDisplay]:"none"}}};var Tp=Object.freeze({__proto__:null,default:jp,vars:xp});const Dp=L("input-wrapper"),zp=et(ep),[vp,Cp]=ot({labelTextColor:zp.colors.surface.dark,labelFontSize:"14px",labelFontWeight:"500",inputValueFontWeight:"400",inputPlaceholderFontWeight:"400",helperTextFontWeight:"400",errorMessageFontWeight:"400",valueTextColor:zp.colors.surface.contrast,placeholderTextColor:zp.colors.surface.dark,requiredIndicator:"'*'",helperTextColor:zp.colors.surface.dark,errorMessageTextColor:zp.colors.error.main,successMessageTextColor:zp.colors.success.main,borderWidth:zp.border.xs,borderRadius:zp.radius.xs,borderColor:"transparent",outlineWidth:zp.border.sm,outlineStyle:"solid",outlineColor:"transparent",outlineOffset:"0px",minWidth:"10em",toggleButtonSize:"1.5em",inputIconSize:"1em",inputHeight:"3em",horizontalPadding:"0.5em",verticalPadding:"0.5em",textAlign:"start",backgroundColor:zp.colors.surface.main,fontFamily:zp.fonts.font1.family,direction:zp.direction,overlayOpacity:"0.3",errorMessageIcon:"",errorMessageIconSize:"0",errorMessageIconPadding:"0",errorMessageIconPosition:"0 0.4em",errorMessageFontSize:"0.8125rem",errorMessageIconRepeat:"no-repeat",size:{xs:{fontSize:"12px",chipFontSize:"10px"},sm:{fontSize:"14px",chipFontSize:"12px"},md:{fontSize:"16px",chipFontSize:"14px"},lg:{fontSize:"18px",chipFontSize:"16px"}},labelType:{static:{valueInputHeight:"3em",valueInputMarginBottom:"auto"},floating:{labelPosition:"absolute",labelTopPosition:"0",labelHorizontalPosition:"0.9em",labelFontSize:"1em",placeholderOpacity:0,inputHeight:"3.5em",inputVerticalAlignment:"flex-end",inputTransformY:"translateY(1.55em)",inputTransition:"all 75ms ease-in-out",marginInlineStart:"0",valueInputHeight:"1.5702em",valueInputMarginBottom:"0.5em",_focused:{labelFontSize:"0.75em",inputTransformY:"translateY(1.05em)",labelFontWeight:"400",placeholderOpacity:1},_readOnly:{placeholderOpacity:0},_hasValue:{inputTransformY:"translateY(1.05em)",labelFontSize:"0.75em",labelFontWeight:"400"}}},_fullWidth:{width:"100%"},_focused:{outlineColor:zp.colors.surface.light,_invalid:{outlineColor:zp.colors.error.main}},_bordered:{outlineWidth:zp.border.xs,borderColor:zp.colors.surface.light,borderStyle:"solid",_invalid:{borderColor:zp.colors.error.main}},_disabled:{labelTextColor:zp.colors.surface.light,borderColor:zp.colors.surface.light,valueTextColor:zp.colors.surface.light,placeholderTextColor:zp.colors.surface.light,helperTextColor:zp.colors.surface.light,backgroundColor:zp.colors.surface.main},_obfuscated:{inputTextSecurity:"disc"}},Dp),Sp=et(ep),Lp=xo.cssVarList,Ap={[Lp.hostWidth]:Cp.width,[Lp.hostDirection]:Cp.direction,[Lp.fontSize]:Cp.fontSize,[Lp.fontFamily]:Cp.fontFamily,[Lp.labelFontSize]:Cp.labelFontSize,[Lp.labelFontWeight]:Cp.labelFontWeight,[Lp.inputValueFontWeight]:Cp.inputValueFontWeight,[Lp.inputPlaceholderFontWeight]:Cp.inputPlaceholderFontWeight,[Lp.helperTextFontWeight]:Cp.helperTextFontWeight,[Lp.errorMessageFontWeight]:Cp.errorMessageFontWeight,[Lp.labelTextColor]:Cp.labelTextColor,[Lp.errorMessageTextColor]:Cp.errorMessageTextColor,[Lp.inputBorderColor]:Cp.borderColor,[Lp.inputBorderWidth]:Cp.borderWidth,[Lp.inputBorderStyle]:Cp.borderStyle,[Lp.inputBorderRadius]:Cp.borderRadius,[Lp.inputOutlineColor]:Cp.outlineColor,[Lp.inputOutlineOffset]:Cp.outlineOffset,[Lp.inputOutlineWidth]:Cp.outlineWidth,[Lp.inputOutlineStyle]:Cp.outlineStyle,[Lp.labelRequiredIndicator]:Cp.requiredIndicator,[Lp.inputValueTextColor]:Cp.valueTextColor,[Lp.inputPlaceholderTextColor]:Cp.placeholderTextColor,[Lp.inputBackgroundColor]:Cp.backgroundColor,[Lp.inputHorizontalPadding]:Cp.horizontalPadding,[Lp.inputHeight]:Cp.inputHeight,[Lp.inputDropdownButtonColor]:Sp.colors.surface.dark,[Lp.inputDropdownButtonCursor]:"pointer",[Lp.inputDropdownButtonSize]:Cp.toggleButtonSize,[Lp.inputDropdownButtonOffset]:Sp.spacing.xs,[Lp.overlayItemPaddingInlineStart]:Sp.spacing.xs,[Lp.overlayItemPaddingInlineEnd]:Sp.spacing.lg,[Lp.labelPosition]:Cp.labelPosition,[Lp.labelTopPosition]:Cp.labelTopPosition,[Lp.labelHorizontalPosition]:Cp.labelHorizontalPosition,[Lp.inputTransformY]:Cp.inputTransformY,[Lp.inputTransition]:Cp.inputTransition,[Lp.marginInlineStart]:Cp.marginInlineStart,[Lp.placeholderOpacity]:Cp.placeholderOpacity,[Lp.inputVerticalAlignment]:Cp.inputVerticalAlignment,[Lp.valueInputHeight]:Cp.valueInputHeight,[Lp.valueInputMarginBottom]:Cp.valueInputMarginBottom,[Lp.errorMessageIcon]:Cp.errorMessageIcon,[Lp.errorMessageIconSize]:Cp.errorMessageIconSize,[Lp.errorMessageIconPadding]:Cp.errorMessageIconPadding,[Lp.errorMessageIconRepeat]:Cp.errorMessageIconRepeat,[Lp.errorMessageIconPosition]:Cp.errorMessageIconPosition,[Lp.errorMessageFontSize]:Cp.errorMessageFontSize,_readonly:{[Lp.inputDropdownButtonCursor]:"default"},[Lp.overlayFontSize]:Cp.fontSize,[Lp.overlayFontFamily]:Cp.fontFamily,[Lp.overlayCursor]:"pointer",[Lp.overlayItemBoxShadow]:"none",[Lp.overlayBackground]:Cp.backgroundColor,[Lp.overlayTextColor]:Cp.valueTextColor,[Lp.overlayCheckmarkDisplay]:"initial",[Lp.overlaySelectedItemBackground]:"initial",[Lp.overlaySelectedItemHoverBackground]:Sp.colors.primary.highlight,[Lp.overlaySelectedItemFocusBackground]:Sp.colors.primary.highlight,[Lp.overlayItemHoverBackground]:Sp.colors.primary.highlight,[Lp.overlayItemFocusBackground]:Sp.colors.primary.highlight,[Lp.overlay.minHeight]:"400px",[Lp.overlay.margin]:"0",[Lp.overlay.contentHeight]:"100%",[Lp.overlay.contentOpacity]:"1",[Lp.overlay.scrollerMinHeight]:"1px",_loading:{[Lp.overlay.loaderTop]:"50%",[Lp.overlay.loaderLeft]:"50%",[Lp.overlay.loaderRight]:"auto",[Lp.overlay.loaderMargin]:"-15px 0 0 -15px",[Lp.overlay.loaderWidth]:"30px",[Lp.overlay.loaderHeight]:"30px",[Lp.overlay.loaderBorder]:"2px solid transparent",[Lp.overlay.loaderBorderColor]:`${Sp.colors.primary.highlight} ${Sp.colors.primary.highlight} ${Sp.colors.primary.main} ${Sp.colors.primary.main}`,[Lp.overlay.loaderBorderRadius]:"50%",[Lp.overlay.contentHeight]:"100px",[Lp.overlay.scrollerMinHeight]:"100px",[Lp.overlay.contentOpacity]:"0"}};var wp=Object.freeze({__proto__:null,comboBox:Ap,default:Ap,vars:Lp});const fp=et(ep),[Ep,kp]=ot({shadowColor:"#00000020"},zc),{shadowColor:Op}=kp,Vp=Cc.cssVarList,Up={...Ep,[Vp.hostWidth]:"fit-content",[Vp.hostDirection]:fp.direction,[Vp.textAlign]:"center",[Vp.fontFamily]:fp.fonts.font1.family,[Vp.fontWeight]:"400",[Vp.verticalPadding]:"0.25em",[Vp.horizontalPadding]:"0.5em",[Vp.borderWidth]:fp.border.xs,[Vp.borderRadius]:fp.radius.xs,[Vp.borderColor]:"transparent",[Vp.borderStyle]:"solid",_fullWidth:{[Vp.hostWidth]:"100%"},size:{xs:{[Vp.fontSize]:"12px"},sm:{[Vp.fontSize]:"14px"},md:{[Vp.fontSize]:"16px"},lg:{[Vp.fontSize]:"18px"}},variant:{contained:{[Vp.backgroundColor]:fp.colors.surface.main}},_shrinkToIndicator:{[Vp.hostWidth]:"13px",[Vp.hostHeight]:"13px",[Vp.borderRadius]:"50%",[Vp.fontSize]:"0",[Vp.textIndent]:"-9999px"},mode:{default:{[Vp.textColor]:fp.colors.surface.dark,_bordered:{[Vp.borderColor]:fp.colors.surface.light}},primary:{[Vp.textColor]:fp.colors.primary.main,_bordered:{[Vp.borderColor]:fp.colors.primary.light}},secondary:{[Vp.textColor]:fp.colors.secondary.main,_bordered:{[Vp.borderColor]:fp.colors.secondary.light}},error:{[Vp.textColor]:fp.colors.error.main,_bordered:{[Vp.borderColor]:fp.colors.error.light}},success:{[Vp.textColor]:fp.colors.success.main,_bordered:{[Vp.borderColor]:fp.colors.success.light}}},shadow:{sm:{[Vp.boxShadow]:`${fp.shadow.wide.sm} ${Op}, ${fp.shadow.narrow.sm} ${Op}`},md:{[Vp.boxShadow]:`${fp.shadow.wide.md} ${Op}, ${fp.shadow.narrow.md} ${Op}`},lg:{[Vp.boxShadow]:`${fp.shadow.wide.lg} ${Op}, ${fp.shadow.narrow.lg} ${Op}`},xl:{[Vp.boxShadow]:`${fp.shadow.wide.xl} ${Op}, ${fp.shadow.narrow.xl} ${Op}`}}};var Yp=Object.freeze({__proto__:null,default:Up,vars:Vp});const Wp=L("avatar");class Rp extends(yt({componentName:Wp,baseSelector:":host > .wrapper"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <vaadin-avatar></vaadin-avatar>\n <div class="editableBadge">\n <vaadin-icon icon="vaadin:pencil"></vaadin-icon>\n </div>\n </div>\n\t\t',f("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .editableBadge {\n border: 1px solid;\n border-radius: 100%;\n height: fit-content;\n width: 25%;\n height: 25%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 5%;\n box-sizing: border-box;\n position: absolute;\n bottom: 0;\n inset-inline-end: 0;\n }\n\n vaadin-icon {\n color: currentcolor;\n }\n\n vaadin-avatar {\n width: 100%;\n height: 100%;\n margin: 0;\n border: none\n }\n\n .wrapper {\n display: inline-flex;\n position: relative;\n width: 100%;\n height: 100%;\n }\n ",this),this.avatarComponent=this.shadowRoot.querySelector("vaadin-avatar"),w(this,this.avatarComponent,{includeAttrs:["display-name","img","abbr"],mapAttrs:{"display-name":"name"}});const t=this.shadowRoot.querySelector(".editableBadge");z(this,()=>{t.style.display=this.isEditable?"":"none"},{includeAttrs:["editable"]})}get isEditable(){return"true"===this.getAttribute("editable")}}const{host:Qp,editableBadge:Pp,avatar:Bp}={host:{selector:()=>":host"},editableBadge:{selector:"> .editableBadge"},avatar:{selector:"vaadin-avatar"}},Zp=T(ct({mappings:{hostWidth:[{...Qp,property:"width"},{...Qp,property:"min-width"}],hostHeight:{...Qp,property:"height"},cursor:[Bp,Qp],hostDirection:{...Qp,property:"direction"},avatarTextColor:{...Bp,property:"color"},avatarBackgroundColor:{...Bp,property:"background-color"},editableIconColor:{...Pp,property:"color"},editableBorderColor:{...Pp,property:"border-color"},editableBackgroundColor:{...Pp,property:"background-color"}}}),ut,pt)(Rp),Fp=et(ep),Gp=Zp.cssVarList,Hp={[Gp.hostDirection]:Fp.direction,[Gp.editableIconColor]:Fp.colors.surface.dark,[Gp.editableBorderColor]:Fp.colors.surface.dark,[Gp.editableBackgroundColor]:Fp.colors.surface.main,[Gp.avatarTextColor]:Fp.colors.surface.main,[Gp.avatarBackgroundColor]:Fp.colors.surface.dark,_editable:{[Gp.cursor]:"pointer"},size:{xs:{[Gp.hostWidth]:"30px",[Gp.hostHeight]:"30px"},sm:{[Gp.hostWidth]:"40px",[Gp.hostHeight]:"40px"},md:{[Gp.hostWidth]:"60px",[Gp.hostHeight]:"60px"},lg:{[Gp.hostWidth]:"98px",[Gp.hostHeight]:"98px"},xl:{[Gp.hostWidth]:"120px",[Gp.hostHeight]:"120px"},"2xl":{[Gp.hostWidth]:"140px",[Gp.hostHeight]:"140px"}}},Jp={...Gp};var $p=Object.freeze({__proto__:null,default:Hp,vars:Jp});const _p=So.cssVarList;var qp=Object.freeze({__proto__:null,default:{},vars:_p});const Xp=vo.cssVarList;var Kp=Object.freeze({__proto__:null,default:{},vars:Xp});const th=L("apps-list"),eh=T(ct({mappings:{maxHeight:{selector:()=>":host"},minHeight:{selector:()=>":host"},hostDirection:{selector:()=>":host",property:"direction"},gap:{selector:hu.componentName,property:hu.cssVarList.gap},maxRowItems:{selector:hu.componentName,property:hu.cssVarList.maxRowItems},itemsFontWeight:{selector:Li.componentName,property:Li.cssVarList.fontWeightOverride},itemsFontSize:{selector:Li.componentName,property:Li.cssVarList.fontSizeOverride},itemsTextAlign:{selector:Li.componentName,property:Li.cssVarList.textAlign},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemHoverBackgroundColor:{selector:`${cu.componentName}:hover`,property:cu.cssVarList.backgroundColor},backgroundColor:{selector:hu.componentName,property:hu.cssVarList.backgroundColorOverride},itemBorderStyle:{selector:cu.componentName,property:cu.cssVarList.borderStyleOverride},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColorOverride},itemBorderWidth:{selector:cu.componentName,property:cu.cssVarList.borderWidthOverride},itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPaddingOverride},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPaddingOverride},itemAlignment:[{selector:()=>".avatar-wrapper",property:"text-align"},{selector:Li.componentName,property:Li.cssVarList.textAlign}]}}),Vt({itemRenderer:({name:t,icon:e,url:i},o,n)=>`\n <a ${i?`href="${i}" title="${i}"`:""} ${n.openInSameWindow?"":'target="_blank"'}>\n <descope-list-item>\n <div class="avatar-wrapper">\n <descope-avatar\n ${e?`img="${e}"`:""}\n ${t?`display-name="${t}" abbr=${O(t)}`:""}\n size="${n.logoSize||n.size}"\n ></descope-avatar>\n </div>\n <descope-text\n variant="${n.itemTextVariant}"\n mode="primary"\n >${t}</descope-text>\n </descope-list-item>\n </a>\n`,rerenderAttrsList:["size","item-text-variant","logo-size","open-in-same-window"]}),ut,pt,t=>class extends t{get size(){return this.getAttribute("size")||"sm"}get itemTextVariant(){return this.getAttribute("item-text-variant")||"body1"}get logoSize(){return this.getAttribute("logo-size")}get openInSameWindow(){return"true"===this.getAttribute("open-in-same-window")}})(Ct({slots:["empty-state"],wrappedEleName:"descope-list",excludeAttrsSync:["tabindex","class","empty","style"],componentName:th,style:()=>`\n :host {\n width: 100%;\n display: inline-flex;\n }\n\n descope-text::part(text-wrapper) {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n\n descope-list-item[variant="tile"] .avatar-wrapper {\n width: 100%;\n }\n\n .avatar-wrapper {\n line-height: 0;\n }\n\n a {\n text-decoration: none;\n }\n\n descope-text {\n ${Li.cssVarList.hostDirection}: var(${eh.cssVarList.hostDirection});\n max-width: 100%;\n width: 100%;\n }\n `})),ih=eh.cssVarList,oh=et(ep),nh="400px",rh={[ih.itemsTextAlign]:"start",[ih.hostDirection]:oh.direction,[ih.maxHeight]:nh,[ih.itemHoverBackgroundColor]:oh.colors.surface.highlight,_empty:{[ih.minHeight]:nh},size:{xs:{[ih.itemsFontSize]:"14px",[ih.itemsFontWeight]:"normal"},sm:{[ih.itemsFontSize]:"14px",[ih.itemsFontWeight]:"normal"},md:{[ih.itemsFontSize]:"16px",[ih.itemsFontWeight]:"normal"},lg:{[ih.itemsFontSize]:"20px",[ih.itemsFontWeight]:"normal"}},itemPadding:{xs:{[ih.itemVerticalPadding]:oh.spacing.xs,[ih.itemHorizontalPadding]:oh.spacing.xs},sm:{[ih.itemVerticalPadding]:oh.spacing.sm,[ih.itemHorizontalPadding]:oh.spacing.sm},md:{[ih.itemVerticalPadding]:oh.spacing.md,[ih.itemHorizontalPadding]:oh.spacing.md},lg:{[ih.itemVerticalPadding]:oh.spacing.lg,[ih.itemHorizontalPadding]:oh.spacing.lg},xl:{[ih.itemVerticalPadding]:oh.spacing.xl,[ih.itemHorizontalPadding]:oh.spacing.xl}}};var sh=Object.freeze({__proto__:null,default:rh,vars:ih});const ah=et(ep),lh=hu.cssVarList,[dh,ch,uh]=ot({shadowColor:"#00000020"},uu),{shadowColor:ph}=ch,hh={...dh,[lh.hostWidth]:"100%",[lh.backgroundColor]:ah.colors.surface.main,[lh.fontFamily]:ah.fonts.font1.family,[lh.borderColor]:ah.colors.surface.light,[lh.borderStyle]:"solid",[lh.borderWidth]:ah.border.xs,[lh.borderRadius]:ah.radius.sm,[lh.gap]:ah.spacing.md,[lh.verticalPadding]:ah.spacing.lg,[lh.horizontalPadding]:ah.spacing.lg,[lh.boxShadow]:`${ah.shadow.wide.sm} ${ph}, ${ah.shadow.narrow.sm} ${ph}`,[lh.maxHeight]:"100%",[lh.hostDirection]:ah.direction,[lh.minItemsWidth]:"150px",[lh.maxRowItems]:"1000",_empty:{[lh.minHeight]:"150px",[lh.emptyStateTextColor]:ah.colors.surface.dark,[lh.emptyStateTextFontFamily]:ah.fonts.font1.family},variant:{tiles:{[lh.gridTemplateColumns]:`repeat(auto-fit, minmax(\n max(\n min(${it(lh.minItemsWidth)}, 100%),\n calc((100% - (${it(lh.maxRowItems)} - 1) * ${it(lh.gap)}) / ${it(lh.maxRowItems)})),\n 1fr))`,[lh.maxItemsWidth]:"200px",[lh.itemsHorizontalAlign]:"center"}},gap:{xs:{[lh.gap]:ah.spacing.xs},sm:{[lh.gap]:ah.spacing.sm},md:{[lh.gap]:ah.spacing.md},lg:{[lh.gap]:ah.spacing.lg},xl:{[lh.gap]:ah.spacing.xl}}},gh={...lh,...uh};var Mh=Object.freeze({__proto__:null,default:hh,vars:gh});const mh=et(ep),yh=cu.cssVarList,bh={[yh.backgroundColor]:mh.colors.surface.main,[yh.verticalPadding]:mh.spacing.lg,[yh.horizontalPadding]:mh.spacing.lg,[yh.gap]:mh.spacing.md,[yh.borderStyle]:"solid",[yh.borderWidth]:mh.border.xs,[yh.borderColor]:mh.colors.surface.main,[yh.borderRadius]:mh.radius.sm,[yh.cursor]:"pointer",[yh.alignItems]:"center",[yh.flexDirection]:"row",[yh.transition]:"border-color 0.2s, background-color 0.2s",variant:{tile:{[yh.alignItems]:"flex-start",[yh.flexDirection]:"column",[yh.borderColor]:mh.colors.surface.light}},_hover:{[yh.backgroundColor]:mh.colors.surface.highlight},_active:{[yh.backgroundColor]:mh.colors.surface.main,[yh.borderColor]:mh.colors.primary.light,[yh.outline]:`1px solid ${mh.colors.primary.light}`}};var Nh=Object.freeze({__proto__:null,default:bh,vars:yh});const Ih=L("multi-select-combo-box"),{host:xh,inputField:jh,inputElement:Th,placeholder:Dh,toggle:zh,clearButton:vh,label:Ch,requiredIndicator:Sh,helperText:Lh,errorMessage:Ah,chip:wh,chipLabel:fh,overflowChipFirstBorder:Eh,overflowChipSecondBorder:kh}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"input"},placeholder:{selector:"> input:placeholder-shown"},toggle:{selector:"::part(toggle-button)"},clearButton:{selector:"::part(clear-button)"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},chip:{selector:"vaadin-multi-select-combo-box-chip"},chipLabel:{selector:"vaadin-multi-select-combo-box-chip::part(label)"},overflowChipFirstBorder:{selector:"vaadin-multi-select-combo-box-chip[slot='overflow']::before"},overflowChipSecondBorder:{selector:"vaadin-multi-select-combo-box-chip[slot='overflow']::after"}},Oh=T(ct({mappings:{hostWidth:{...xh,property:"width"},hostDirection:{...xh,property:"direction"},fontSize:[{},xh],chipFontSize:{...fh,property:"font-size"},fontFamily:[Ch,Dh,jh,Lh,Ah,fh],labelFontSize:{...Ch,property:"font-size"},labelFontWeight:{...Ch,property:"font-weight"},inputValueFontWeight:{...jh,property:"font-weight"},inputPlaceholderFontWeight:{...Dh,property:"font-weight"},helperTextFontWeight:{...Lh,property:"font-weight"},errorMessageFontWeight:{...Ah,property:"font-weight"},labelTextColor:[{...Ch,property:"color"},{...Sh,property:"color"}],errorMessageTextColor:{...Ah,property:"color"},errorMessageIcon:{...Ah,property:"background-image"},errorMessageIconSize:{...Ah,property:"background-size"},errorMessageIconPadding:{...Ah,property:"padding-inline-start"},errorMessageIconRepeat:{...Ah,property:"background-repeat"},errorMessageIconPosition:{...Ah,property:"background-position"},errorMessageFontSize:{...Ah,property:"font-size"},inputHeight:{...jh,property:"min-height"},inputBackgroundColor:{...jh,property:"background-color"},inputBorderColor:{...jh,property:"border-color"},inputBorderWidth:{...jh,property:"border-width"},inputBorderStyle:{...jh,property:"border-style"},inputBorderRadius:{...jh,property:"border-radius"},labelRequiredIndicator:{...Sh,property:"content"},inputValueTextColor:{...jh,property:"color"},inputPlaceholderTextColor:{...Dh,property:"color"},inputDropdownButtonCursor:[{...zh,property:"cursor"},{...vh,property:"cursor"}],inputDropdownButtonColor:[{...zh,property:"color"},{...vh,property:"color"}],inputDropdownButtonSize:[{...zh,property:"font-size"},{...vh,property:"font-size"}],inputDropdownButtonOffset:[{...zh,property:"margin-right"},{...zh,property:"margin-left"}],inputOutlineColor:{...jh,property:"outline-color"},inputOutlineWidth:{...jh,property:"outline-width"},inputOutlineStyle:{...jh,property:"outline-style"},inputOutlineOffset:{...jh,property:"outline-offset"},inputHorizontalPadding:[{...Th,property:"padding-left"},{...Th,property:"padding-right"},{...jh,property:"padding-inline-start"}],inputVerticalPadding:[{...jh,property:"padding-top"},{...jh,property:"padding-bottom"}],chipTextColor:{...fh,property:"color"},chipBackgroundColor:[{...wh,property:"background-color"},{...Eh,property:"border-color"},{...kh,property:"border-color"}],labelPosition:{...Ch,property:"position"},labelTopPosition:{...Ch,property:"top"},labelLeftPosition:{...Ch,property:"left"},labelHorizontalPosition:[{...Ch,property:"left"},{...Ch,property:"right"}],inputTransformY:{...Ch,property:"transform"},inputTransition:{...Ch,property:"transition"},marginInlineStart:{...Ch,property:"margin-inline-start"},placeholderOpacity:{...Dh,property:"opacity"},inputVerticalAlignment:{...jh,property:"align-items"},overlayBackground:{property:()=>Oh.cssVarList.overlay.backgroundColor},overlayTextColor:{property:()=>Oh.cssVarList.overlay.textColor},overlayBorder:{property:()=>Oh.cssVarList.overlay.border},overlayFontSize:{property:()=>Oh.cssVarList.overlay.fontSize},overlayFontFamily:{property:()=>Oh.cssVarList.overlay.fontFamily},overlayCursor:{property:()=>Oh.cssVarList.overlay.cursor},overlayItemBoxShadow:{property:()=>Oh.cssVarList.overlay.itemBoxShadow},overlayItemPaddingInlineStart:{property:()=>Oh.cssVarList.overlay.itemPaddingInlineStart},overlayItemPaddingInlineEnd:{property:()=>Oh.cssVarList.overlay.itemPaddingInlineEnd}}}),ut,Et({name:"overlay",selector:"vaadin-multi-select-combo-box-internal",mappings:{backgroundColor:{selector:"vaadin-multi-select-combo-box-scroller"},minHeight:{selector:"vaadin-multi-select-combo-box-overlay"},margin:{selector:"vaadin-multi-select-combo-box-overlay"},cursor:{selector:"vaadin-multi-select-combo-box-item"},fontFamily:{selector:"vaadin-multi-select-combo-box-item"},textColor:{selector:"vaadin-multi-select-combo-box-item",property:"color"},fontSize:{selector:"vaadin-multi-select-combo-box-item"},itemBoxShadow:{selector:"vaadin-multi-select-combo-box-item",property:"box-shadow"},itemPaddingInlineStart:{selector:"vaadin-multi-select-combo-box-item",property:"padding-inline-start"},itemPaddingInlineEnd:{selector:"vaadin-multi-select-combo-box-item",property:"padding-inline-end"}},forward:{include:!1,attributes:["size"]}}),wt({proxyProps:["selectionStart"],inputEvent:"selected-items-changed"}),Nt,pt,t=>class extends t{static get observedAttributes(){return["readonly"]}#tt=({displayName:t,value:e,label:i})=>{const o=document.createElement("span");return o.setAttribute("data-name",i),o.setAttribute("data-id",e),o.textContent=t||i,o.outerHTML};#U;#Me=[];get defaultValues(){const t=this.getAttribute("default-values");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}get data(){if(this.#U)return this.#U;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" -',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#U=t,this.renderItems())}get allowCustomValues(){return"true"===this.getAttribute("allow-custom-value")}get minItemsSelection(){return parseInt(this.getAttribute("min-items-selection"),10)||0}get maxItemsSelection(){return parseInt(this.getAttribute("max-items-selection"),10)||0}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data and default-values must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}updateSelectedItems(){const t=this.baseElement.selectedItems?.map(t=>t.getAttribute("data-id"))||[];t.length>0&&(this.value=t),0===this.value.length&&this.setDefaultValues()}customValueTransformFn(t){return t}setComboBoxDescriptor(){const t=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value"),e=this;Object.defineProperties(this.inputElement,{value:{...t,set(i){const o=e.customValueTransformFn(i)||"";o!==this.value&&t.set.call(this,o)}}})}#me(t){return Array.from(new Map(t.map(t=>[t.getAttribute("data-id"),t])).values())}#et(){const t=Array.from(this.children),e=this.#me(t);t.length?(this.removeAttribute("has-no-options"),e.forEach(t=>{Object.defineProperty(t,"data-name",{value:t.getAttribute("data-name"),configurable:!0,writable:!0}),Object.defineProperty(t,"data-id",{value:t.getAttribute("data-id"),configurable:!0,writable:!0})}),this.baseElement.items=e,setTimeout(()=>{this.updateSelectedItems()},0)):(this.baseElement.items=[],this.setAttribute("has-no-options","")),this.baseElement.renderer=(t,e,i)=>{t.innerHTML=i.item.outerHTML}}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-multi-select-combo-box-internal").shadowRoot.querySelector("vaadin-multi-select-combo-box-overlay");t._attachOverlay=()=>{t.bringToFront()},t._detachOverlay=()=>{},t._enterModalState=()=>{}}#ye(){this.allowCustomValues&&this.baseElement.addEventListener("custom-value-set",t=>{const e=this.#tt({label:t.detail,displayName:t.detail,value:t.detail});this.innerHTML+=e,this.baseElement._lastFilter="",setTimeout(()=>{this.value=[...this.value,t.detail]},0)})}setGetValidity(){this.getValidity=function(){if(this.pattern){const t=new RegExp(this.pattern);if(this.value.some(e=>!t.test(e)))return{patternMismatch:!0}}return this.isRequired&&!this.value.length?{valueMissing:!0}:this.isRequired&&this.minItemsSelection&&this.value.length<this.minItemsSelection?{rangeUnderflow:!0}:this.maxItemsSelection&&this.value.length>this.maxItemsSelection?{rangeOverflow:!0}:{}};const t=this;this.baseElement.checkValidity=()=>t.validity.valid}init(){super.init?.(),this.setGetValidity(),this.#ye(),this.renderItems(),z(this,this.renderItems.bind(this),{includeAttrs:["data"]}),v(this,this.#et.bind(this)),w(this,this.baseElement,{includeAttrs:["placeholder"]}),setTimeout(()=>{this.setComboBoxDescriptor(),this.#it()}),this.setDefaultValues(),this.baseElement.addEventListener("selected-items-changed",()=>{this.#be(),this.dispatchEvent(new CustomEvent("input",{bubbles:!0}))})}setDefaultValues(){this.defaultValues.length>0&&(this.value=this.defaultValues)}#be(){this.#Me=this.baseElement.selectedItems?.map(t=>t.getAttribute("data-id"))||[]}set value(t){if(t&&t.length>0){const e=this.baseElement.items?.filter(e=>t.includes(e["data-id"]));if(this.allowCustomValues){const i=e?.map(t=>t.getAttribute("data-id"))||[],o=t.filter(t=>!i.includes(t));if(o.length){const e=o.reduce((t,e)=>t+this.#tt({label:e,displayName:e,value:e}),"");return this.innerHTML+=e,void setTimeout(()=>{this.value=t},0)}}const i=e?.map(t=>t.getAttribute("data-id"))||[];((t,e)=>{if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;const i=t.slice().sort(),o=e.slice().sort();for(let t=0;t<i.length;t++)if(i[t]!==o[t])return!1;return!0})(this.#Me,i)||(this.baseElement.selectedItems=e)}else this.baseElement.selectedItems=[]}get value(){return this.#Me}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"readonly"===t&&this.onReadOnlyChange(null!==i&&"true"===i)}onReadOnlyChange(t){t?this.baseElement?.shadowRoot?.querySelector("vaadin-multi-select-combo-box-internal")?.setAttribute("inert",t):this.baseElement?.shadowRoot?.querySelector("vaadin-multi-select-combo-box-internal")?.removeAttribute("inert")}})(Ct({slots:["","prefix"],wrappedEleName:"vaadin-multi-select-combo-box",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tbox-sizing: border-box;\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t${H(Oh.cssVarList)}\n\t\t${_("vaadin-multi-select-combo-box")}\n\t\t${$("vaadin-multi-select-combo-box")}\n\t\t${J("vaadin-multi-select-combo-box")}\n\n\t\tvaadin-multi-select-combo-box {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\tvaadin-multi-select-combo-box::before {\n\t\t\theight: initial;\n\t\t}\n\t\tvaadin-multi-select-combo-box [slot="input"] {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n align-self: center;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\t\tvaadin-multi-select-combo-box[readonly] [slot="input"] {\n flex-grow: 1;\n flex-basis: 4em;\n\t\t}\n\n\t\t::part(input-field) {\n padding: 0;\n\t\t\tbox-shadow: none;\n\t\t}\n ${q("vaadin-multi-select-combo-box")}\n :host([has-label]) vaadin-multi-select-combo-box-chip::part(label) {\n display: block;\n }\n\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::before,\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {\n left: -4px;\n right: -4px;\n border-left-width: 0;\n border-inline-start-style: solid;\n border-inline-start-width: 2px;\n }\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {\n left: -8px;\n right: -8px;\n }\n\n :host([has-no-options][allow-custom-value='true']) ::part(toggle-button) {\n display: none;\n }\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-multi-select-combo-box::part(toggle-button),\n vaadin-multi-select-combo-box::part(clear-button) {\n align-self: center;\n }\n\n vaadin-multi-select-combo-box[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-multi-select-combo-box[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n\t\t`,excludeAttrsSync:["tabindex","size","data","placeholder","style"],componentName:Ih,includeForwardProps:["items","renderer","selectedItems"]})),Vh=L("multi-line-mappings"),Uh=yt({componentName:Vh}),Yh=t=>null==t?"":String("object"==typeof t?t.value??t.id??t.label??"":t),Wh=t=>[...new Set(t.map(Yh).filter(Boolean))],Rh=t=>{const e=Yh(t);return"object"==typeof t&&null!==t?{...t,value:e,label:String(t.label??t.displayName??e)}:{value:e,label:e}},Qh=t=>{if(!Array.isArray(t))return[];const e=new Set;return t.map(Rh).filter(t=>!(!t.value||e.has(t.value)||(e.add(t.value),0)))},Ph=(t=[],e=[])=>t.length===e.length&&t.every((t,i)=>t===e[i]),Bh={selector:()=>":host"},Zh={selector:".row"},Fh={selector:".add-action"},Gh=T(ct({mappings:{hostWidth:{...Bh,property:"width"},hostDirection:[{...Bh,property:"direction"},{selector:Oh.componentName,property:Oh.cssVarList.hostDirection},{selector:ko.componentName,property:ko.cssVarList.hostDirection}],rowsGap:{selector:".rows",property:"gap"},rowGap:{...Zh,property:"gap"},rowAlignItems:{...Zh,property:"align-items"},rowWrap:{...Zh,property:"flex-wrap"},addActionJustifyContent:{...Fh,property:"justify-content"},addActionMarginTop:{...Fh,property:"margin-top"}}}),ut)(class extends Uh{static get observedAttributes(){return["data","max-rows","size","disabled","readonly","first-value-key","second-value-key","first-label","second-label","first-placeholder","second-placeholder","full-width","merge-rows"]}#Ne=[{firstValues:[],secondValues:[]}];#Ie=null;#xe=[];#je={};constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="rows"></div>\n <div class="add-action">\n <descope-button\n class="add-button"\n variant="link"\n mode="primary"\n >\n <slot name="add-button-content">Add line</slot>\n </descope-button>\n </div>\n </div>\n ',f("\n :host {\n display: inline-flex;\n box-sizing: border-box;\n max-width: 100%;\n }\n\n .wrapper {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .rows {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .rows > .row {\n display: flex;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n align-items: flex-end;\n }\n\n .row descope-multi-select-combo-box {\n flex: 1 1 0;\n box-sizing: border-box;\n }\n\n .row .remove-button {\n flex: 0 0 auto;\n align-self: flex-end;\n }\n\n .row:only-child .remove-button {\n display: none;\n pointer-events: none;\n }\n\n .add-action {\n display: flex;\n }\n ",this),this.rowsElement=this.shadowRoot.querySelector(".rows"),this.addButtonElement=this.shadowRoot.querySelector(".add-button")}get size(){return this.getAttribute("size")||"md"}get firstValueKey(){return this.getAttribute("first-value-key")||"firstValues"}get secondValueKey(){return this.getAttribute("second-value-key")||"secondValues"}get firstLabel(){return this.getAttribute("first-label")||""}get secondLabel(){return this.getAttribute("second-label")||""}get firstPlaceholder(){return this.getAttribute("first-placeholder")||""}get secondPlaceholder(){return this.getAttribute("second-placeholder")||""}get disabled(){return"true"===this.getAttribute("disabled")}get readonly(){return"true"===this.getAttribute("readonly")}get mergeRows(){return"true"===this.getAttribute("merge-rows")}get maxRows(){const t=Number(this.getAttribute("max-rows"));return Number.isFinite(t)&&t>0?t:void 0}get data(){return this.#je}get value(){return this.#Ne.filter(t=>t.firstValues.length>0||t.secondValues.length>0).flatMap(t=>(t.firstValues.length?t.firstValues:[""]).map(e=>({[this.firstValueKey]:e,[this.secondValueKey]:[...t.secondValues]})))}set value(t){this.#Ie=t,this.#Ne=this.#Te(t),this.#De(),this.#ze()}#ve(t){const e=((t,e,i="unknown")=>{if("string"!=typeof t||!t?.trim())return e;try{return JSON.parse(t)}catch(t){return console.error(`[descope-multi-line-mappings] Failed to parse JSON from "${i}"`,t),e}})(t,{},"data attribute"),i=e&&"object"==typeof e&&!Array.isArray(e)?e:{};this.#xe=Object.entries(i).map(([t,e])=>{const i=String(t),o=null!=e&&"object"==typeof e&&!Array.isArray(e),n=o?e.options??[]:e;return{value:i,label:o&&null!=e.label?String(e.label):i,options:Qh(n)}}),this.#je=Object.fromEntries(this.#xe.map(({value:t,options:e})=>[t,e]))}init(){super.init?.(),this.#Ce(),this.addButtonElement.addEventListener("click",()=>this.#Se()),this.#ze()}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i){if("data"===t)return this.#ve(i),this.#De(),void this.#ze();if("size"===t)return[...this.#Le(),...this.#Ae()].forEach(t=>t.setAttribute("size",this.size)),this.#Ce(),void this.#we();if(["disabled","readonly"].includes(t))return this.#Le().forEach(t=>{t[this.disabled?"setAttribute":"removeAttribute"]("disabled","true"),t[this.readonly?"setAttribute":"removeAttribute"]("readonly","true")}),this.#Ae().forEach(t=>t[this.disabled||this.readonly?"setAttribute":"removeAttribute"]("disabled","true")),void this.#we();if(["first-label","second-label"].includes(t)){const e="first-label"===t?"first":"second";return void Array.from(this.rowsElement.children).forEach(t=>{const o=t.querySelector(`.${e}-combo`);i?o?.setAttribute("label",i):o?.removeAttribute("label")})}if(["first-placeholder","second-placeholder"].includes(t)){const e="first-placeholder"===t?"first":"second";return void Array.from(this.rowsElement.children).forEach(t=>{const o=t.querySelector(`.${e}-combo`);i?o?.setAttribute("placeholder",i):o?.removeAttribute("placeholder")})}"max-rows"===t&&this.#we(),"merge-rows"===t&&null!==this.#Ie&&(this.#Ne=this.#Te(this.#Ie),this.#De(),this.#ze())}}#Le(){return Array.from(this.rowsElement.querySelectorAll("descope-multi-select-combo-box"))}#Ae(){return Array.from(this.rowsElement.querySelectorAll(".remove-button"))}#Se(){if(this.disabled||this.readonly||this.#fe())return;const t={firstValues:[],secondValues:[]};this.#Ne=[...this.#Ne,t],this.rowsElement.append(this.#Ee(t)),this.#we()}#Te(t){if(!Array.isArray(t)||!t.length)return[{firstValues:[],secondValues:[]}];let e=t.map(t=>{const e=t?.[this.firstValueKey];return{firstValues:null!=e&&""!==String(e)?[String(e)]:[],secondValues:Wh(t?.[this.secondValueKey]??[])}});if(this.mergeRows){const t=new Map;for(const i of e){const e=[...i.secondValues].sort().join("\0");t.has(e)?t.get(e).firstValues.push(...i.firstValues):t.set(e,{firstValues:[...i.firstValues],secondValues:i.secondValues})}e=[...t.values()]}return e}#De(){const t=new Set(this.#xe.map(t=>t.value));this.#Ne=this.#Ne.map(e=>{const i=e.firstValues.filter(e=>t.has(e)),o=this.#ke(i),n=new Set(o.map(t=>t.value));return{firstValues:i,secondValues:e.secondValues.filter(t=>n.has(t))}})}#ke(t){const e=t.length?t.map(t=>this.#je[t]||[]).filter(t=>t.length):Object.values(this.#je).filter(t=>t.length);if(!e.length||t.length&&e.length!==t.length)return[];if(1===e.length)return e[0];const[i,...o]=e,n=new Set(i.map(t=>t.value));for(const t of o){const e=new Set(t.map(t=>t.value));for(const t of n)e.has(t)||n.delete(t)}return i.filter(t=>n.has(t.value))}#Oe({getRowIndex:t,type:e,label:i,placeholder:o,options:n,selectedValues:r}){const s=document.createElement("descope-multi-select-combo-box");return s.className=`combo ${e}-combo`,s.setAttribute("size",this.size),s.setAttribute("bordered","true"),s.setAttribute("item-label-path","data-name"),s.setAttribute("item-value-path","data-id"),i&&s.setAttribute("label",i),o&&s.setAttribute("placeholder",o),this.disabled&&s.setAttribute("disabled","true"),this.readonly&&s.setAttribute("readonly","true"),s.data=n,this.#Ve(s,r),s.addEventListener("input",()=>{if(s.__descopeSyncingSelection)return;const i=t();-1!==i&&this.#Ue({rowIndex:i,type:e,selectedValues:Wh(s.value||[])})}),s}#Ve(t,e){t.__descopeSyncingSelection=!0,Promise.resolve().then(()=>{const i=new Set(e||[]);t.selectedItems=(t.items||[]).filter(t=>i.has(t["data-id"]||t.getAttribute?.("data-id"))),t.__descopeSyncingSelection=!1})}#Ye(t){const e=document.createElement("descope-button");return e.className="remove-button",e.setAttribute("variant","link"),e.setAttribute("mode","primary"),e.setAttribute("size",this.size),e.setAttribute("aria-label","Remove row"),e.innerHTML='<vaadin-icon icon="vaadin:minus"></vaadin-icon>',(this.disabled||this.readonly)&&e.setAttribute("disabled","true"),e.addEventListener("click",()=>{const e=t();-1!==e&&this.#We(e)}),e}#ze(){this.rowsElement.innerHTML="",this.#Ne.forEach(t=>{this.rowsElement.append(this.#Ee(t))}),this.#we()}#Ee(t){const e=document.createElement("div");e.className="row";const i=()=>Array.from(this.rowsElement.children).indexOf(e),o=this.#Oe({getRowIndex:i,type:"first",label:this.firstLabel,placeholder:this.firstPlaceholder,options:this.#xe.map(({value:t,label:e})=>({value:t,label:e})),selectedValues:t.firstValues}),n=this.#ke(t.firstValues),r=this.#Oe({getRowIndex:i,type:"second",label:this.secondLabel,placeholder:this.secondPlaceholder,options:n,selectedValues:t.secondValues});return e.append(o,r,this.#Ye(i)),e}#Re(t){const e=this.#Ne[t];if(!e)return;const i=this.rowsElement.children[t],o=i?.querySelector(".second-combo");if(!o)return void this.#ze();const n=this.#ke(e.firstValues);o.data=n,this.#Ve(o,e.secondValues)}#Ce(){this.addButtonElement.setAttribute("size",this.size)}#we(){this.disabled||this.readonly||this.#fe()?this.addButtonElement.setAttribute("disabled","true"):this.addButtonElement.removeAttribute("disabled")}#fe(){return Number.isFinite(this.maxRows)&&this.#Ne.length>=this.maxRows}#Qe(t){this.rowsElement.children[t]?.remove()}#Ue({rowIndex:t,type:e,selectedValues:i}){if(this.disabled||this.readonly)return;const o=this.#Ne[t];if(o){if("first"===e){const e=this.#ke(i),n=new Set(e.map(t=>t.value)),r=o.secondValues.filter(t=>n.has(t));if(Ph(o.firstValues,i)&&Ph(o.secondValues,r))return;return this.#Ne[t]={firstValues:i,secondValues:r},this.#Re(t),void this.#Pe()}Ph(o.secondValues,i)||(this.#Ne[t]={...o,secondValues:i},this.#Pe())}}#We(t){if(this.disabled||this.readonly||this.#Ne.length<=1)return;const e=this.#Ne[t];this.#Ne=this.#Ne.filter((e,i)=>i!==t),this.#Qe(t),this.#we(),(e.firstValues.length>0||e.secondValues.length>0)&&this.#Pe()}#Pe(){this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}}),Hh=Gh.cssVarList,Jh={[Hh.hostDirection]:Cp.direction,[Hh.rowsGap]:ep.spacing.sm,[Hh.rowGap]:ep.spacing.sm,[Hh.rowAlignItems]:"flex-end",[Hh.rowWrap]:"nowrap",[Hh.addActionJustifyContent]:"flex-start",[Hh.addActionMarginTop]:ep.spacing.xs,_fullWidth:{[Hh.hostWidth]:"100%"}};var $h=Object.freeze({__proto__:null,default:Jh,vars:Hh});const _h=et(ep),qh=Oh.cssVarList,Xh={[qh.hostWidth]:Cp.width,[qh.hostDirection]:Cp.direction,[qh.fontSize]:Cp.fontSize,[qh.fontFamily]:Cp.fontFamily,[qh.labelFontSize]:Cp.labelFontSize,[qh.labelFontWeight]:Cp.labelFontWeight,[qh.inputValueFontWeight]:Cp.inputValueFontWeight,[qh.inputPlaceholderFontWeight]:Cp.inputPlaceholderFontWeight,[qh.helperTextFontWeight]:Cp.helperTextFontWeight,[qh.errorMessageFontWeight]:Cp.errorMessageFontWeight,[qh.labelTextColor]:Cp.labelTextColor,[qh.errorMessageTextColor]:Cp.errorMessageTextColor,[qh.inputBorderColor]:Cp.borderColor,[qh.inputBorderWidth]:Cp.borderWidth,[qh.inputBorderStyle]:Cp.borderStyle,[qh.inputBorderRadius]:Cp.borderRadius,[qh.inputOutlineColor]:Cp.outlineColor,[qh.inputOutlineOffset]:Cp.outlineOffset,[qh.inputOutlineWidth]:Cp.outlineWidth,[qh.inputOutlineStyle]:Cp.outlineStyle,[qh.labelRequiredIndicator]:Cp.requiredIndicator,[qh.inputValueTextColor]:Cp.valueTextColor,[qh.inputPlaceholderTextColor]:Cp.placeholderTextColor,[qh.inputBackgroundColor]:Cp.backgroundColor,[qh.inputHorizontalPadding]:Cp.horizontalPadding,[qh.inputVerticalPadding]:Cp.verticalPadding,[qh.inputHeight]:Cp.inputHeight,[qh.inputDropdownButtonColor]:_h.colors.surface.dark,[qh.inputDropdownButtonCursor]:"pointer",[qh.inputDropdownButtonSize]:Cp.toggleButtonSize,[qh.inputDropdownButtonOffset]:_h.spacing.xs,[qh.overlayItemPaddingInlineStart]:_h.spacing.xs,[qh.overlayItemPaddingInlineEnd]:_h.spacing.lg,[qh.chipFontSize]:Cp.chipFontSize,[qh.chipTextColor]:_h.colors.surface.contrast,[qh.chipBackgroundColor]:_h.colors.surface.light,[qh.labelPosition]:Cp.labelPosition,[qh.labelTopPosition]:Cp.labelTopPosition,[qh.labelLeftPosition]:Cp.labelLeftPosition,[qh.labelHorizontalPosition]:Cp.labelHorizontalPosition,[qh.inputTransformY]:Cp.inputTransformY,[qh.inputTransition]:Cp.inputTransition,[qh.marginInlineStart]:Cp.marginInlineStart,[qh.placeholderOpacity]:Cp.placeholderOpacity,[qh.inputVerticalAlignment]:Cp.inputVerticalAlignment,[qh.errorMessageIcon]:Cp.errorMessageIcon,[qh.errorMessageIconSize]:Cp.errorMessageIconSize,[qh.errorMessageIconPadding]:Cp.errorMessageIconPadding,[qh.errorMessageIconRepeat]:Cp.errorMessageIconRepeat,[qh.errorMessageIconPosition]:Cp.errorMessageIconPosition,[qh.errorMessageFontSize]:Cp.errorMessageFontSize,labelType:{floating:{[qh.inputHorizontalPadding]:"0.25em",_hasValue:{[qh.inputHorizontalPadding]:"0.45em"}}},_readonly:{[qh.inputDropdownButtonCursor]:"default"},[qh.overlayFontSize]:Cp.fontSize,[qh.overlayFontFamily]:Cp.fontFamily,[qh.overlayCursor]:"pointer",[qh.overlayItemBoxShadow]:"none",[qh.overlayBackground]:Cp.backgroundColor,[qh.overlayTextColor]:Cp.valueTextColor,[qh.overlay.minHeight]:"400px",[qh.overlay.margin]:"0"};var Kh=Object.freeze({__proto__:null,default:Xh,multiSelectComboBox:Xh,vars:qh});const tg=L("autocomplete-field-internal"),eg=Dt({componentName:tg,baseSelector:""}),ig=[],og="DESCOPE_INVALID_OPTION",ng=L("autocomplete-field"),{host:rg}={host:{selector:()=>":host"}},sg=T(ct({componentNameOverride:L("input-wrapper")}),ct({mappings:{hostWidth:{...rg,property:"width"},hostDirection:{...rg,property:"direction"},fontSize:{...rg},checkmarkDisplay:{selector:xo.componentName,property:xo.cssVarList.overlayCheckmarkDisplay},itemPaddingInlineStart:{selector:xo.componentName,property:xo.cssVarList.overlayItemPaddingInlineStart},itemPaddingInlineEnd:{selector:xo.componentName,property:xo.cssVarList.overlayItemPaddingInlineEnd},selectedItemBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemBackground},selectedItemHoverBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemHoverBackground},selectedItemFocusBackground:{selector:xo.componentName,property:xo.cssVarList.overlaySelectedItemFocusBackground},itemHoverBackground:{selector:xo.componentName,property:xo.cssVarList.overlayItemHoverBackground}}}),ut,wt({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){this.defaultValue&&setTimeout(()=>{this.inputElement.value=this.defaultValue})}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${tg}\n tabindex="-1"\n ></${tg}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(tg),w(this,this.inputElement,{includeAttrs:["size","bordered","label","required","label-type","placeholder","full-width","allow-custom-value","min-search-length","no-results-message","error-fetching-results-message","data-errormessage-value-missing","invalid","error-message","readonly","disabled","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),S(this,this.inputElement,{includeAttrs:["invalid"]}),this.inputElement.fetchResults=this.fetchResults,this.setDefaultValue()}set fetchResults(t){this.inputElement.fetchResults=t}})(Ct({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>"\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-autocomplete-field-internal {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n descope-autocomplete-field-internal ::slotted {\n padding: 0;\n }\n ",excludeAttrsSync:["tabindex","error-message","label","style"],componentName:ng})),ag=sg.cssVarList,lg=et(ep),dg={[ag.hostWidth]:Cp.width,[ag.hostDirection]:Cp.direction,[ag.fontSize]:Cp.fontSize,[ag.checkmarkDisplay]:"none",[ag.itemPaddingInlineStart]:lg.spacing.lg,[ag.itemPaddingInlineEnd]:lg.spacing.lg,[ag.selectedItemBackground]:lg.colors.primary.light,[ag.selectedItemHoverBackground]:lg.colors.primary.light,[ag.selectedItemFocusBackground]:lg.colors.primary.light,[ag.itemHoverBackground]:lg.colors.primary.highlight,_fullWidth:{[ag.hostWidth]:"100%"}};var cg=Object.freeze({__proto__:null,default:dg,vars:ag});class ug extends(vt()){#Be=null;#Ze=null;constructor(t){super(t),this.#Ze=this.#Fe()}getRequiredParams(){return["public-api-key"]}getOptionalParams(){return[{key:"includedPrimaryTypes",attribute:"address-types"},{key:"language",attribute:"address-language"},{key:"region",attribute:"address-region"}]}async#Fe(){const t=this.getAttribute("public-api-key");if(!this.#Be&&t)try{(t=>{var e,i,o,n,r,s,a,l,d,c,u,p,h;window.google?.maps||(e={key:t},r="The Google Maps JavaScript API",s="google",a="importLibrary",l="__ib__",d=document,c=window,u=(c=c[s]||(c[s]={})).maps||(c.maps={}),p=new Set,h=new URLSearchParams,u[a]?console.warn(r+" only loads once. Ignoring:",e):u[a]=(t,...c)=>p.add(t)&&(i||(i=new Promise(async(t,a)=>{for(n in await(o=d.createElement("script")),h.set("libraries",[...p]+""),e)h.set(n.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),e[n]);h.set("callback",s+".maps."+l),o.src=`https://maps.${s}apis.com/maps/api/js?`+h,u[l]=t,o.onerror=()=>i=a(Error(r+" could not load.")),o.nonce=d.querySelector("script[nonce]")?.nonce||"",d.head.append(o)}))).then(()=>u[a](t,...c)))})(t);const{AutocompleteSuggestion:e}=await google.maps.importLibrary("places");this.#Be=e}catch(t){throw console.error("Failed to initialize Google Maps Autocomplete service:",t),t}}async _fetchResults(t){if(!t?.trim())return{results:[]};try{await this.#Ze;const e={input:t};this.getOptionalParams().forEach(({attribute:t,key:i,defaultValue:o})=>{const n=this.getAttribute(t)||o;n&&(e[i]="includedPrimaryTypes"===i?n.split(",").map(t=>t.trim()).filter(Boolean):n)});const{suggestions:i}=await this.#Be.fetchAutocompleteSuggestions(e);return this.#Ge(i)}catch(t){return console.error("Google Maps Places Autocomplete failed:",t),{results:[],error:zt}}}#Ge(t){return t?.length?{results:t.map(t=>{const e=t.placePrediction;return{id:e.placeId,label:e.text.text,value:e.text.text}})}:{results:[]}}}class pg extends(vt()){getRequiredParams(){return["public-api-key"]}getOptionalParams(){return[{key:"layers",attribute:"address-types"},{key:"limit",attribute:"address-limit"},{key:"lang",attribute:"address-language"},{key:"countryCode",attribute:"address-region"}]}async _fetchResults(t){if(!t?.trim())return{results:[]};const e=this.getAttribute("public-api-key"),i=new URLSearchParams({query:t.trim()});this.getOptionalParams().forEach(({attribute:t,key:e,defaultValue:o})=>{const n=this.getAttribute(t)||o;n&&("layers"===e||"countryCode"===e?i.append(e,n.split(",").map(t=>t.trim()).filter(Boolean).join(",")):i.append(e,n))});try{const t=await fetch(`https://api.radar.io/v1/search/autocomplete?${i.toString()}`,{headers:{Authorization:e}});if(!t.ok)throw new Error(`Radar API returned ${t.status}`);const o=await t.json();return this.#Ge(o)}catch(t){return console.error("Radar Places Autocomplete failed:",t),{results:[],error:zt}}}#Ge(t){return t?.addresses?.length?{results:t.addresses.map(t=>({label:t.formattedAddress,value:t.formattedAddress}))}:{results:[]}}}const hg=L("address-field-internal"),gg="google-maps-places",Mg="radar",mg={[gg]:ug,[Mg]:pg},yg=Dt({componentName:hg,baseSelector:""}),bg=["public-api-key"],Ng=[...bg],Ig=T((({connectorClasses:t})=>e=>class extends e{#He=t;static get observedAttributes(){return[...e.observedAttributes||[],"connector-template"]}get connectorClasses(){return this.#He}set connectorClasses(t){this.#He=t}get connectorTemplate(){return this.getAttribute("connector-template")}initializeConnector(){const t=this.connectorTemplate;if(!this.connectorClasses[t])return;const e=this.connectorClasses[t];this.connector=new e(this.getAttribute.bind(this))}async fetchConnectorResults(t){if(!this.connector)return console.error(`No connector initialized for the field with template: ${this.connectorTemplate}`),{results:[]};const{results:e,error:i}=await this.connector.fetch(t);return i?{results:[],error:i}:{results:e.map(({label:t,value:e})=>({label:t,value:e}))}}init(){super.init?.(),this.initializeConnector()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&"connector-template"===t&&this.initializeConnector()}})({connectorClasses:mg}))(class extends yg{static get observedAttributes(){return[].concat(yg.observedAttributes||[],Ng)}get errorMsgValueMissing(){return this.getAttribute("data-errormessage-value-missing")||this.defaultErrorMsgValueMissing}constructor(){super(),this.innerHTML="\n <div>\n <descope-autocomplete-field></descope-autocomplete-field>\n </div>\n ",this.autocompleteField=this.querySelector("descope-autocomplete-field")}get value(){return this.autocompleteField.value}set value(t){this.autocompleteField.value=t}focus(){this.autocompleteField.focus()}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.autocompleteField.focus()}),super.init?.(),this.initAutocomplete()}initAutocomplete(){w(this,this.autocompleteField,{includeAttrs:["size","bordered","label","label-type","placeholder","disabled","readonly","required","full-width","helper-text","error-message","default-value","data-errormessage-value-missing","st-host-direction","allow-custom-value","min-search-length","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),S(this,this.autocompleteField,{includeAttrs:["invalid"]}),this.autocompleteField.fetchResults=this.fetchConnectorResults.bind(this)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&bg.includes(t)&&this.initializeConnector()}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{valid:!0}}}),xg=L("address-field"),{host:jg}={host:{selector:()=>":host"}},Tg=T(ct({componentNameOverride:L("input-wrapper")}),ct({mappings:{hostWidth:{...jg,property:"width"},hostDirection:{...jg,property:"direction"}}}),ut,wt({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){this.defaultValue&&setTimeout(()=>{this.inputElement.value=this.defaultValue})}set connectorClasses(t){this.inputElement.connectorClasses=t}get connectorClasses(){return this.inputElement.connectorClasses}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${hg}\n tabindex="-1"\n ></${hg}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(hg),w(this,this.inputElement,{includeAttrs:["size","bordered","label","required","label-type","placeholder","full-width","allow-custom-value","min-search-length","no-results-message","error-fetching-results-message","data-errormessage-value-missing","invalid","error-message","readonly","disabled","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding","connector-template","public-api-key","address-types","address-language","address-region","address-limit"]}),S(this,this.inputElement,{includeAttrs:["invalid"]}),this.setDefaultValue()}})(Ct({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n ${hg} {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n ${hg} ::slotted {\n padding: 0;\n }\n`,excludeAttrsSync:["tabindex","error-message","label","style"],componentName:xg})),Dg=Tg.cssVarList,zg={[Dg.hostWidth]:Cp.width,[Dg.hostDirection]:Cp.direction,_fullWidth:{[Dg.hostWidth]:"100%"}};var vg=Object.freeze({__proto__:null,default:zg,vars:Dg});const Cg=(t,e=2)=>String(t).padStart(e,"0"),Sg=L("timer"),Lg=["seconds","hide-icon","paused"],Ag=yt({componentName:Sg,baseSelector:":host > .wrapper"}),{host:wg,icon:fg,timer:Eg}={host:{selector:()=>":host"},icon:{selector:()=>".icon"},timer:{selector:()=>".timer"}},kg=T(ct({mappings:{fontSize:{},iconSize:[{...fg,property:"width"},{...fg,property:"height"}],fontFamily:{},minHeight:{},fontWeight:{...Eg},lineHeight:{...Eg},textColor:{...Eg,property:"color"},gap:{},textAlign:{property:"justify-content"},hostWidth:{...wg,property:"width"},hostDirection:{...wg,property:"direction"},iconColor:{...fg,property:So.cssVarList.fill}}}),ut,pt)(class extends Ag{#Je=0;#$e;static get observedAttributes(){return Lg.concat(Ag.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=" class="icon"></descope-icon>\n <div class="timer"></div>\n </div>\n\t\t',f("\n :host {\n display: inline-flex;\n user-select: none;\n -webkit-user-select: none;\n }\n .wrapper {\n display: flex;\n align-items: center;\n flex-direction: row;\n width: 100%;\n }\n .hidden {\n display: none;\n }\n ",this),this.icon=this.shadowRoot.querySelector(".icon"),this.timer=this.shadowRoot.querySelector(".timer")}get seconds(){const t=this.getAttribute("seconds"),e=1e3*parseInt(t||0,10);return Math.max(0,e)}get isPaused(){return"true"===this.getAttribute("paused")}init(){super.init?.(),this.#Je=this.seconds}startInterval(){this.#Je?this.#$e=setInterval(()=>{this.#_e(),this.#Je||this.stop(),this.#qe(this.#Je)},1e3):this.stop()}stopInterval(){clearInterval(this.#$e)}#_e(){this.#Je=this.#Je-1e3}reset(){this.#Je=this.seconds,this.#qe(this.#Je),this.isPaused||(this.dispatchEvent(new CustomEvent("timer-started",{bubbles:!0})),this.startInterval())}stop(){this.stopInterval(),this.#Je=0,this.#qe(this.#Je),this.dispatchEvent(new CustomEvent("timer-ended",{bubbles:!0}))}pause(){this.setAttribute("paused","true"),this.stopInterval()}resume(){this.removeAttribute("paused"),this.startInterval()}#qe(t){this.timer.textContent=((t=0)=>{const e=Math.floor(t/1e3),i=Math.floor(e/3600),o=Math.floor(e%3600/60),n=e%60;return[...i?[Cg(i)]:[],Cg(o),Cg(n)].join(":")})(t)}#Xe(t){this.icon.classList.toggle("hidden",t)}#Ke(t){setTimeout(()=>{t?this.pause():this.#$e||this.resume()})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("seconds"===t&&this.reset(),"hide-icon"===t&&this.#Xe("true"===i),"paused"===t&&this.#Ke("true"===i))}}),Og=et(ep),Vg=kg.cssVarList,Ug={[Vg.hostDirection]:Og.direction,[Vg.gap]:"0.25em",[Vg.fontFamily]:Og.fonts.font1.family,[Vg.minHeight]:"1.5em",[Vg.lineHeight]:"1em",[Vg.fontWeight]:Og.fonts.font1.fontWeight,[Vg.textColor]:Og.colors.surface.contrast,[Vg.iconColor]:Og.colors.surface.contrast,[Vg.iconSize]:"1em",size:{xs:{[Vg.fontSize]:"12px"},sm:{[Vg.fontSize]:"14px"},md:{[Vg.fontSize]:"16px"},lg:{[Vg.fontSize]:"18px"}},textAlign:{right:{[Vg.textAlign]:"right"},left:{[Vg.textAlign]:"left"},center:{[Vg.textAlign]:"center"}},_fullWidth:{[Vg.hostWidth]:"100%"}};var Yg=Object.freeze({__proto__:null,default:Ug,vars:Vg});const Wg=L("timer-button"),Rg=["button-variant","button-mode","size","text-align","full-width"],Qg={"button-variant":"variant","button-mode":"mode"},Pg=["timer-seconds","timer-hide-icon","timer-paused","size","text-align","full-width"],Bg={"timer-seconds":"seconds","timer-hide-icon":"hide-icon","timer-paused":"paused"},Zg=yt({componentName:Wg,baseSelector:":host > div"}),{host:Fg,nestedTimer:Gg,nestedButton:Hg,timerInsideNotReversed:Jg,timerInsideReversed:$g}={host:{selector:()=>":host"},nestedTimer:{selector:()=>':host([timer-inside="true"]) .timer'},nestedButton:{selector:()=>':host([timer-inside="true"]) .button'},timerInsideNotReversed:{selector:()=>':host([timer-inside="true"]:not([timer-position="end"])) .timer'},timerInsideReversed:{selector:()=>':host([timer-inside="true"][timer-position="end"]) .timer'}},_g=T(ct({mappings:{gap:{},flexDirection:{},hostWidth:{...Fg,property:"width"},hostDirection:{...Fg,property:"direction"},timerTextColor:{...Gg,property:kg.cssVarList.textColor},timerIconColor:{...Gg,property:kg.cssVarList.iconColor},timerHostWidth:{...Gg,property:kg.cssVarList.hostWidth},buttonLabelSpacing:{...Hg,property:ko.cssVarList.labelSpacing},timerInsideGapEnd:{...Jg,property:"margin-inline-end"},timerInsideGapStart:{...$g,property:"margin-inline-start"}}}),ut,pt)(class extends Zg{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-timer class="timer"></descope-timer>\n <descope-button class="button" disabled="true">\n <slot></slot>\n </descope-button>\n </div>\n\t\t',f('\n :host {\n display: inline-flex;\n }\n .wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n }\n /* allow timer to grow along the main axis in the wrapper flex container */\n :host(:not([timer-inside="true"])) .timer {\n flex: 1;\n }\n :host([timer-inside="true"]) .timer {\n flex: 0 0 auto;\n }\n ',this),this.wrapper=this.shadowRoot.querySelector(".wrapper"),this.timer=this.shadowRoot.querySelector(".timer"),this.button=this.shadowRoot.querySelector(".button"),this.forwardingSlot=this.shadowRoot.querySelector(".button slot"),this.timer.addEventListener("timer-started",()=>this.onTimerStarted()),this.timer.addEventListener("timer-ended",()=>this.onTimerEnded()),this.syncTimerPlacement(),this.button.addEventListener("click",this.onClick.bind(this))}static get observedAttributes(){return[...super.observedAttributes||[],"timer-inside","timer-position"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"timer-inside"!==t&&"timer-position"!==t||this.syncTimerPlacement()}get#ti(){return"true"===this.getAttribute("timer-inside")}get#ei(){return"end"===this.getAttribute("timer-position")}syncTimerPlacement(){this.#ti?this.#ii(this.#ei):this.#oi()}#ii(t){t?this.timer.previousSibling!==this.forwardingSlot&&this.button.appendChild(this.timer):this.timer.nextSibling!==this.forwardingSlot&&this.button.insertBefore(this.timer,this.forwardingSlot)}#oi(){this.timer.parentElement!==this.wrapper&&this.wrapper.insertBefore(this.timer,this.button)}set onclick(t){this.button.onclick=t}init(){super.init?.(),w(this,this.button,{includeAttrs:Rg,mapAttrs:Qg}),w(this,this.timer,{includeAttrs:Pg,mapAttrs:Bg}),this.button.shadowRoot.querySelector("vaadin-button").setAttribute("disabled","true")}onTimerStarted(){this.toggleButtonDisable(!0)}onTimerEnded(){this.toggleButtonDisable(!1)}onClick(){this.timer.reset()}toggleButtonDisable(t){setTimeout(()=>{t?this.button.setAttribute("disabled","true"):this.button.removeAttribute("disabled")})}}),qg=et(ep),Xg=_g.cssVarList,Kg={[Xg.gap]:qg.spacing.sm,[Xg.flexDirection]:"column",_horizontal:{[Xg.flexDirection]:"row",timerPosition:{end:{[Xg.flexDirection]:"row-reverse"}}},timerPosition:{end:{[Xg.flexDirection]:"column-reverse"}},_fullWidth:{[Xg.hostWidth]:"100%"},_timerInside:{[Xg.timerTextColor]:"currentColor",[Xg.timerIconColor]:"currentColor",[Xg.timerHostWidth]:"auto",[Xg.buttonLabelSpacing]:"0",[Xg.timerInsideGapEnd]:`var(${Xg.gap})`,timerPosition:{end:{[Xg.timerInsideGapStart]:`var(${Xg.gap})`}}}};var tM=Object.freeze({__proto__:null,default:Kg,vars:Xg});const eM=L("password-strength");class iM extends(yt({componentName:eM,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["options","value"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="bars-container"></div>\n <div class="text-container">\n </div>\n </div>\n\t\t',f("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .wrapper {\n display: inline-flex;\n position: relative;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: flex-start;\n }\n\n .bar {\n flex-grow: 1;\n }\n\n .bars-container {\n display: flex;\n flex-grow: 1;\n width: 100%;\n }\n ",this),this.barsContainer=this.shadowRoot.querySelector(".bars-container"),this.textContainer=this.shadowRoot.querySelector(".text-container")}get options(){return this.getAttribute("options")?.split(",")||[]}getCalcScoreFn=()=>Promise.resolve().then(function(){return oj}).then(t=>t.default);#ni=-1;async calcScore(){const t=this.getAttribute("value")||"";return t?(await this.getCalcScoreFn())(t).score:-1}renderBars(){this.barsContainer.innerHTML="",this.bars=this.options.map((t,e)=>{const i=document.createElement("div");return i.classList.add("bar"),i.classList.toggle("filled",e<=this.#ni),this.barsContainer.appendChild(i),i})}init(){super.init?.(),this.getCalcScoreFn()}async onValueChange(){const t=await this.calcScore();t!==this.#ni&&(this.#ni=t,this.dispatchEvent(new CustomEvent("score-changed",{bubbles:!0,composed:!0,detail:this.#ni})),this.bars?.forEach((t,e)=>{t.classList.toggle("filled",e<=this.#ni)}),this.textContainer.innerHTML=this.options[this.#ni]||"",-1===this.#ni?this.removeAttribute("score"):this.setAttribute("score",this.#ni))}attributeChangedCallback(t,e,i){if(e!==i)return"options"===t?this.renderBars():"value"===t?this.onValueChange():void 0}}const{host:oM,bar:nM,filledBar:rM,barsContainer:sM,text:aM}={host:{selector:()=>":host"},bar:{selector:" .bar"},barsContainer:{selector:" .bars-container"},filledBar:{selector:" .bar.filled"},text:{selector:" .text-container"}},lM=T(ct({componentNameOverride:L("input-wrapper")}),ct({mappings:{hostWidth:[{...oM,property:"width"},{...oM,property:"min-width"}],hostDirection:{...oM,property:"direction"},hostMinWidth:{...oM,property:"min-width"},barHeight:{...nM,property:"height"},barBorderRadius:{...nM,property:"border-radius"},emptyBarColor:{...nM,property:"background-color"},filledBarColor:{...rM,property:"background-color"},textColor:{...aM,property:"color"},spacing:{property:"gap"},barSpacing:{...sM,property:"gap"},fontSize:{},fontWeight:{},fontFamily:{},barTransition:{...nM,property:"transition"}}}),ut,pt)(iM),dM=et(ep),cM=lM.cssVarList,uM={[cM.hostDirection]:dM.direction,[cM.barHeight]:"4px",[cM.barTransition]:"background-color 0.3s",[cM.barBorderRadius]:dM.radius.sm,[cM.hostMinWidth]:Cp.minWidth,[cM.barSpacing]:dM.spacing.sm,[cM.emptyBarColor]:dM.colors.surface.light,[cM.fontFamily]:Cp.fontFamily,[cM.fontSize]:Cp.labelFontSize,[cM.fontWeight]:Cp.labelFontWeight,[cM.spacing]:dM.spacing.sm,_fullWidth:{[cM.hostWidth]:"100%"},score:{0:{[cM.filledBarColor]:dM.colors.error.light,[cM.textColor]:dM.colors.error.light},1:{[cM.filledBarColor]:dM.colors.error.main,[cM.textColor]:dM.colors.error.main},2:{[cM.filledBarColor]:dM.colors.error.dark,[cM.textColor]:dM.colors.error.dark},3:{[cM.filledBarColor]:dM.colors.success.dark,[cM.textColor]:dM.colors.success.dark},4:{[cM.filledBarColor]:dM.colors.success.main,[cM.textColor]:dM.colors.success.main}}},pM={...cM};var hM=Object.freeze({__proto__:null,default:uM,vars:pM});const gM=L("collapsible-container");class MM extends(yt({componentName:gM,baseSelector:"slot"})){static get observedAttributes(){return["collapsed","collapsible","text"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-text st-host-direction="ltr">\n <div class="header">\n <div class="icon">\n <descope-icon st-fill="currentcolor" src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=></descope-icon>\n </div>\n <span></span>\n </div>\n </descope-text>\n <div class="content">\n <slot></slot>\n </div>\n </div>\n\t',f(`\n div.content {\n transition-property: max-height;\n overflow: auto;\n height: auto;\n\t\t\t}\n\t\t\tslot {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 100%;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n slot:focus-visible {\n outline: none;\n }\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n .header {\n user-select: none;\n display: flex;\n align-items: baseline;\n }\n .icon {\n flex-shrink: 0;\n height: var(${Li.cssVarList.textLineHeight});\n min-height: 24px;\n display: flex;\n align-items: center;\n }\n descope-icon {\n transition-property: transform;\n }\n .rotate {\n transform: rotate(-180deg);\n }\n descope-text {\n width: 100%;\n display: flex;\n }\n span {\n align-self: center;\n word-break: break-word;\n }\n span:empty {\n display: none;\n }\n .wrapper {\n overflow: hidden;\n display: inline-flex;\n width: 100%;\n flex-direction: column;\n }\n `,this),this.header=this.shadowRoot.querySelector(".header"),this.content=this.shadowRoot.querySelector("div.content"),this.icon=this.header.querySelector("descope-icon"),this.headerText=this.header.querySelector("span"),this.textComponent=this.shadowRoot.querySelector("descope-text")}get isCollapsible(){return"true"===this.getAttribute("collapsible")}calcContentHeight(){return this.content.offsetHeight||this.content.scrollHeight}get isCollapsed(){return"true"===this.getAttribute("collapsed")}toggle(){this.setAttribute("collapsed",this.isCollapsed?"false":"true")}collapse(t=!1){const e=()=>{this.content.style.maxHeight="0px"};if(this.icon.classList.add("rotate"),!t)return e();this.content.style.maxHeight=this.calcContentHeight()+"px",setTimeout(e)}expand(t=!1){const e=()=>{this.content.style.maxHeight=""};if(this.icon.classList.remove("rotate"),!t)return e();this.content.addEventListener("transitionend",e,{once:!0}),this.content.style.maxHeight=this.calcContentHeight()+"px"}#ri=!1;init(){super.init?.(),this.#ri=!0,this.header.addEventListener("click",()=>{this.isCollapsible&&this.toggle()}),w(this,this.textComponent,{includeAttrs:["text-align","text-variant","text-mode"],mapAttrs:{"text-mode":"mode","text-variant":"variant"}})}updateHeaderText(){const t=this.getAttribute("text")||"";this.headerText.innerText=t}attributeChangedCallback(t,e,i){"text"!==t?this.isCollapsed&&this.isCollapsible?this.collapse(this.#ri):this.expand(this.#ri):this.updateHeaderText()}}const mM={host:()=>":host",icon:()=>"descope-icon",iconWrapper:()=>".icon",header:()=>".header",text:()=>"span",wrapper:()=>".wrapper",content:()=>"div.content"},yM=T(ct({mappings:{hostWidth:{selector:mM.host,property:"width"},hostDirection:{selector:mM.host,property:"direction"},verticalPadding:[{selector:mM.wrapper,property:"padding-top"},{selector:mM.wrapper,property:"padding-bottom"}],horizontalPadding:[{selector:mM.wrapper,property:"padding-left"},{selector:mM.wrapper,property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:[{},{property:"margin-top"}],backgroundColor:{selector:mM.wrapper},backgroundImage:{selector:mM.wrapper},backgroundPositionX:{selector:mM.wrapper},backgroundPositionY:{selector:mM.wrapper},backgroundSize:{selector:mM.wrapper},backgroundRepeat:{selector:mM.wrapper},borderRadius:{selector:mM.wrapper},borderColor:{selector:mM.wrapper},borderStyle:{selector:mM.wrapper},borderWidth:{selector:mM.wrapper},boxShadow:{selector:mM.wrapper},headerIconOrder:{selector:mM.iconWrapper,property:"order"},headerCursor:{selector:mM.header,property:"cursor"},headerGap:{selector:mM.header,property:"gap"},textGrow:{selector:mM.text,property:"flex-grow"},textDirection:{selector:mM.text,property:"direction"},iconAnimationDuration:{selector:mM.icon,property:"transition-duration"},contentAnimationDuration:{selector:mM.content,property:"transition-duration"}}}),ut,pt)(MM),bM=et(ep),NM=yM.cssVarList,[IM,xM,jM]=ot({shadowColor:"#00000020"},gM),{shadowColor:TM}=xM,DM={...IM,[NM.hostWidth]:"100%",[NM.boxShadow]:"none",[NM.backgroundColor]:bM.colors.surface.main,[NM.backgroundImage]:"",[NM.backgroundPositionX]:"center",[NM.backgroundPositionY]:"center",[NM.backgroundSize]:"cover",[NM.backgroundRepeat]:"no-repeat",[NM.borderRadius]:"0px",[NM.hostDirection]:bM.direction,[NM.flexDirection]:"column",[NM.alignItems]:"flex-start",[NM.justifyContent]:"flex-start",[NM.headerGap]:bM.spacing.md,[NM.iconAnimationDuration]:"0.1s",[NM.contentAnimationDuration]:"0.1s",[NM.borderWidth]:"0px",[NM.textGrow]:"0",verticalPadding:{sm:{[NM.verticalPadding]:"5px"},md:{[NM.verticalPadding]:"10px"},lg:{[NM.verticalPadding]:"20px"}},horizontalPadding:{sm:{[NM.horizontalPadding]:"5px"},md:{[NM.horizontalPadding]:"10px"},lg:{[NM.horizontalPadding]:"20px"}},spaceBetween:{sm:{[NM.gap]:"10px"},md:{[NM.gap]:"20px"},lg:{[NM.gap]:"30px"}},shadow:{sm:{[NM.boxShadow]:`${bM.shadow.wide.sm} ${TM}, ${bM.shadow.narrow.sm} ${TM}`},md:{[NM.boxShadow]:`${bM.shadow.wide.md} ${TM}, ${bM.shadow.narrow.md} ${TM}`},lg:{[NM.boxShadow]:`${bM.shadow.wide.lg} ${TM}, ${bM.shadow.narrow.lg} ${TM}`},xl:{[NM.boxShadow]:`${bM.shadow.wide.xl} ${TM}, ${bM.shadow.narrow.xl} ${TM}`},"2xl":{[jM.shadowColor]:"#00000050",[NM.boxShadow]:`${bM.shadow.wide["2xl"]} ${TM}`}},borderRadius:{sm:{[NM.borderRadius]:bM.radius.sm},md:{[NM.borderRadius]:bM.radius.md},lg:{[NM.borderRadius]:bM.radius.lg},xl:{[NM.borderRadius]:bM.radius.xl},"2xl":{[NM.borderRadius]:bM.radius["2xl"]},"3xl":{[NM.borderRadius]:bM.radius["3xl"]}},iconPosition:{left:{[NM.headerIconOrder]:"0"},right:{[NM.headerIconOrder]:"1"}},_fillTitle:{[NM.textGrow]:"1"},_border:{[NM.borderColor]:bM.colors.surface.light,[NM.borderWidth]:bM.border.xs,[NM.borderStyle]:"solid"},_collapsible:{[NM.headerCursor]:"pointer"}},zM={...NM,...jM};var vM=Object.freeze({__proto__:null,default:DM,vars:zM});const CM=L("recovery-codes");class SM extends(yt({componentName:CM,baseSelector:":host > div"})){static get observedAttributes(){return["readonly"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="list"></div>\n <descope-text class="icon-wrapper">\n <vaadin-icon class="icon" icon="vaadin:copy-o" title="Copy"></vaadin-icon>\n </descope-text>\n </div>\n ',this.list=this.shadowRoot.querySelector(".list"),this.icon=this.shadowRoot.querySelector(".icon"),this.iconWrapper=this.shadowRoot.querySelector(".icon-wrapper"),f("\n :host {\n display: inline-block;\n position: relative;\n }\n .wrapper {\n display: flex;\n justify-content: space-between;\n }\n .list {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n }\n descope-text span {\n display: inline-flex;\n align-items: center;\n width: fit-content;\n }\n descope-text span::before {\n content: '\\02022';\n transform: translateY(-0.06em);\n }\n .icon-wrapper {\n align-self: flex-start;\n }\n .icon {\n cursor: pointer;\n }\n .icon.copied {\n cursor: initial;\n }\n .icon.readonly {\n pointer-events: none;\n }\n ",this)}get variant(){return this.getAttribute("variant")}get mode(){return this.getAttribute("mode")}init(){super.init(),this.icon.addEventListener("click",this.onCopy.bind(this)),w(this,this.iconWrapper,{includeAttrs:["variant","mode"]})}onCopy(){navigator.clipboard.writeText(String(this.data.map(t=>t.value).join("\n"))),this.icon.setAttribute("icon","vaadin:check-circle-o"),this.icon.setAttribute("title","Copied"),this.icon.classList.add("copied"),setTimeout(()=>{this.icon.setAttribute("icon","vaadin:copy-o"),this.icon.setAttribute("title","Copy"),this.icon.classList.remove("copied")},5e3)}onReadOnly(t){this.icon.classList.toggle("readonly",t)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&"readonly"===t&&this.onReadOnly("true"===i)}}const LM=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostMinWidth:{selector:()=>":host",property:"min-width"},hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Li.componentName,property:Li.cssVarList.hostDirection}],textAlign:{selector:()=>".list",property:"align-items"},iconColor:{selector:()=>"vaadin-icon",property:"color"},iconSize:{selector:()=>"vaadin-icon",property:"font-size"},iconGap:{selector:()=>".wrapper",property:"gap"},bulletGap:{selector:()=>"descope-text span",property:"gap"}}}),Vt({itemRenderer:({value:t},e,i)=>`\n <descope-text variant="${i.variant}" mode="${i.mode}">\n <span>${t}</span>\n </descope-text>\n `,rerenderAttrsList:["variant","mode"],targetSelector:".list"}),ut,pt)(SM),AM=et(ep),wM=LM.cssVarList,fM=Li.cssVarList,EM={[wM.hostMinWidth]:"190px",[wM.hostDirection]:AM.direction,[wM.iconColor]:it(fM.textColor),[wM.iconSize]:it(fM.fontSize),[wM.iconGap]:"8px",[wM.bulletGap]:"0.35em",textAlign:{right:{[wM.textAlign]:"flex-end"},left:{[wM.textAlign]:"flex-start"},center:{[wM.textAlign]:"center"}},_fullWidth:{[wM.hostWidth]:"100%"}};var kM=Object.freeze({__proto__:null,default:EM,vars:wM});const OM=L("outbound-apps"),VM=({name:t,description:e,logo:i,appId:o,isConnected:n},r,s)=>{const a=n?"disconnect":"connect";return`\n <descope-list-item>\n <descope-avatar\n ${i?`img="${i}"`:""}\n ${t?`display-name="${t}" abbr=${O(t)}`:""}\n size=${s.size}\n ${i?'st-avatar-background-color="none"':""}\n class="app-logo"\n ></descope-avatar>\n\n <div class="content">\n <descope-text\n class="app-title"\n variant="subtitle1"\n mode="primary"\n >${t}</descope-text>\n ${e?`\n <descope-text\n class="app-description"\n variant="body2"\n mode="primary"\n >${e}</descope-text>\n `:""}\n </div>\n <div class="controls">\n <descope-button variant="link" mode="primary" size=${s.size} data-action="${a}" data-outbound-app-id="${o}" data-id="${a}">\n ${n?s.disconnectButtonLabel:s.connectButtonLabel}\n </descope-button>\n </div>\n </descope-list-item>\n`},UM=yt({componentName:OM,baseSelector:"descope-list"}),{host:YM}={host:{selector:()=>":host"}},WM=T(ct({mappings:{hostWidth:{...YM,property:"width"},minHeight:{selector:()=>":host"},hostDirection:[{...YM,property:"direction"},{selector:"descope-list",property:"direction"},{selector:"descope-list-item",property:"direction"}],iconColor:{selector:()=>" descope-icon",property:So.cssVarList.fill},errorIconColor:{selector:()=>" descope-icon.error-icon",property:So.cssVarList.fill},fontSize:{selector:Li.componentName,property:Li.cssVarList.fontSize},appLogoGap:{selector:()=>" .app-logo",property:"margin-inline-end"},contentGap:{selector:()=>" .content",property:"gap"},itemsTextAlign:{selector:Li.componentName,property:Li.cssVarList.textAlign},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}]}}),ut,Vt({itemRenderer:VM,rerenderAttrsList:["size","connect-button-label","disconnect-button-label"]}),pt)(class extends UM{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n ',this.appsList=this.shadowRoot.querySelector("descope-list"),f("\n :host {\n width: 100%;\n }\n .controls {\n display: flex;\n min-width: 8em;\n justify-content: end;\n }\n .content {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n }\n .app-title,\n .app-description {\n display: flex;\n direction: inherit;\n }\n descope-list {\n display: block;\n }\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=VM,this.appsList.addEventListener("click",this.onAppsListClick.bind(this))}get readonly(){return"true"===this.getAttribute("readonly")}onAppsListClick(t){if(!this.readonly){const e=t.srcElement.getAttribute("data-outbound-app-id"),i=t.srcElement.getAttribute("data-action");e&&i&&this.dispatchEvent(new CustomEvent(`${i}-clicked`,{bubbles:!0,detail:{id:e,action:i}}))}}get size(){return this.getAttribute("size")||"sm"}get connectButtonLabel(){return this.getAttribute("connect-button-label")||"Connect"}get disconnectButtonLabel(){return this.getAttribute("disconnect-button-label")||"Disconnect"}}),RM=WM.cssVarList,QM={[RM.iconColor]:ep.colors.primary.main,[RM.errorIconColor]:ep.colors.error.main,[RM.appLogoGap]:ep.spacing.md,[RM.contentGap]:ep.spacing.xs,[RM.itemCursor]:"default",[RM.itemOutline]:"none",[RM.itemBorderColor]:"transparent",[RM.listPadding]:"0",[RM.listBorderWidth]:"0",[RM.listBoxShadow]:"none",size:{xs:{[RM.fontSize]:"0.6em"},sm:{[RM.fontSize]:"0.8em"},md:{[RM.fontSize]:"1em"},lg:{[RM.fontSize]:"1.5em"}}};var PM=Object.freeze({__proto__:null,default:QM,vars:RM});const BM=L("outbound-app-button");class ZM extends(yt({componentName:BM,baseSelector:":host > descope-button"})){static get observedAttributes(){return["label","icon-src","icon-fill-current-color"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-button>\n <descope-icon class="icon"></descope-icon>\n <span class="label"></span>\n </descope-button>\n ',f("\n :host {\n display: inline-block;\n }\n .hidden {\n display: none;\n }\n ",this),this.button=this.shadowRoot.querySelector("descope-button"),this.icon=this.shadowRoot.querySelector(".icon"),this.label=this.shadowRoot.querySelector(".label")}init(){super.init?.(),w(this,this.button,{excludeAttrs:["style","class","label","icon-src","icon-fill-current-color"]})}updateLabel(t=""){this.label.textContent=t,this.label.classList.toggle("hidden",!t)}updateIcon(t=""){this.icon.setAttribute("src",t),this.icon.classList.toggle("hidden",!t)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.updateLabel(i):"icon-src"===t&&this.updateIcon(i))}}const FM=T(ct({mappings:{hostWidth:{selector:()=>":host",property:"width"},iconFillCurrentColor:{selector:()=>"descope-icon",property:ko.cssVarList.iconColor}}}),ut,pt)(ZM),GM=FM.cssVarList,HM={[GM.iconFillCurrentColor]:"inherit",_iconFillCurrentColor:{[GM.iconFillCurrentColor]:"currentColor"},_fullWidth:{[GM.hostWidth]:"100%"}},JM=GM;var $M=Object.freeze({__proto__:null,default:HM,vars:JM});const _M=t=>{const e=parseInt(t,10);return Number.isNaN(e)?0:e},qM={desktop:{light:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI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6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNi41SDIyVjQuNUg0QzIuOSA0LjUgMiA1LjQgMiA2LjVWMTcuNUgwVjIwLjVIMTRWMTcuNUg0VjYuNVpNMjMgOC41SDE3QzE2LjQ1IDguNSAxNiA4Ljk1IDE2IDkuNVYxOS41QzE2IDIwLjA1IDE2LjQ1IDIwLjUgMTcgMjAuNUgyM0MyMy41NSAyMC41IDI0IDIwLjA1IDI0IDE5LjVWOS41QzI0IDguOTUgMjMuNTUgOC41IDIzIDguNVpNMjIgMTcuNUgxOFYxMC41SDIyVjE3LjVaIiBmaWxsPSIjNjM2Qzc0Ii8+Cjwvc3ZnPgo=",dark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkgyMlY0SDRDMi45IDQgMiA0LjkgMiA2VjE3SDBWMjBIMTRWMTdINFY2Wk0yMyA4SDE3QzE2LjQ1IDggMTYgOC40NSAxNiA5VjE5QzE2IDE5LjU1IDE2LjQ1IDIwIDE3IDIwSDIzQzIzLjU1IDIwIDI0IDE5LjU1IDI0IDE5VjlDMjQgOC40NSAyMy41NSA4IDIzIDhaTTIyIDE3SDE4VjEwSDIyVjE3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="}},XM=L("trusted-devices"),KM=({id:t,name:e,lastLoginDate:i,deviceType:o,isCurrent:n},r,s)=>{const a=n?'class="current-device"':"",{iconSrc:l,iconSrcDark:d}=(t=>{const e=qM[t]||qM.unknown;return{iconSrc:e.light,iconSrcDark:e.dark}})(o),c=s.lastLoginLabel?`${s.lastLoginLabel} `:"",u=((t,e)=>{if(Number.isNaN(parseInt(t,10)))return"";const i=new Date(t),o=i.getFullYear(),n=String(i.getMonth()+1).padStart(2,"0"),r=String(i.getDate()).padStart(2,"0"),s=i.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),a={"DD-MM-YYYY":`${r}/${n}/${o}`,"YYYY-MM-DD":`${o}/${n}/${r}`,"MM-DD-YYYY":`${n}/${r}/${o}`};return`${a[e]||a["MM-DD-YYYY"]} ${s}`})(i,s.format),p=n?`<descope-badge\n bordered="true"\n size="xs"\n mode="primary"\n st-host-direction="${s.direction}"\n >\n ${s.currentDeviceLabel}\n </descope-badge>`:"",h=s.hideActions||n?"":`<descope-link\n class="remove-device"\n variant="body1"\n mode="primary"\n data-action="remove-device"\n data-device-id="${t}"\n st-host-direction="${s.direction}"\n ellipsis="true"\n >\n ${s.removeDeviceLabel}\n </descope-link>`,g=document.createElement("template");return g.innerHTML=`\n <descope-list-item ${a}>\n <div class="content">\n <div class="main">\n <span class="device">\n <descope-icon\n class="device-icon"\n src="${l}"\n src-dark="${d}">\n </descope-icon>\n <descope-text\n class="device-name"\n variant="body1"\n mode="primary">\n </descope-text>\n </span>\n <span class="panel">\n ${p}\n ${h}\n </span>\n </div>\n <div class="meta">\n <descope-text\n variant="body2"\n mode="primary"\n >\n ${c}\n </descope-text>\n <descope-text\n class="login-date"\n variant="body2"\n mode="primary"\n >\n ${u}\n </descope-text>\n </div>\n </div>\n </descope-list-item>\n `,g.content.querySelector(".device-name").textContent=e,g},tm=yt({componentName:XM,baseSelector:hu.componentName}),{host:em}={host:{selector:()=>":host"}},im=T(ct({mappings:{hostWidth:{...em,property:"width"},hostMinWidth:{...em,property:"min-width"},hostDirection:[{...em,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"}],listItemsGap:{property:hu.cssVarList.gap},listBackgroundColor:{selector:()=>hu.componentName,property:hu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>hu.componentName,property:hu.cssVarList.borderRadius},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPadding},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBorderRadius:{selector:cu.componentName,property:cu.cssVarList.borderRadius},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemContentGap:{selector:()=>".content",property:"gap"},badgeBorderColor:{selector:Cc.componentName,property:Cc.cssVarList.borderColor},badgeTextColor:{selector:Cc.componentName,property:Cc.cssVarList.textColor},badgeBackgroundColor:{selector:Cc.componentName,property:Cc.cssVarList.backgroundColor},badgeBorderRadius:{selector:Cc.componentName,property:Cc.cssVarList.borderRadius},devicePanelGap:{selector:()=>".main",property:"gap"},deviceIconGap:{selector:()=>".device",property:"gap"},deviceIconSize:[{selector:()=>".device-icon",property:"width"},{selector:()=>".device-icon",property:"height"}],lastLoginLabelGap:{selector:" .meta",property:"gap"}}}),ut,Vt({itemRenderer:KM,sortFn:(t,e)=>_M(e.lastLoginDate)-_M(t.lastLoginDate),rerenderAttrsList:["remove-device-label","current-device-label","last-login-label","format","hide-actions"]}),pt)(class extends tm{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n ',this.appsList=this.shadowRoot.querySelector("descope-list"),f("\n :host {\n display: inline-block;\n }\n\n .descope-list-item {\n min-width: 0;\n }\n\n .current-device {\n order: -1;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .main {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .panel {\n display: flex;\n flex-shrink: 0;\n max-width: 75%;\n overflow: hidden;\n }\n\n .device {\n display: flex;\n min-width: 0;\n }\n\n .device-icon {\n flex-shrink: 0;\n }\n\n .meta {\n display: flex;\n }\n\n .login-date {\n min-width: fit-content;\n }\n\n descope-badge {\n min-width: 0;\n }\n\n descope-text {\n display: flex;\n align-items: center; \n min-width: 0;\n }\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n descope-link {\n overflow: hidden;\n }\n descope-link.remove-device::part(wrapper) {\n display: flex;\n width: 100%;\n }\n descope-link.remove-device {\n width: 100%;\n }\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=KM,this.appsList.addEventListener("click",this.onRemoveClick.bind(this))}onRemoveClick(t){if(this.readOnly)return;const e=t.target.closest("[data-device-id]"),i=e?.getAttribute("data-device-id");i&&this.dispatchEvent(new CustomEvent("remove-device-clicked",{bubbles:!0,detail:{id:i,action:"remove-device"}}))}get readOnly(){return"true"===this.getAttribute("readonly")}get hideActions(){return"true"===this.getAttribute("hide-actions")}get format(){return this.getAttribute("format")?.toUpperCase()||"MM-DD-YYYY"}get removeDeviceLabel(){return this.getAttribute("remove-device-label")||"Sign out"}get currentDeviceLabel(){return this.getAttribute("current-device-label")||"Current device"}get lastLoginLabel(){return this.getAttribute("last-login-label")||"Last login:"}get direction(){return this.getAttribute("st-host-direction")}}),om=im.cssVarList,nm={[om.hostWidth]:"auto",[om.hostWidth]:"300px",[om.hostMinWidth]:"300px",[om.listBackgroundColor]:"transparent",[om.listBorderRadius]:"0",[om.listBorderWidth]:"0",[om.listPadding]:"0",[om.listBoxShadow]:"none",[om.listItemsGap]:ep.spacing.lg,[om.itemBorderColor]:ep.colors.surface.light,[om.itemVerticalPadding]:ep.spacing.lg,[om.itemHorizontalPadding]:ep.spacing.lg,[om.itemBorderRadius]:ep.radius.xs,[om.itemOutline]:"transparent",[om.itemBackgroundColor]:"transparent",[om.itemCursor]:"default",[om.itemContentGap]:ep.spacing.sm,[om.badgeBorderColor]:ep.colors.surface.light,[om.badgeTextColor]:ep.colors.surface.dark,[om.badgeBorderRadius]:ep.radius.xs,[om.badgeBackgroundColor]:ep.colors.surface.main,[om.devicePanelGap]:ep.spacing.md,[om.deviceIconGap]:ep.spacing.md,[om.deviceIconSize]:"24px",[om.lastLoginLabelGap]:ep.spacing.xs,_fullWidth:{[om.hostWidth]:"100%"}};var rm=Object.freeze({__proto__:null,default:nm,vars:om});const sm=L("tooltip"),am=["text","position","hide-delay","hover-delay","opened"];class lm extends(yt({componentName:sm,baseSelector:"vaadin-tooltip"})){#si=null;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-anchored>\n <slot></slot>\n <vaadin-tooltip slot="anchored"></vaadin-tooltip>\n </descope-anchored>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),this.tooltip=this.shadowRoot.querySelector("vaadin-tooltip"),this.anchored=this.shadowRoot.querySelector("descope-anchored")}#ai(){const t=this.anchored?.classList?.contains("hidden");this.classList.toggle("hidden",t)}static get observedAttributes(){return am.concat(super.observedAttributes||[])}get isOpened(){return"true"===this.getAttribute("opened")}get overlay(){return this.tooltip?._overlayElement}get overlayContentNode(){return this.overlay?.shadowRoot.querySelector('[part="content"]')}get tooltipText(){return this.getAttribute("text")?.trim()||""}get isStaticDisplay(){return"true"===this.getAttribute("static-display")}get srLabel(){return this.tooltip?.querySelector('[slot="sr-label"]')}#li(){this.isStaticDisplay?(this.#di(),this.setAttribute("inert","true")):this.removeAttribute("inert")}#di(){this.overlay&&(this.overlay.style.display="block",this.overlay.style.position="static")}init(){super.init?.(),f('\n :host {\n display: inline-block;\n }\n vaadin-tooltip {\n display: block;\n position: absolute;\n width: 0;\n height: 0;\n overflow: hidden;\n }\n /* Stack anchor above the anchored element so the tooltip flows below it inline. */\n :host([static-display="true"]) descope-anchored::part(root) {\n flex-direction: column;\n }\n :host([static-display="true"]) descope-anchored::part(anchored) {\n position: static;\n inset: unset;\n }\n :host([static-display="true"]) vaadin-tooltip {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n }\n :host([static-display="true"]) vaadin-tooltip [slot="sr-label"] {\n display: none;\n }\n',this),this.defaultSlot.addEventListener("slotchange",()=>this.#ci()),this.#ci(),setTimeout(()=>this.#ui())}#pi(){this.#si?.disconnect(),this.anchored&&(this.#si=z(this.anchored,()=>this.#ai(),{includeAttrs:["class"]}))}connectedCallback(){super.connectedCallback?.(),this.#ai(),this.#pi()}disconnectedCallback(){super.disconnectedCallback?.(),this.#si?.disconnect()}#ci(){const t=this.defaultSlot?.assignedElements()?.[0];t&&(this.tooltip.target=t)}#ui(){this.#hi(),this.#gi(),w(this,this.tooltip,{includeAttrs:["position","opened"]}),this.#Mi()}#mi(){this.overlayContentNode.innerHTML=""}#yi(){const t=document.createElement("descope-enriched-text");return t.setAttribute("link-target-blank","true"),t.textContent=this.tooltipText,t}#hi(){this.overlayContentNode&&setTimeout(()=>{this.#mi(),this.textComponent=this.#yi(),this.overlayContentNode.appendChild(this.textComponent),this.srLabel&&!this.tooltipText&&this.srLabel.setAttribute("aria-hidden","true"),w(this,this.textComponent,{includeAttrs:["readonly"]})})}#gi(){if(!this.overlay)return;const t=this.overlay._attachOverlay?.bind(this.overlay);this.overlay._detachOverlay=()=>{},this.overlay._attachOverlay=()=>{t?.(),setTimeout(()=>{this.tooltip.shadowRoot.appendChild(this.overlay),this.overlay._updatePosition?.()})},this.isOpened&&setTimeout(()=>{this.tooltip.shadowRoot.appendChild(this.overlay),this.#li(),this.overlay._updatePosition?.()})}#Mi(){this.tooltip?.toggleAttribute("manual",this.isOpened)}#bi(t){if(!this.textComponent)return;const e=(t??"").trim();this.textComponent.textContent=e,this.srLabel&&(e?this.srLabel.removeAttribute("aria-hidden"):this.srLabel.setAttribute("aria-hidden","true"))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("text"===t&&this.#bi(i),"opened"===t&&this.#Mi())}}const{overlay:dm,content:cm}={overlay:{selector:()=>"vaadin-tooltip-overlay::part(overlay)"},content:{selector:()=>"vaadin-tooltip-overlay::part(content)"}},um=T(pt,Et({selector:"",mappings:{fontFamily:{...cm,property:Qt.cssVarList.fontFamilyOverride},fontSize:{...cm,property:Qt.cssVarList.fontSizeOverride},fontWeight:{...cm,property:Qt.cssVarList.fontWeightOverride},textColor:{...cm,property:Qt.cssVarList.textColorOverride},hostDirection:{...cm,property:Qt.cssVarList.hostDirectionOverride},backgroundColor:[{...dm},{...cm}],borderColor:{...dm},borderStyle:{...dm},borderWidth:{...dm},borderRadius:{...dm},boxShadow:{...dm},horizontalPadding:[{...cm,property:"padding-left"},{...cm,property:"padding-right"}],verticalPadding:[{...cm,property:"padding-top"},{...cm,property:"padding-bottom"}]},forward:{attributes:["style"],include:!1}}))(lm),pm=et(ep),hm=um.cssVarList,[gm,Mm,mm]=ot({shadowColor:"#00000020"},sm),{shadowColor:ym}=Mm,bm=`${pm.shadow.wide.sm} ${ym}, ${pm.shadow.narrow.sm} ${ym}`,Nm={...gm,[hm.fontFamily]:pm.fonts.font1.family,[hm.fontSize]:ep.typography.body2.size,[hm.fontWeight]:ep.typography.body2.weight,[hm.textColor]:pm.colors.surface.contrast,[hm.hostDirection]:pm.direction,[hm.backgroundColor]:pm.colors.surface.main,[hm.borderColor]:pm.colors.surface.light,[hm.borderStyle]:"solid",[hm.borderWidth]:pm.border.xs,[hm.borderRadius]:pm.radius.xs,[hm.horizontalPadding]:pm.spacing.md,[hm.verticalPadding]:pm.spacing.sm,[hm.boxShadow]:bm,shadow:{sm:{[hm.boxShadow]:bm},md:{[hm.boxShadow]:`${pm.shadow.wide.md} ${ym}, ${pm.shadow.narrow.md} ${ym}`},lg:{[hm.boxShadow]:`${pm.shadow.wide.lg} ${ym}, ${pm.shadow.narrow.lg} ${ym}`},xl:{[hm.boxShadow]:`${pm.shadow.wide.xl} ${ym}, ${pm.shadow.narrow.xl} ${ym}`},"2xl":{[mm.shadowColor]:"#00000050",[hm.boxShadow]:`${pm.shadow.wide["2xl"]} ${ym}`}}};var Im=Object.freeze({__proto__:null,default:Nm,vars:hm});const xm=async t=>{const e=await fetch(t);if(!e.ok)throw new Error(`[dataService] ${e.status} ${t}`);const i=await e.json();return i.data??i},jm=async t=>xm(`${t}/countries.json`),Tm=async(t,e)=>{try{return(await xm(`${e}/countries/${t}/subdivisions.json`)).map(({code:t,...e})=>({...e,state_code:t}))}catch{return[]}},Dm=async(t,e,i)=>xm(`${i}/countries/${t}/subdivisions/${e}/cities.json`),zm=async t=>{const e=new URL("../labels.json",`${t}/`).href;return xm(e)},vm=async(t,e)=>xm(`${e}/countries/${t}/cities.json`),Cm=L("country-subdivision-city-field-internal"),Sm=Symbol("selecting"),Lm=({name:t,translations:e={}},i)=>i&&(e[i]||e[i.split("-")[0]])||t,Am=t=>t?String(t).replace(/[&<>"']/g,t=>`&#${t.charCodeAt(0)};`):"",wm=({name:t,iso2:e,iso3:i,translations:o,lang:n})=>{const r=Lm({name:t,translations:o},n),s=[r,e,i];r!==t&&s.push(t);const a=Am(e),l=Am(s.join(" ")),d=Am(r);return`<div data-id="${a}" data-name="${l}" data-label="${d}">${d}</div>`},fm=({name:t,state_code:e,translations:i,lang:o})=>{const n=Lm({name:t,translations:i},o),r=[n,e];n!==t&&r.push(t);const s=Am(e),a=Am(r.join(" ")),l=Am(n);return`<div data-id="${s}" data-name="${a}" data-label="${l}">${l}</div>`},Em=({name:t,translations:e,lang:i})=>{const o=Lm({name:t,translations:e},i),n=[o];o!==t&&n.push(t);const r=Am(t),s=Am(n.join(" ")),a=Am(o);return`<div data-id="${r}" data-name="${s}" data-label="${a}">${a}</div>`},km=t=>`<descope-combo-box id="${t}" item-label-path="data-name" item-value-path="data-id" allow-custom-value="false"></descope-combo-box>`,Om=Dt({componentName:Cm,baseSelector:""}),Vm=["disabled","readonly","size","bordered"],Um=["hide-country","hide-subdivision","hide-city"],Ym=[...Vm,"label-type","country-label","subdivision-label","city-label",...Um,"default-country","allowed-countries","pinned-countries","country-placeholder","subdivision-placeholder","city-placeholder","required","invalid","data-source-base-url","lang"],Wm=T()(class extends Om{static get observedAttributes(){return[].concat(Om.observedAttributes||[],Ym)}#Ni;#Ii;#xi;#ji=!1;#Ti=!1;#Di=new Map;#zi=null;#vi=null;#Ci=null;#Si=null;#Li=null;constructor(){super(),this.innerHTML=`\n <div class="wrapper">\n ${km("country-combo")}\n ${km("subdivision-combo")}\n ${km("city-combo")}\n </div>\n `,this.#Ni=this.querySelector("#country-combo"),this.#Ii=this.querySelector("#subdivision-combo"),this.#xi=this.querySelector("#city-combo"),this.#Ai(),this.#wi()}get#fi(){return"true"===this.getAttribute("hide-country")}get#Ei(){return"true"===this.getAttribute("hide-subdivision")}get#ki(){return"true"===this.getAttribute("hide-city")}get#Oi(){return!this.#Vi}get#Vi(){return this.getAttribute("data-source-base-url")||void 0}get#Ui(){const t=this.getAttribute("lang")||void 0;if(t)try{const[e]=Intl.getCanonicalLocales(t);return e}catch{return}}get#Yi(){return this.getAttribute("default-country")?.toUpperCase()||void 0}get#Wi(){return this.getAttribute("subdivision-label")||void 0}get#Ri(){return this.getAttribute("subdivision-placeholder")||void 0}get#Qi(){return(this.getAttribute("allowed-countries")||"").split(",").map(t=>t.trim().toUpperCase()).filter(Boolean)}get#Pi(){return(this.getAttribute("pinned-countries")||"").split(",").map(t=>t.trim().toUpperCase()).filter(Boolean)}get#Bi(){return[this.#Ni,this.#Ii,this.#xi]}get value(){return{country:this.#fi?this.#Yi:this.#Ni.value||void 0,subdivision:!this.#Ei&&this.#ji&&this.#Ii.value||void 0,city:!this.#ki&&this.#Ti&&this.#xi.value||void 0}}set value(t){if(!t)return;let e;try{e="string"==typeof t?JSON.parse(t):t}catch{return}this.#Li={...e},this.#Vi&&this.#Zi()}init(){this.addEventListener("focus",t=>{if(t.isTrusted){const t=this.#Bi.find(t=>!t.classList.contains(`${Cm}-hidden`)&&!t.checkValidity());(t||this.#Fi())?.focus()}}),super.init?.(),this.#Gi(),this.#Hi(),this.#Ji(),this.#$i()}#$i(){this.#Ni.renderItem=wm,this.#Ii.renderItem=fm,this.#xi.renderItem=Em}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i)if("required"===t)this.#_i();else if(Um.includes(t)||"data-source-base-url"===t)this.#Gi(),"data-source-base-url"===t&&this.#Ji();else if("default-country"===t){const t=i?.toUpperCase();if(t&&t!==i)return void this.setAttribute("default-country",t);t&&this.#Di.size?this.#qi(t):t&&this.#fi&&this.#Xi()}else"lang"===t?this.#Ki():"invalid"===t?"true"===i&&this.#to():"allowed-countries"===t||"pinned-countries"===t?this.#fi||(this.#zi?this.#eo(this.#zi):this.#Xi()):"country-label"===t?this.#io(this.#Ni,"label",i):"subdivision-label"===t?this.#io(this.#Ii,"label",i):"city-label"===t&&this.#io(this.#xi,"label",i)}getValidity(){if(!this.isRequired)return{};const t=!this.#fi&&!this.#Ni.value,e=!this.#Ei&&(this.#Oi||this.#ji)&&!this.#Ii.value,i=!this.#ki&&(this.#Oi||this.#Ti)&&!this.#xi.value;return t||e||i?{valueMissing:!0}:{}}#to(){for(const t of[...this.#Bi].reverse())t.classList.contains(`${Cm}-hidden`)||t.checkValidity()||t.reportValidity()}#Ai(){[this.#Ni,this.#Ii,this.#xi].forEach(t=>{t.customValueTransformFn=e=>{const i=t.baseElement?.items?.find(t=>t["data-name"]===e);return i?.getAttribute("data-label")??e}})}#wi(){this.#Bi.forEach(t=>{w(this,t,{includeAttrs:[...Vm,"label-type"]})}),w(this,this.#Ni,{includeAttrs:["default-country"],mapAttrs:{"default-country":"default-value"}}),[[this.#Ni,"country-placeholder"],[this.#Ii,"subdivision-placeholder"],[this.#xi,"city-placeholder"]].forEach(([t,e])=>{w(this,t,{includeAttrs:[e],mapAttrs:{[e]:"placeholder"}})})}#Hi(){this.#Ni.addEventListener("input",()=>this.#oo()),this.#Ii.addEventListener("input",()=>this.#no()),this.#xi.addEventListener("input",()=>this.#ro()),this.handleFocusEventsDispatching(this.#Bi)}#Ji(){this.#Vi&&(this.#Li?this.#Zi():this.#fi&&!this.#Yi||this.#Xi())}async#Zi(){const{country:t,subdivision:e,city:i}=this.#Li,o=!!e&&!this.#Ei,n=!!i&&!this.#ki,r=this.#zi??jm(this.#Vi),s=this.#Si??zm(this.#Vi),a=o&&t?Tm(t,this.#Vi):null,l=n&&t?o&&e?Dm(t,e,this.#Vi):vm(t,this.#Vi):null,[d,c,u,p]=(await Promise.allSettled([r,s,a,l])).map(t=>"fulfilled"===t.status?t.value:null);if(!this.#Li)return;c&&(this.#Si=c);const h=[];d&&(this.#zi||(this.#zi=d,this.#eo(d)),t&&!this.#fi&&h.push([this.#Ni,t]));const g=t?this.#Di.get(t):null;g?.subdivisionType&&this.#so(g.subdivisionType),u&&(this.#vi=u,this.#ji=u.length>0,u.length>0&&(this.#Ii.data=u.map(t=>({...t,lang:this.#Ui})),e&&h.push([this.#Ii,e]))),p&&(this.#Ti=p.length>0,p.length>0&&(this.#Ci=p,this.#xi.data=p.map(t=>({...t,lang:this.#Ui})),i&&h.push([this.#xi,i]))),this.#Gi(),this.#Li=Sm,setTimeout(()=>{if(this.#Li===Sm){for(const[t,e]of h){const i=t.items?.find(t=>t["data-id"]===e);i&&(t.selectedItem=i)}this.#Li=null}})}#oo(){this.#Li!==Sm&&(this.#Li=null,this.#ao(),this.#lo(),this.#qi(this.#Ni.value),this.#ro())}#no(){if(this.#Li===Sm)return;this.#Li=null;const t=this.#Ii.value;if(this.#lo(),!this.#ki&&t){const e=this.#Ni.value;e&&this.#do(e,t)}this.#ro()}#qi(t){if(!t)return;const e=this.#Di.get(t);if(!e)return;const{hasSubdivisions:i,subdivisionType:o}=e;!this.#Ei&&i?(this.#so(o),this.#co(t)):this.#ki||this.#do(t)}#so(t){const e=this.#uo(t);this.#Wi||this.#io(this.#Ii,"label",e||null),this.#Ri||this.#io(this.#Ii,"placeholder",e||null)}#uo(t){const e=this.#Si?.subdivisionTypes,i=e?.[t]??e?._fallback;if(!i)return t;const o=this.#Ui;return o&&(i[o]||i[o.split("-")[0]])||i.en||t}async#po(){try{this.#Si=await zm(this.#Vi)}catch{}}async#Xi(){if(this.#Vi){this.#Ni.setAttribute("loading","true");try{const[t]=await Promise.all([jm(this.#Vi),this.#po()]);this.#zi=t,this.#eo(t),!this.#Li&&this.#Yi&&this.#qi(this.#Yi)}catch(t){console.error(`[${Cm}] Failed to load countries`,t)}finally{this.#Ni.removeAttribute("loading")}}}async#co(t){this.#ho(this.#Ii,!0),this.#Ii.setAttribute("loading","true");try{const e=await Tm(t,this.#Vi);this.#vi=e,this.#ji=e.length>0,this.#Gi(),e.length>0?this.#Ii.data=e.map(t=>({...t,lang:this.#Ui})):this.#ki||this.#do(t)}catch(e){console.error(`[${Cm}] Failed to load subdivisions for ${t}`,e),this.#ji=!1,this.#go()}finally{this.#Ii.removeAttribute("loading")}}async#do(t,e){this.#xi.setAttribute("loading","true");try{const i=await(e?Dm(t,e,this.#Vi):vm(t,this.#Vi));this.#Ti=i.length>0,this.#Gi(),i.length>0&&(this.#Ci=i,this.#xi.data=i.map(t=>({...t,lang:this.#Ui})))}catch(i){console.error(`[${Cm}] Failed to load cities for ${t}${e?`/${e}`:""}`,i)}finally{this.#xi.removeAttribute("loading")}}#Ki(){if(this.#zi){const t=this.#Ni.value;this.#eo(this.#zi),t&&this.#Mo(this.#Ni,t)}if(this.#vi&&this.#ji){const t=this.#Ii.value;this.#Ii.data=this.#vi.map(t=>({...t,lang:this.#Ui})),t&&this.#Mo(this.#Ii,t)}if(this.#Ci&&this.#Ti){const t=this.#xi.value;this.#xi.data=this.#Ci.map(t=>({...t,lang:this.#Ui})),t&&this.#Mo(this.#xi,t)}const t=this.#Ni.value;if(t){const e=this.#Di.get(t);e?.subdivisionType&&this.#so(e.subdivisionType)}}#eo(t){const e=this.#mo(t);this.#Ni.data=e.map(t=>({...t,lang:this.#Ui})),this.#Di=new Map(t.map(t=>[t.iso2,t]))}#mo(t){const e=this.#Qi,i=this.#Pi;let o=e.length?t.filter(t=>e.includes(t.iso2)):[...t];return o.sort((t,e)=>Lm(t,this.#Ui).localeCompare(Lm(e,this.#Ui),this.#Ui)),i.length?[...i.map(t=>o.find(e=>e.iso2===t)).filter(Boolean),...o.filter(t=>!i.includes(t.iso2))]:o}#go(){this.#ho(this.#Ni,!this.#fi),this.#ho(this.#Ii,!this.#Ei&&(this.#Oi||this.#ji)),this.#ho(this.#xi,!this.#ki&&(this.#Oi||this.#Ti))}#ho(t,e){t?.classList.toggle(`${Cm}-hidden`,!e)}#_i(){const t=this.hasAttribute("required")?"true":null;this.#io(this.#Ni,"required",this.#fi?null:t),this.#io(this.#Ii,"required",this.#Ei||!this.#Oi&&!this.#ji?null:t),this.#io(this.#xi,"required",this.#ki||!this.#Oi&&!this.#Ti?null:t)}#Gi(){this.#go(),this.#_i(),this.setCustomValidity("")}#ao(){this.#Ii.value="",this.#Ii.data=[],this.#ji=!1,this.#Wi||this.#Ii.removeAttribute("label"),this.#Ri||this.#Ii.removeAttribute("placeholder"),this.#Gi()}#lo(){this.#xi.value="",this.#xi.data=[],this.#Ci=null,this.#Ti=!1,this.#Gi()}#ro(){this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}#io(t,e,i){i?t.setAttribute(e,i):t.removeAttribute(e)}#Fi(){return this.#Bi.find(t=>!t.classList.contains(`${Cm}-hidden`))}#Mo(t,e){setTimeout(()=>{const i=t.items?.find(t=>t["data-id"]===e);i&&(t.selectedItem=i)})}}),Rm=L("country-subdivision-city-field"),Qm={selector:()=>":host"},Pm={selector:`${Cm} > .wrapper`},Bm={selector:`${Cm} > .wrapper > descope-combo-box`},Zm=T(ct({componentNameOverride:L("input-wrapper")}),ct({mappings:{hostWidth:{...Qm,property:"width"},hostDirection:[{...Qm,property:"direction"},{...Bm,property:xo.cssVarList.hostDirection}],flexDirection:{...Pm,property:"flex-direction"},flexGap:{...Pm,property:"gap"},itemAlignment:{...Pm,property:"align-items"},itemMinWidth:{...Bm,property:"min-width"},itemFlexGrow:{...Bm,property:"flex-grow"},itemWidth:{...Bm,property:xo.cssVarList.hostWidth}}}),ut,wt({proxyProps:["value"],inputEvent:"input",proxyParentValidation:!0}),pt,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${Cm}\n tabindex="-1"\n ></${Cm}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Cm),w(this,this.inputElement,{includeAttrs:["size","bordered","required","label-type","disabled","readonly","hide-country","hide-subdivision","hide-city","default-country","allowed-countries","pinned-countries","country-label","subdivision-label","city-label","country-placeholder","subdivision-placeholder","city-placeholder","data-source-base-url","lang","invalid"]}),S(this,this.inputElement,{includeAttrs:["invalid"]})}})(Ct({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n ${Cm} {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n ${Cm} > .wrapper {\n display: flex;\n width: 100%;\n flex-wrap: wrap;\n }\n\n .${Cm}-hidden {\n display: none;\n }\n\n`,excludeAttrsSync:["tabindex","style","error-message"],componentName:Rm})),Fm=Zm.cssVarList,Gm={[Fm.hostWidth]:Cp.width,[Fm.hostDirection]:Cp.direction,[Fm.flexDirection]:"column",[Fm.flexGap]:"0.5em",[Fm.itemAlignment]:"stretch",[Fm.itemFlexGrow]:"0",[Fm.itemWidth]:"auto",_fullWidth:{[Fm.hostWidth]:"100%"},_horizontal:{[Fm.flexDirection]:"row",[Fm.itemFlexGrow]:"1"}};var Hm=Object.freeze({__proto__:null,default:Gm,vars:Fm});const Jm=L("attachment"),$m=["top-end","top-start","top-center","bottom-start","bottom-end","bottom-center"],_m=$m[0];class qm extends(yt({componentName:Jm,baseSelector:"descope-anchored"})){#si=null;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-anchored>\n <slot></slot>\n <div slot="anchored" class="attachment-container">\n <slot name="attachment"></slot>\n </div>\n </descope-anchored>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),this.attachmentSlot=this.shadowRoot.querySelector('slot[name="attachment"]'),this.anchored=this.shadowRoot.querySelector("descope-anchored")}get#yo(){return this.attachmentSlot?.assignedElements()[0]}static get observedAttributes(){return[...super.observedAttributes||[],"position"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"position"===t&&e!==i&&this.#bo()}init(){super.init?.(),f("\n :host {\n display: inline-block;\n }\n :host(.hidden) {\n display: none;\n }\n .attachment-container {\n position: absolute;\n z-index: 1;\n pointer-events: none;\n width: 100%;\n display: flex;\n align-items: center;\n container-type: inline-size;\n }\n",this),this.#bo();const t=this.shadowRoot.querySelector(".attachment-container");z(t,()=>this.#No(),{includeAttrs:["st-host-direction"]}),this.attachmentSlot.addEventListener("slotchange",()=>this.#No()),this.defaultSlot.addEventListener("slotchange",()=>{this.#Io(),window.requestAnimationFrame(()=>this.#xo())}),window.requestAnimationFrame(()=>this.#Io())}#ai(){const t=this.anchored?.classList?.contains("hidden");this.classList.toggle("hidden",t)}#pi(){this.#si?.disconnect(),this.anchored&&(this.#si=z(this.anchored,()=>this.#ai(),{includeAttrs:["class"]}))}connectedCallback(){super.connectedCallback?.(),this.#ai(),this.#pi()}disconnectedCallback(){super.disconnectedCallback?.(),this.#si?.disconnect()}#xo(){const t=this.defaultSlot?.assignedElements()?.[0],e=t?.getBoundingClientRect();if(e){const t=e.width;this.#yo?.setAttribute("data-attachment-size",Number(t))}}#Io(){const t=this.defaultSlot?.assignedElements()?.length>0;this.classList.toggle("hidden",!t)}#No(){const t=this.shadowRoot.querySelector(".attachment-container")?.getAttribute("st-host-direction");t&&this.#yo?.setAttribute("st-host-direction",t)}get offsetX(){return this.getAttribute("offset-x")||"0px"}get offsetY(){return this.getAttribute("offset-y")||"0px"}#bo(){const t=this.getAttribute("position");$m.includes(t)||this.setAttribute("position",_m)}}const Xm={selector:()=>".attachment-container"},Km=T(ct({mappings:{transform:{...Xm},justifyContent:{...Xm},maxWidth:{...Xm},top:{...Xm},bottom:{...Xm},left:{...Xm},right:{...Xm},offsetX:{},offsetY:{}}}),ut,pt)(qm),ty=Km.cssVarList,ey=`calc(8px + var(${ty.offsetX}))`,iy={[ty.maxWidth]:"calc(100% - 2 * 8px)",position:{"top-start":{[ty.transform]:"translateY(-50%)",[ty.justifyContent]:"start",[ty.left]:ey,[ty.top]:it(ty.offsetY)},"top-center":{[ty.transform]:"translate(-50%, -50%)",[ty.justifyContent]:"center",[ty.top]:it(ty.offsetY),[ty.left]:"50%"},"top-end":{[ty.transform]:"translateY(-50%)",[ty.justifyContent]:"end",[ty.right]:ey,[ty.top]:it(ty.offsetY)},"bottom-start":{[ty.transform]:"translateY(50%)",[ty.justifyContent]:"start",[ty.left]:ey,[ty.bottom]:it(ty.offsetY)},"bottom-center":{[ty.bottom]:it(ty.offsetY),[ty.transform]:"translate(-50%, 50%)",[ty.justifyContent]:"center",[ty.left]:"50%"},"bottom-end":{[ty.transform]:"translateY(50%)",[ty.justifyContent]:"end",[ty.right]:ey,[ty.bottom]:it(ty.offsetY)}}};var oy=Object.freeze({__proto__:null,default:iy}),ny="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkgyMlY0SDRDMi45IDQgMiA0LjkgMiA2VjE3SDBWMjBIMTRWMTdINFY2Wk0yMyA4SDE3QzE2LjQ1IDggMTYgOC40NSAxNiA5VjE5QzE2IDE5LjU1IDE2LjQ1IDIwIDE3IDIwSDIzQzIzLjU1IDIwIDI0IDE5LjU1IDI0IDE5VjlDMjQgOC40NSAyMy41NSA4IDIzIDhaTTIyIDE3SDE4VjEwSDIyVjE3WiIgZmlsbD0id2hpdGUiLz4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AzIDNoOGMxLjY2IDAgMy0xLjM0IDMtM3YtMTZjMC0xLjY2LTEuMzQtMy0zLTN6bTEgMTdoLTEwdi0xNGgxMHptLTMgM2gtNHYtMWg0eiIgZmlsbD0iI2JlYzRjYSIvPjwvc3ZnPg=="},other:{light:ry,dark:ny}},ly=L("user-passkeys"),dy=({id:t,name:e,createdAt:i,passkeyType:o},n,r)=>{const{iconSrc:s,iconSrcDark:a}=(t=>{const e=ay[t]||ay.other;return{iconSrc:e.light,iconSrcDark:e.dark}})(o),l=i&&r.createdAtLabel?`${r.createdAtLabel} `:"",d=((t,e)=>{if(Number.isNaN(parseInt(t,10)))return"";const i=new Date(t),o=i.getFullYear(),n=String(i.getMonth()+1).padStart(2,"0"),r=String(i.getDate()).padStart(2,"0"),s=i.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),a={"DD-MM-YYYY":`${r}/${n}/${o}`,"YYYY-MM-DD":`${o}/${n}/${r}`,"MM-DD-YYYY":`${n}/${r}/${o}`};return`${a[e]||a["MM-DD-YYYY"]} ${s}`})(i,r.format),c=document.createElement("template");return c.innerHTML=`\n <descope-list-item>\n <div class="content">\n <div class="main">\n <span class="item">\n <descope-icon class="item-icon" src="${s}" src-dark="${a}"></descope-icon>\n <descope-text class="item-name" variant="body1" mode="primary"></descope-text>\n </span>\n <span class="item-panel">\n ${r.allowRemove?'<descope-link variant="text" mode="primary" size="md" ellipsis="true" data-action="remove-passkey" class="remove-button">\n <div class="remove-button-content">\n </div>\n </descope-link>':'<descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg=="></descope-icon>'}\n </span>\n </div>\n <div class="meta">\n <descope-text variant="body2" mode="primary">${l}</descope-text>\n <descope-text class="date" variant="body2" mode="primary">\n ${d}\n </descope-text>\n </div>\n </div>\n </descope-list-item>\n `,c.content.querySelector(".item-name").textContent=e,r.allowRemove&&((t,e,i)=>{const o=t.content.querySelector(".remove-button-content");o.dataset.passkeyId=e;const n=((t,e)=>{if(!t)return null;const i=t.querySelectorAll(`:scope > [slot="${e}"]`);if(!i.length)return null;const o=document.createDocumentFragment();return i.forEach(t=>{const e=t.content?t.content.cloneNode(!0):t.cloneNode(!0);e.removeAttribute&&e.removeAttribute("slot"),o.append(e)}),o})(i,"remove-button");n&&o.append(n)})(c,t,r),c},cy=yt({componentName:ly,baseSelector:hu.componentName}),{host:uy,methodIconSlotted:py,addIconSlotted:hy}={host:{selector:()=>":host"},methodIconSlotted:{selector:()=>'slot[name="method-icon"]::slotted(*)'},addIconSlotted:{selector:()=>'slot[name="button-icon"]::slotted(*)'}},gy=T(ct({mappings:{hostWidth:{...uy,property:"width"},hostMinWidth:{...uy,property:"min-width"},hostDirection:[{...uy,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"},{selector:()=>"descope-link",property:Wi.cssVarList.hostDirection}],headerGap:{selector:()=>".method",property:"gap"},listGap:{selector:()=>"descope-list",property:"margin-top"},listItemsGap:{property:hu.cssVarList.gap},listBackgroundColor:{selector:()=>hu.componentName,property:hu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>hu.componentName,property:hu.cssVarList.borderRadius},listBorderWidth:{selector:()=>hu.componentName,property:hu.cssVarList.borderWidth},listBoxShadow:{selector:()=>hu.componentName,property:hu.cssVarList.boxShadow},listPadding:[{selector:()=>hu.componentName,property:hu.cssVarList.verticalPadding},{selector:()=>hu.componentName,property:hu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:cu.componentName,property:cu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:cu.componentName,property:cu.cssVarList.horizontalPadding},itemCursor:{selector:cu.componentName,property:cu.cssVarList.cursor},itemOutline:{selector:cu.componentName,property:cu.cssVarList.outline},itemBorderColor:{selector:cu.componentName,property:cu.cssVarList.borderColor},itemBorderRadius:{selector:cu.componentName,property:cu.cssVarList.borderRadius},itemBackgroundColor:{selector:cu.componentName,property:cu.cssVarList.backgroundColor},itemContentGap:{selector:()=>".content",property:"gap"},itemPanelGap:{selector:()=>".main",property:"gap"},itemIconGap:{selector:()=>".item",property:"gap"},itemIconSize:[{selector:()=>".item-icon",property:"width"},{selector:()=>".item-icon",property:"height"}],addButtonGap:{selector:()=>".button",property:"margin-inline-end"},dateGap:{selector:" .meta",property:"gap"},removeButtonGap:{selector:()=>".remove-button-content",property:"gap"},iconColor:{selector:()=>ko.componentName,property:ko.cssVarList.iconColor},iconSize:[{...py,property:"height"},{...hy,property:"height"}]}}),ut,Vt({itemRenderer:dy,sortFn:(t,e)=>sy(e.createdAt)-sy(t.createdAt),rerenderAttrsList:["created-at-label","format","allow-remove"]}),pt)(class extends cy{static get observedAttributes(){return["label","add-passkey-button-label","remove-passkey-button-label","empty"].concat(super.observedAttributes)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="header">\n <div class="method">\n <slot name="method-icon"></slot>\n <descope-text class="method-label" st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>\n </div>\n <span class="button">\n <descope-button class="add-passkey-button" size="sm" variant="link" mode="primary">\n <slot name="button-icon"></slot>\n </descope-button>\n </span>\n </div>\n\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n\n <slot name="remove-button" class="hidden"></slot>\n ',this.methodLabel=this.shadowRoot.querySelector(".method-label"),this.addPasskeyButton=this.shadowRoot.querySelector(".add-passkey-button"),this.appsList=this.shadowRoot.querySelector("descope-list"),this.removeButton=this.shadowRoot.querySelector('slot[name="remove-button"]'),f("\n .remove-button-content {\n display: flex;\n align-items: center;\n }\n :host {\n display: inline-block;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .header .method {\n display: flex;\n }\n\n .button {\n min-width: 0;\n }\n\n .add-passkey-button {\n align-self: center;\n max-width: 100%;\n }\n\n .add-passkey-button > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .descope-list-item {\n min-width: 0;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .main {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .item-panel {\n display: flex;\n flex-shrink: 0;\n max-width: 75%;\n overflow: hidden;\n align-items: center;\n cursor: pointer;\n }\n\n .item {\n display: flex;\n min-width: 0;\n }\n\n .item-icon {\n flex-shrink: 0;\n }\n\n .meta {\n display: flex;\n }\n\n .date {\n min-width: fit-content;\n }\n\n descope-text {\n display: flex;\n align-items: center; \n min-width: 0;\n }\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n descope-link {\n overflow: hidden;\n }\n descope-link.remove-button {\n width: 100%;\n }\n descope-link.remove-button::part(wrapper) {\n display: flex;\n width: 100%;\n }\n .hidden {\n display: none\n }\n \n ",this)}init(){super.init?.(),this.appsList.itemRenderer=dy,this.appsList.addEventListener("click",this.onRemoveClick.bind(this)),this.addPasskeyButton.addEventListener("click",this.onAddClick.bind(this)),w(this.appsList,this,{includeAttrs:["empty"]}),this.removeButton.addEventListener("slotchange",()=>{this.data=[...this.data]}),this.onLabelChange(),this.updateButtonLabel(this.addPasskeyButton,this.addPasskeyButtonLabel)}onAddClick(){this.readOnly||this.dispatchEvent(new CustomEvent("add-passkey-clicked",{bubbles:!0,detail:{action:"add-passkey"}}))}onRemoveClick(t){if(this.readOnly)return;const e=t.target.closest("[data-passkey-id]"),i=e?.getAttribute("data-passkey-id");i&&this.dispatchEvent(new CustomEvent("remove-passkey-clicked",{bubbles:!0,detail:{id:i,action:"remove-passkey"}}))}get label(){return this.getAttribute("label")||"Passkey"}get readOnly(){return"true"===this.getAttribute("readonly")}get allowRemove(){return"true"===this.getAttribute("allow-remove")}get format(){return this.getAttribute("format")?.toUpperCase()||"MM-DD-YYYY"}get addPasskeyButtonLabel(){return this.getAttribute("add-passkey-button-label")||"Add"}get removePasskeyButtonLabel(){return this.getAttribute("remove-passkey-button-label")||"Remove"}get createdAtLabel(){return this.getAttribute("created-at-label")||"Date added:"}get direction(){return this.getAttribute("st-host-direction")}onLabelChange(){this.methodLabel.innerText=this.label,this.methodLabel.setAttribute("title",this.label)}updateButtonLabel(t,e){let i=t.querySelector("span");e?(i||(i=document.createElement("span"),t.appendChild(i)),i.textContent=e):i&&t.removeChild(i)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"add-passkey-button-label"===t?this.updateButtonLabel(this.addPasskeyButton,this.addPasskeyButtonLabel):"empty"===t&&this.appsList.classList.toggle("hidden","true"===i))}}),My=gy.cssVarList,my={[My.hostWidth]:"auto",[My.hostWidth]:"300px",[My.hostMinWidth]:"300px",[My.headerGap]:ep.spacing.lg,[My.listGap]:ep.spacing.xl,[My.listBackgroundColor]:"transparent",[My.listBorderRadius]:"0",[My.listBorderWidth]:"0",[My.listPadding]:"0",[My.listBoxShadow]:"none",[My.listItemsGap]:ep.spacing.lg,[My.itemBorderColor]:ep.colors.surface.light,[My.itemVerticalPadding]:ep.spacing.lg,[My.itemHorizontalPadding]:ep.spacing.lg,[My.itemBorderRadius]:ep.radius.xs,[My.itemOutline]:"transparent",[My.itemBackgroundColor]:"transparent",[My.itemCursor]:"default",[My.itemContentGap]:ep.spacing.sm,[My.itemPanelGap]:ep.spacing.md,[My.itemIconGap]:ep.spacing.md,[My.itemIconSize]:"24px",[My.addButtonGap]:ep.spacing.sm,[My.dateGap]:ep.spacing.xs,[My.removeButtonGap]:ep.spacing.sm,[My.iconSize]:"1.5em",[My.iconColor]:"currentcolor",_fullWidth:{[My.hostWidth]:"100%"}};var yy=Object.freeze({__proto__:null,default:my,vars:My});const by=et(ep),Ny=qn.cssVarList,Iy={[Ny.hostWidth]:Cp.width,[Ny.hostMinWidth]:Cp.minWidth,[Ny.hostDirection]:Cp.direction,[Ny.fontSize]:Cp.fontSize,[Ny.fontFamily]:Cp.fontFamily,[Ny.labelFontSize]:Cp.labelFontSize,[Ny.labelFontWeight]:Cp.labelFontWeight,[Ny.inputValueFontWeight]:Cp.inputValueFontWeight,[Ny.inputPlaceholderFontWeight]:Cp.inputPlaceholderFontWeight,[Ny.helperTextFontWeight]:Cp.helperTextFontWeight,[Ny.errorMessageFontWeight]:Cp.errorMessageFontWeight,[Ny.labelTextColor]:Cp.labelTextColor,[Ny.labelRequiredIndicator]:Cp.requiredIndicator,[Ny.errorMessageTextColor]:Cp.errorMessageTextColor,[Ny.inputValueTextColor]:Cp.valueTextColor,[Ny.inputPlaceholderColor]:Cp.placeholderTextColor,[Ny.inputBorderWidth]:Cp.borderWidth,[Ny.inputBorderStyle]:Cp.borderStyle,[Ny.inputBorderColor]:Cp.borderColor,[Ny.inputBorderRadius]:Cp.borderRadius,[Ny.inputOutlineWidth]:Cp.outlineWidth,[Ny.inputOutlineStyle]:Cp.outlineStyle,[Ny.inputOutlineColor]:Cp.outlineColor,[Ny.inputOutlineOffset]:Cp.outlineOffset,[Ny.inputBackgroundColor]:Cp.backgroundColor,[Ny.inputHeight]:Cp.inputHeight,[Ny.inputHorizontalPadding]:Cp.horizontalPadding,[Ny.helperTextColor]:Cp.helperTextColor,[Ny.textAlign]:Cp.textAlign,textAlign:{right:{[Ny.inputTextAlign]:"right"},left:{[Ny.inputTextAlign]:"left"},center:{[Ny.inputTextAlign]:"center"}},[Ny.labelPosition]:Cp.labelPosition,[Ny.labelTopPosition]:Cp.labelTopPosition,[Ny.labelHorizontalPosition]:Cp.labelHorizontalPosition,[Ny.inputTransformY]:Cp.inputTransformY,[Ny.inputTransition]:Cp.inputTransition,[Ny.marginInlineStart]:Cp.marginInlineStart,[Ny.placeholderOpacity]:Cp.placeholderOpacity,[Ny.inputVerticalAlignment]:Cp.inputVerticalAlignment,[Ny.valueInputHeight]:Cp.valueInputHeight,[Ny.valueInputMarginBottom]:Cp.valueInputMarginBottom,[Ny.inputIconOffset]:by.spacing.md,[Ny.inputIconSize]:Cp.inputIconSize,[Ny.inputIconColor]:Cp.placeholderTextColor,[Ny.errorMessageIcon]:Cp.errorMessageIcon,[Ny.errorMessageIconSize]:Cp.errorMessageIconSize,[Ny.errorMessageIconPadding]:Cp.errorMessageIconPadding,[Ny.errorMessageIconRepeat]:Cp.errorMessageIconRepeat,[Ny.errorMessageIconPosition]:Cp.errorMessageIconPosition,[Ny.errorMessageFontSize]:Cp.errorMessageFontSize,[Ny.inputTextSecurity]:Cp.inputTextSecurity};var xy=Object.freeze({__proto__:null,default:Iy,textField:Iy,vars:Ny});class jy{#U=Object.freeze([]);constructor({id:t,min:e,max:i,placeholder:o},n){this.id=t,this.min=e,this.max=i,this.placeholder=o,this.onChange=n}get data(){return this.#U}set data(t){this.#U=Object.freeze(t),this.onChange?.()}get#at(){return this.data.length?this.numberValue:0}get numberValue(){return Number(this.stringValue)}get stringValue(){return(this.data.join("")||this.placeholder).padStart(this.length,"0")}get isFull(){return 10*this.numberValue>this.max||this.data.length===this.length}get isEmpty(){return this.stringValue===this.placeholder}get length(){return this.max.toString().length}set(t){this.data=t.toString().split("")}add(t){let{data:e}=this;return e=[...e,t],Number(e.join(""))>this.max?e=[t]:this.length<e.length&&(e=e.slice(1,e.length)),this.data=e,t}del(){this.data.filter(t=>"0"!==t).filter(Boolean).length?this.data=this.data.slice(0,this.data.length-1):this.data=[]}clear(){this.data=[]}inc(t){this.replaceValue(this.#at<this.max?Math.max(this.#at+(t||1),this.min):this.min)}dec(t){this.replaceValue(this.#at>this.min?Math.min(this.#at-(t||1),this.max):this.max)}isInRange(t){return t>=this.min&&t<=this.max}replaceValue(t){this.isInRange(t)&&(this.data=t.toString().padStart(this.length,0).split(""))}setMin(t){this.min=Number(t)}setMax(t){this.max=Number(t)}}const Ty=["MM/DD","DD/MM"],Dy=Ty[0],zy="/",vy=[31,29,31,30,31,30,31,31,30,31,30,31],Cy={id:"month",min:1,max:12,placeholder:"MM"},Sy={id:"day",min:1,max:31,placeholder:"DD"},Ly={MM:"(0?[1-9]|1[0-2])",DD:"(0?[1-9]|[12][0-9]|3[01])"},Ay=t=>{const e=(t=>`^${t.split(zy).map(t=>Ly[t]).join("\\D")}$`)(t),i=(t=>{const e=t.split(zy);return t=>{const i={};return e.forEach((e,o)=>{i[e]=Number(t[o+1])}),{month:i.MM,day:i.DD}}})(t),o=new RegExp(e);return{pattern:e,validate:t=>o.test(t),getParts:t=>{const e=o.exec(t);return e?i(e):null}}},wy=Object.fromEntries(Ty.map(t=>[t,Ay(t)])),fy=(t,e)=>{const i=t?.trim?.();return i?wy[e]?.getParts(i)??null:null},Ey=L("month-day-field"),ky=Dt({componentName:Ey,baseSelector:"vaadin-popover"}),Oy=["format","opened","initial-value","readonly","disable-picker"],Vy=["picker-months","picker-label-submit","picker-label-cancel"],Uy=[...Oy,...Vy],Yy=qn.cssVarList,{host:Wy,input:Ry,inputEleRTL:Qy,toggleButton:Py,overlay:By,backdrop:Zy,bottomNav:Fy,navButton:Gy}={host:{selector:()=>":host"},input:{selector:()=>"descope-text-field"},inputEleRTL:{selector:()=>':host([st-host-direction="rtl"]) descope-text-field'},toggleButton:{selector:()=>".toggle-picker"},overlay:{selector:"vaadin-popover-overlay::part(overlay)"},backdrop:{selector:"vaadin-popover-overlay::part(backdrop)"},bottomNav:{selector:"vaadin-popover-overlay .bottom-nav"},navButton:{selector:"vaadin-popover-overlay .bottom-nav descope-button"}},Hy=T(ct({componentNameOverride:L("input-wrapper")}),ct({mappings:{iconMargin:{...Py,property:"margin-inline-end"},hostWidth:{...Wy,property:"width"},hostDirection:{...Wy,property:"direction"},textAlign:{...Ry,property:"text-align"},rtlInputDirection:{...Qy,property:Yy.inputDirection},rtlInputAlignment:{...Qy,property:Yy.inputTextAlign},overlayGap:{property:()=>Hy.cssVarList.overlayGap},overlayBackgroundColor:{property:()=>Hy.cssVarList.overlayBackgroundColor},overlayPadding:{property:()=>Hy.cssVarList.overlayPadding},overlayBoxShadow:{property:()=>Hy.cssVarList.overlayBoxShadow},overlayOutlineWidth:{property:()=>Hy.cssVarList.overlayOutlineWidth},overlayOutlineColor:{property:()=>Hy.cssVarList.overlayOutlineColor},overlayOutlineStyle:{property:()=>Hy.cssVarList.overlayOutlineStyle},errorMessageIcon:{selector:qn.componentName,property:qn.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:qn.componentName,property:qn.cssVarList.errorMessageIconSize},errorMessageIconPadding:{selector:qn.componentName,property:qn.cssVarList.errorMessageIconPadding},errorMessageIconRepeat:{selector:qn.componentName,property:qn.cssVarList.errorMessageIconRepeat},errorMessageIconPosition:{selector:qn.componentName,property:qn.cssVarList.errorMessageIconPosition},errorMessageFontSize:{selector:qn.componentName,property:qn.cssVarList.errorMessageFontSize},labelFontWeight:{selector:qn.componentName,property:qn.cssVarList.labelFontWeight},inputValueFontWeight:{selector:qn.componentName,property:qn.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{selector:qn.componentName,property:qn.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{selector:qn.componentName,property:qn.cssVarList.helperTextFontWeight},errorMessageFontWeight:{selector:qn.componentName,property:qn.cssVarList.errorMessageFontWeight}}}),Et({name:"overlay",selector:"",mappings:{marginTop:{...By,property:"margin-top"},backgroundColor:{...By},backdropBackgroundColor:{...Zy,property:"background-color"},backdropPointerEvents:{...Zy,property:"pointer-events"},padding:{...By},boxShadow:{...By},outlineWidth:{...By},outlineColor:{...By},outlineStyle:{...By},bottomNavTopPadding:{...Fy,property:"padding-top"},bottomNavBottomPadding:{...Fy,property:"padding-bottom"},bottomNavHorizontalPadding:[{...Fy,property:"padding-left"},{...Fy,property:"padding-right"}],bottomNavAlignment:{...Fy,property:"justify-content"},bottomNavGap:{...Fy,property:"gap"},navButtonPadding:[{...Gy,property:ko.cssVarList.horizontalPadding},{...Gy,property:ko.cssVarList.verticalPadding}],navButtonOutlineWidth:{...Gy,property:ko.cssVarList.outlineWidth}}}),ut,pt)(class extends ky{format=Dy;#jo=0;#To=()=>{this.updateCountersDisplay(),this.#Do(),this.#lt()};#zo=[new jy(Cy,this.#To.bind(this)),new jy(Sy,this.#To.bind(this))];static get observedAttributes(){return[].concat(ky.observedAttributes||[],Uy)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <descope-text-field inputmode="numeric">\n <span slot="suffix" class="toggle-picker">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05IDVIMTVWNC41MDQ2OEMxNSA0LjIxNDA0IDE1LjIyNiA0IDE1LjUwNDcgNEgxNi40OTUzQzE2Ljc4NiA0IDE3IDQuMjI1OTUgMTcgNC41MDQ2OFY1SDE4Ljc1NjhDMTkuMzAyOCA1IDE5Ljc1IDUuNDQ3MjUgMTkuNzUgNS45OTg5NlY3LjAwMTA0QzE5Ljc1IDcuNTU3MzQgMTkuMzA1MyA4IDE4Ljc1NjggOEg1LjI0MzE3QzQuNjk3MTcgOCA0LjI1IDcuNTUyNzUgNC4yNSA3LjAwMTA0VjUuOTk4OTZDNC4yNSA1LjQ0MjY2IDQuNjk0NjYgNSA1LjI0MzE3IDVIN1Y0LjUwNDY4QzcgNC4yMTQwNCA3Lj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UzQzE5IDEzLjc4NiAxOC43NzQgMTQgMTguNDk1MyAxNEgxNy41MDQ3QzE3LjIxNCAxNCAxNyAxMy43NzQgMTcgMTMuNDk1M1YxMi41MDQ3QzE3IDEyLjIxNCAxNy4yMjYgMTIgMTcuNTA0NyAxMlpNMTcuNTA0NyA5SDE4LjQ5NTNDMTguNzg2IDkgMTkgOS4yMjU5NiAxOSA5LjUwNDY4VjEwLjQ5NTNDMTkgMTAuNzg2IDE4Ljc3NCAxMSAxOC40OTUzIDExSDE3LjUwNDdDMTcuMjE0IDExIDE3IDEwLjc3NCAxNyAxMC40OTUzVjkuNTA0NjhDMTcgOS4yMTQwNCAxNy4yMjYgOSAxNy41MDQ3IDlaIiBmaWxsPSIjODA4MDgwIi8+Cjwvc3ZnPgo="></descope-icon>\n </span>\n </descope-text-field>\n <vaadin-popover></vaadin-popover>\n </div>\n ',f('\n :host {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n max-width: 100%;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n .toggle-picker {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n height: 100%;\n align-items: center;\n }\n\n :host([readonly="true"]) .toggle-picker {\n pointer-events: none;\n }\n\n .hidden {\n display: none;\n }\n ',this),this.inputElement=this.shadowRoot.querySelector("descope-text-field"),this.popoverToggleButton=this.inputElement.querySelector(".toggle-picker")}get validationTarget(){return this.inputElement}get opened(){return"true"===this.getAttribute("opened")}get monthCounter(){return this.#zo.find(t=>t.id===Cy.id)}get dayCounter(){return this.#zo.find(t=>t.id===Sy.id)}get sortedCounters(){return this.format.split(zy).map(t=>this.#zo.find(e=>e.placeholder===t))}get activeCounter(){return this.sortedCounters[this.#jo]}get countersValue(){return this.sortedCounters.map(t=>t.stringValue).join(zy)}get isCountersEmpty(){return this.#zo.every(t=>t.isEmpty)}get isCountersOutOfRange(){return this.#zo.some(t=>!t.isInRange(t.numberValue))}get disablePicker(){return"true"===this.getAttribute("disable-picker")}get overlay(){return this.baseElement.shadowRoot?.querySelector("vaadin-popover-overlay")}get backdrop(){return this.overlay?.shadowRoot?.querySelector("#backdrop")}get picker(){return this.overlay?.querySelector("descope-month-day-field-picker")}get isRTL(){const t=getComputedStyle(this.baseElement).getPropertyValue("direction");return t?"rtl"===t:"rtl"===this.getAttribute("st-host-direction")}get value(){return this.isCountersEmpty||this.isCountersOutOfRange?"":((t,e)=>this.format.replace(/MM|DD/g,i=>String("MM"===i?t:e).padStart(2,"0")))(this.monthCounter.numberValue,this.dayCounter.numberValue)}set value(t){const e=t?fy(String(t),this.format):null;e?this.#vo(e.month,e.day):(this.#zo.forEach(t=>t.clear()),this.clearInputEle())}get isSelectAll(){const{value:t,selectionStart:e,selectionEnd:i}=this.inputElement;return t.length===e+i}getValidity(){return this.isRequired&&this.isCountersEmpty?{valueMissing:!0}:!this.isCountersEmpty&&this.isCountersOutOfRange?{patternMismatch:!0}:{}}reportValidity(){this.inputElement.reportValidity()}#Do(){const t=this.monthCounter.numberValue,e=vy[t-1]??31;this.dayCounter.max!==e&&this.dayCounter.setMax(e)}#vo(t,e){this.monthCounter.replaceValue(t),this.#Do(),e>this.dayCounter.max?this.dayCounter.clear():this.dayCounter.replaceValue(e)}updateCountersDisplay(){this.inputElement.value=this.countersValue}#lt(){this.dispatchEvent(new Event("input",{bubbles:!0}))}resetCounters(){this.#zo.forEach(t=>t.clear())}clearInputEle(){this.inputElement.value=""}init(){super.init?.(),this.#Co(),this.#So(),this.#To(),this.#Lo(),setTimeout(()=>this.#it(),0)}#Lo(){this.inputElement.getValidity=this.getValidity.bind(this),this.popoverToggleButton.addEventListener("click",this.#Ao.bind(this)),this.inputElement.addEventListener("focus",this.#wo.bind(this)),this.inputElement.addEventListener("blur",this.#fo.bind(this)),this.inputElement.addEventListener("click",this.#Eo.bind(this)),this.inputElement.addEventListener("keydown",this.#ko.bind(this)),this.inputElement.addEventListener("beforeinput",this.#Oo.bind(this)),this.inputElement.addEventListener("pointerdown",this.#Vo.bind(this)),this.inputElement.addEventListener("paste",this.#Uo.bind(this)),w(this,this.inputElement,{includeAttrs:["label","label-type","placeholder","disabled","readonly","bordered","required","full-width","st-host-direction","pattern","data-errormessage-value-missing","data-errormessage-pattern-mismatch","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]})}#So(){this.baseElement.trigger=["click"],this.baseElement.withBackdrop=!0,this.baseElement.renderer=this.#dt.bind(this),this.baseElement.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation()})}#ct;#dt(t){t.firstChild||(this.overlay.positionTarget=this.shadowRoot.querySelector(".toggle-picker"),t.appendChild(this.#ut()),(t=>{const e=new CSSStyleSheet;e.insertRule(":host{display:block!important;}"),t?.shadowRoot?.adoptedStyleSheets?.push(e)})(this.baseElement),this.backdrop?.addEventListener("click",this.closePopover.bind(this)),f("\n .overlay-hidden { visibility: hidden; }\n .bottom-nav {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n }\n ",t.getRootNode())),this.#Yo(),t.classList.add("overlay-hidden"),setTimeout(()=>{this.#pt(),t.classList.remove("overlay-hidden")},100)}#pt(){const t=this.shadowRoot.querySelector("vaadin-popover").shadowRoot;if(!t||!this.picker)return;this.#ct?.replaceSync("vaadin-popover-overlay::part(overlay) { transform: none; }");const e=document.body.getBoundingClientRect(),i=this.getBoundingClientRect(),o=this.picker.getBoundingClientRect(),n=this.isRTL?"right":"left",r=i[n]-o[n],s=o.left,a=e.width-o.right;let l;l=r>0?Math.min(r,a):-1*Math.min(Math.abs(r),s);const d=`\n vaadin-popover-overlay::part(overlay) {\n transform: translateX(${l}px);\n }\n `;this.#ct?this.#ct.replaceSync(d):this.#ct=f(d,t)}#ut(){const t=document.createElement("span");t.innerHTML='\n <descope-month-day-field-picker></descope-month-day-field-picker>\n <nav class="bottom-nav">\n <descope-button class="cancel-button" variant="link" mode="primary"></descope-button>\n <descope-button class="submit-button" variant="link" mode="primary" disabled="true"></descope-button>\n </nav>\n ';const e=t.querySelector("descope-month-day-field-picker");return this.cancelButton=t.querySelector(".cancel-button"),this.submitButton=t.querySelector(".submit-button"),this.#Wo(),this.cancelButton.addEventListener("click",this.#Ro.bind(this)),this.submitButton.addEventListener("click",this.#Qo.bind(this)),e.addEventListener("change",this.#Po.bind(this)),t}#it(){this.overlay&&(this.overlay._attachOverlay=()=>this.overlay.bringToFront(),this.overlay._detachOverlay=()=>{},this.overlay._enterModalState=()=>{})}#Yo(){this.picker&&(this.isCountersEmpty?this.picker.value="":(this.picker.month=this.monthCounter.isEmpty?null:this.monthCounter.numberValue,this.picker.day=this.dayCounter.isEmpty?null:this.dayCounter.numberValue),w(this,this.picker,{includeAttrs:["st-host-direction","readonly","disabled","picker-months"]}))}get#Bo(){return this.getAttribute("picker-label-submit")||"Done"}get#Zo(){return this.getAttribute("picker-label-cancel")||"Cancel"}#Wo(){this.submitButton&&(this.submitButton.textContent=this.#Bo,this.cancelButton.textContent=this.#Zo)}#Po(t){const{month:e,day:i}=t.detail||{};this.#Fo(null==e||null==i)}#Fo(t){if(!this.submitButton)return;const e=this.submitButton.shadowRoot?.querySelector("vaadin-button");t?(this.submitButton.setAttribute("disabled","true"),e?.setAttribute("disabled","true")):(this.submitButton.removeAttribute("disabled"),e?.removeAttribute("disabled"))}#Ro(){this.closePopover()}#Qo(){if(this.isReadOnly)return void this.closePopover();const t=this.picker?.month,e=this.picker?.day;null!=t&&null!=e?(this.#vo(t,e),this.#lt(),this.closePopover()):this.closePopover()}#Ao(){this.opened?this.closePopover():this.openPopover()}openPopover(){this.disablePicker||this.setAttribute("opened","true")}closePopover(){this.removeAttribute("opened"),this.inputElement.focus()}#Go(t){t?this.popoverToggleButton.classList.remove("hidden"):this.popoverToggleButton.classList.add("hidden")}#Oo(t){var e;t.preventDefault(),this.#Ho(),t.data&&(e=t.data,String(e||"").trim()&&!Number.isNaN(Number(e)))?(this.#Jo(t.data),this.updateCountersDisplay()):t.inputType&&this.#$o(t)}#Ho(){this.isSelectAll&&this.#_o()}#Jo(t){this.activeCounter.add(t),this.activeCounter.isFull&&this.#qo(),this.#Xo()}#Ko(t){const[e,i]=this.sortedCounters.map(t=>t.length);return t<=e?0:1}#tn(t){this.#jo=this.#Ko(t.target?.selectionStart||this.inputElement.selectionStart)}#_o(){this.#jo=0}#qo(){this.#jo<this.#zo.length-1&&(this.#jo=Math.min(this.#jo+1,1))}#en(){this.#jo>0&&(this.#jo=0)}#Xo(){this.#jo<0||setTimeout(()=>{const t=this.sortedCounters.slice(0,this.#jo).reduce((t,e)=>t+e.length,this.#jo);this.inputElement.setSelectionRange(t,t+this.sortedCounters[this.#jo].length)})}#ko(t){t.metaKey||t.ctrlKey?"x"===t.key.toLowerCase()&&this.#in(t):(this.#Ho(),"ArrowUp"===t.key?this.activeCounter.inc():"ArrowDown"===t.key?this.activeCounter.dec():"ArrowRight"===t.key?this.#qo():"ArrowLeft"===t.key&&this.#en(),this.#Xo())}#$o(t){this.isReadOnly||(this.opened&&this.closePopover(),this.activeCounter&&("deleteContentBackward"===t.inputType&&this.#on(),this.#Xo()))}#on(){if(this.isSelectAll)return void this.#nn();const t=this.activeCounter;t.isEmpty?(this.#en(),this.#Xo()):t.set(""),setTimeout(()=>{this.updateCountersDisplay(),this.#Xo()})}#Eo(t){this.opened||(t.preventDefault(),this.#tn(t),this.#Xo())}#Vo(t){setTimeout(()=>this.#Eo(t),150)}#wo(){this.isReadOnly||setTimeout(()=>this.#rn())}#fo(){this.opened||this.inputElement.value===this.format&&this.clearInputEle()}#rn(){this.inputElement.value||(this.inputElement.value=this.format),this.#_o(),this.inputElement.setSelectionRange(0,this.sortedCounters[0].length)}#nn(){this.resetCounters(),this.#_o(),this.#rn()}#sn(t){Object.keys(wy).includes(t)&&(this.format=t,this.#Co(),this.updateCountersDisplay())}#Co(){const t=this.getAttribute("format")||this.format||Dy,e=wy[t]?t:Dy;this.format=e,this.setAttribute("pattern",wy[e].pattern)}#in(t){t.preventDefault(),this.isSelectAll?(this.#ht(this.countersValue),this.#nn()):(this.#ht(this.activeCounter.stringValue),this.activeCounter.set("")),this.#Xo()}#ht(t){try{navigator.clipboard.writeText(t)}catch(t){console.error("Failed to copy month/day value:",t)}}#Uo(t){t.preventDefault();const e=(t.clipboardData||window.clipboardData).getData("Text"),i=fy(e,this.format);if(i)return this.#vo(i.month,i.day),this.#To(),void setTimeout(()=>this.inputElement.setSelectionRange(0,this.inputElement.value.length));const o=Number(e);o&&this.activeCounter.isInRange(o)&&(this.activeCounter.set(String(o)),setTimeout(()=>this.#Xo()))}#an(t){this.value||setTimeout(()=>{t&&(this.value=t)})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("disable-picker"===t&&this.#Go("true"!==i),Oy.includes(t)?(i&&"format"===t&&this.#sn(i),"initial-value"===t&&this.#an(i)):"picker-label-submit"===t||"picker-label-cancel"===t?this.#Wo():Vy.includes(t)&&(i?this.picker?.setAttribute(t,i):this.picker?.removeAttribute(t)))}}),Jy=et(ep),$y="#00000020",{shadow:_y}=Jy,qy=Hy.cssVarList,Xy={[qy.hostWidth]:Cp.width,[qy.hostDirection]:Cp.direction,[qy.iconMargin]:"0.375em",[qy.overlay.marginTop]:Cp.outlineWidth,[qy.overlay.backgroundColor]:Cp.backgroundColor,[qy.overlay.backdropBackgroundColor]:"transparent",[qy.overlay.backdropPointerEvents]:"all",[qy.overlay.boxShadow]:`${_y.wide.xl} ${$y}, ${_y.narrow.xl} ${$y}`,[qy.overlay.outlineWidth]:"0",[qy.overlay.outlineColor]:"transparent",[qy.overlay.outlineStyle]:"none",[qy.overlay.padding]:"0",[qy.overlay.bottomNavTopPadding]:"0",[qy.overlay.bottomNavBottomPadding]:"0.75em",[qy.overlay.bottomNavHorizontalPadding]:"1em",[qy.overlay.bottomNavAlignment]:"space-between",[qy.overlay.bottomNavGap]:"0.5em",[qy.overlay.navButtonPadding]:"0",[qy.overlay.navButtonOutlineWidth]:"0",[qy.rtlInputDirection]:"ltr",[qy.rtlInputAlignment]:"right",[qy.errorMessageIcon]:Cp.errorMessageIcon,[qy.errorMessageIconSize]:Cp.errorMessageIconSize,[qy.errorMessageIconPadding]:Cp.errorMessageIconPadding,[qy.errorMessageIconRepeat]:Cp.errorMessageIconRepeat,[qy.errorMessageIconPosition]:Cp.errorMessageIconPosition,[qy.errorMessageFontSize]:Cp.errorMessageFontSize,[qy.labelFontWeight]:Cp.labelFontWeight,[qy.inputValueFontWeight]:Cp.inputValueFontWeight,[qy.inputPlaceholderFontWeight]:Cp.inputPlaceholderFontWeight,[qy.helperTextFontWeight]:Cp.helperTextFontWeight,[qy.errorMessageFontWeight]:Cp.errorMessageFontWeight};var Ky=Object.freeze({__proto__:null,default:Xy,vars:qy});const tb=[31,29,31,30,31,30,31,31,30,31,30,31],eb=["January","February","March","April","May","June","July","August","September","October","November","December"],ib=L("month-day-field-picker"),ob=["initial-value","picker-months","st-host-direction","disabled","full-width"],nb=Dt({componentName:ib,baseSelector:"div"}),rb=(t,e)=>{const i=document.createDocumentFragment();t.forEach(({id:t,name:e})=>{const o=document.createElement("div");o.className="combo-box-item",o.setAttribute("data-id",String(t)),o.setAttribute("data-name",e),o.textContent=e,i.appendChild(o)}),e.replaceChildren(i)},{picker:sb,monthInput:ab,dayInput:lb,inputsRow:db}={picker:{selector:()=>".picker"},monthInput:{selector:()=>".month-input"},dayInput:{selector:()=>".day-input"},inputsRow:{selector:()=>".inputs-row"}},cb=T(ct({componentNameOverride:L("input-wrapper")}),ct({mappings:{fontSize:{},fontFamily:{},hostWidth:{selector:()=>":host",property:"width"},hostDirection:{property:"direction"},pickerPadding:{...sb,property:"padding"},inputsRowGap:{...db,property:"gap"},inputWidth:[{...ab,property:"width"},{...lb,property:"width"}]}}),ut,pt)(class extends nb{static get observedAttributes(){return[].concat(nb.observedAttributes||[],ob)}#ln=null;#dn=null;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="picker">\n <div class="inputs-row">\n <descope-combo-box\n class="month-input"\n bordered="true"\n label-type="static"\n allow-custom-value="false"\n full-width="true"\n item-label-path="data-name"\n item-value-path="data-id"\n ></descope-combo-box>\n <descope-combo-box\n class="day-input"\n bordered="true"\n label-type="static"\n allow-custom-value="false"\n full-width="true"\n item-label-path="data-name"\n item-value-path="data-id"\n ></descope-combo-box>\n </div>\n </div>\n ',f("\n :host {\n display: inline-block;\n box-sizing: border-box;\n max-width: 100%;\n user-select: none;\n -webkit-user-select: none;\n }\n\n .inputs-row {\n display: flex;\n }\n\n .inputs-row > descope-combo-box {\n flex: 1;\n min-width: 0;\n }\n ",this),this.monthInput=this.shadowRoot.querySelector(".month-input"),this.dayInput=this.shadowRoot.querySelector(".day-input")}get month(){return this.#ln}set month(t){const e=Number(t);!Number.isInteger(e)||e<1||e>12?this.#ln=null:this.#ln=e,null!=this.#dn&&null!=this.#ln&&this.#dn>tb[this.#ln-1]&&(this.#dn=1),this.#cn(),this.#un(),this.#pn(),this.#D()}get day(){return this.#dn}set day(t){const e=Number(t);!Number.isInteger(e)||e<1||null!=this.#ln&&e>tb[this.#ln-1]?this.#dn=null:this.#dn=e,this.#pn(),this.#D()}set value(t){if(!t)return void this.#hn();const e=/^(0?[1-9]|1[0-2])\D(0?[1-9]|[12][0-9]|3[01])$/.exec(String(t).trim());if(!e)return;const i=Number(e[1]),o=Number(e[2]);this.month=i,this.day=o}#hn(){const t=new Date;this.month=t.getMonth()+1,this.day=t.getDate()}get value(){return null==this.#ln||null==this.#dn?"":`${String(this.#ln).padStart(2,"0")}/${String(this.#dn).padStart(2,"0")}`}init(){super.init?.(),this.#gn(),this.#Mn();const t=this.getAttribute("initial-value");t?this.value=t:null==this.#ln&&this.#hn(),w(this,this.monthInput,{includeAttrs:["disabled","size","st-host-direction"]}),w(this,this.dayInput,{includeAttrs:["disabled","size","st-host-direction"]})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("initial-value"===t?this.value=i:"picker-months"===t&&this.#mn())}get#yn(){return(t=>{const e=t?.split(",");return(t=>Array.isArray(t)&&12===t.length&&12===t.filter(Boolean).length)(e)?e:eb})(this.getAttribute("picker-months"))}#gn(){this.#mn(),this.monthInput.addEventListener("input",this.#bn.bind(this))}#Mn(){this.dayInput.addEventListener("input",this.#Nn.bind(this))}#mn(){rb(this.#yn.map((t,e)=>({id:e+1,name:t})),this.monthInput),this.#cn()}#un(){const t=tb[this.#ln-1]??0;rb((t=>Array.from({length:t},(t,e)=>({id:e+1,name:String(e+1)})))(t),this.dayInput)}#cn(){this.monthInput&&setTimeout(()=>{this.monthInput&&(this.monthInput.value=null!=this.#ln?String(this.#ln):"")})}#pn(){setTimeout(()=>{this.dayInput&&(this.dayInput.value=null!==this.#dn?String(this.#dn):"")})}#bn(t){const e=t.target?.value,i=e?Number(e):null;i!==this.#ln&&(this.month=i)}#Nn(t){const e=t.target?.value,i=e?Number(e):null;i!==this.#dn&&(this.day=i)}#D(){this.dispatchEvent(new CustomEvent("change",{detail:{month:this.#ln,day:this.#dn},bubbles:!0,composed:!0}))}getValidity(){return{}}}),ub=cb.cssVarList,pb={[ub.fontFamily]:Cp.fontFamily,[ub.fontSize]:Cp.fontSize,[ub.hostDirection]:Cp.direction,[ub.inputWidth]:"130px",[ub.pickerPadding]:"1em 1em",[ub.inputsRowGap]:"0.5em",_fullWidth:{[ub.hostWidth]:"100%"}};var hb=Object.freeze({__proto__:null,default:pb,vars:ub});const gb=Xt("input-wrapper"),Mb=ve(_u),[mb,yb,bb]=Oe({labelTextColor:Mb.colors.surface.dark,labelFontSize:"14px",labelFontWeight:"500",inputValueFontWeight:"400",inputPlaceholderFontWeight:"400",helperTextFontWeight:"400",errorMessageFontWeight:"400",valueTextColor:Mb.colors.surface.contrast,placeholderTextColor:Mb.colors.surface.dark,requiredIndicator:"'*'",helperTextColor:Mb.colors.surface.dark,errorMessageTextColor:Mb.colors.error.main,successMessageTextColor:Mb.colors.success.main,borderWidth:Mb.border.xs,borderRadius:Mb.radius.xs,borderColor:"transparent",outlineWidth:Mb.border.sm,outlineStyle:"solid",outlineColor:"transparent",outlineOffset:"0px",minWidth:"10em",toggleButtonSize:"1.5em",inputIconSize:"1em",inputHeight:"3em",horizontalPadding:"0.5em",verticalPadding:"0.5em",textAlign:"start",backgroundColor:Mb.colors.surface.main,fontFamily:Mb.fonts.font1.family,direction:Mb.direction,overlayOpacity:"0.3",errorMessageIcon:"",errorMessageIconSize:"0",errorMessageIconPadding:"0",errorMessageIconPosition:"0 0.4em",errorMessageFontSize:"0.8125rem",errorMessageIconRepeat:"no-repeat",size:{xs:{fontSize:"12px",chipFontSize:"10px"},sm:{fontSize:"14px",chipFontSize:"12px"},md:{fontSize:"16px",chipFontSize:"14px"},lg:{fontSize:"18px",chipFontSize:"16px"}},labelType:{static:{valueInputHeight:"3em",valueInputMarginBottom:"auto"},floating:{labelPosition:"absolute",labelTopPosition:"0",labelHorizontalPosition:"0.9em",labelFontSize:"1em",placeholderOpacity:0,inputHeight:"3.5em",inputVerticalAlignment:"flex-end",inputTransformY:"translateY(1.55em)",inputTransition:"all 75ms ease-in-out",marginInlineStart:"0",valueInputHeight:"1.5702em",valueInputMarginBottom:"0.5em",_focused:{labelFontSize:"0.75em",inputTransformY:"translateY(1.05em)",labelFontWeight:"400",placeholderOpacity:1},_readOnly:{placeholderOpacity:0},_hasValue:{inputTransformY:"translateY(1.05em)",labelFontSize:"0.75em",labelFontWeight:"400"}}},_fullWidth:{width:"100%"},_bordered:{outlineWidth:Mb.border.xs,borderColor:Mb.colors.surface.light,borderStyle:"solid",_invalid:{borderColor:Mb.colors.error.main}},_focused:{outlineColor:Mb.colors.surface.light,_invalid:{outlineColor:Mb.colors.error.main}},_disabled:{labelTextColor:Mb.colors.surface.light,borderColor:Mb.colors.surface.light,valueTextColor:Mb.colors.surface.light,placeholderTextColor:Mb.colors.surface.light,helperTextColor:Mb.colors.surface.light,backgroundColor:Mb.colors.surface.main},_obfuscated:{inputTextSecurity:"disc"}},gb);var Nb=Object.freeze({__proto__:null,default:mb,refs:yb,vars:bb});const Ib=ve(_u),xb=cs.cssVarList,jb={[xb.hostWidth]:yb.width,[xb.hostMinWidth]:yb.minWidth,[xb.hostDirection]:yb.direction,[xb.fontSize]:yb.fontSize,[xb.fontFamily]:yb.fontFamily,[xb.labelFontSize]:yb.labelFontSize,[xb.labelFontWeight]:yb.labelFontWeight,[xb.inputValueFontWeight]:yb.inputValueFontWeight,[xb.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[xb.helperTextFontWeight]:yb.helperTextFontWeight,[xb.errorMessageFontWeight]:yb.errorMessageFontWeight,[xb.labelTextColor]:yb.labelTextColor,[xb.errorMessageTextColor]:yb.errorMessageTextColor,[xb.inputHorizontalPadding]:yb.horizontalPadding,[xb.inputHeight]:yb.inputHeight,[xb.inputBackgroundColor]:yb.backgroundColor,[xb.labelRequiredIndicator]:yb.requiredIndicator,[xb.inputValueTextColor]:yb.valueTextColor,[xb.inputPlaceholderTextColor]:yb.placeholderTextColor,[xb.inputBorderWidth]:yb.borderWidth,[xb.inputBorderStyle]:yb.borderStyle,[xb.inputBorderColor]:yb.borderColor,[xb.inputBorderRadius]:yb.borderRadius,[xb.inputOutlineWidth]:yb.outlineWidth,[xb.inputOutlineStyle]:yb.outlineStyle,[xb.inputOutlineColor]:yb.outlineColor,[xb.inputOutlineOffset]:yb.outlineOffset,[xb.revealButtonOffset]:Ib.spacing.md,[xb.revealButtonSize]:yb.toggleButtonSize,[xb.revealButtonColor]:yb.placeholderTextColor,[xb.labelPosition]:yb.labelPosition,[xb.labelTopPosition]:yb.labelTopPosition,[xb.labelHorizontalPosition]:yb.labelHorizontalPosition,[xb.inputTransformY]:yb.inputTransformY,[xb.inputTransition]:yb.inputTransition,[xb.marginInlineStart]:yb.marginInlineStart,[xb.placeholderOpacity]:yb.placeholderOpacity,[xb.inputVerticalAlignment]:yb.inputVerticalAlignment,[xb.valueInputHeight]:yb.valueInputHeight,[xb.errorMessageIcon]:yb.errorMessageIcon,[xb.errorMessageIconSize]:yb.errorMessageIconSize,[xb.errorMessageIconPadding]:yb.errorMessageIconPadding,[xb.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[xb.errorMessageIconPosition]:yb.errorMessageIconPosition,[xb.errorMessageFontSize]:yb.errorMessageFontSize};var Tb=Object.freeze({__proto__:null,default:jb,vars:xb});const Db=Ar.cssVarList,zb={[Db.hostWidth]:yb.width,[Db.hostMinWidth]:yb.minWidth,[Db.hostDirection]:yb.direction,[Db.fontSize]:yb.fontSize,[Db.fontFamily]:yb.fontFamily,[Db.labelFontSize]:yb.labelFontSize,[Db.labelFontWeight]:yb.labelFontWeight,[Db.inputValueFontWeight]:yb.inputValueFontWeight,[Db.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[Db.helperTextFontWeight]:yb.helperTextFontWeight,[Db.errorMessageFontWeight]:yb.errorMessageFontWeight,[Db.labelTextColor]:yb.labelTextColor,[Db.errorMessageTextColor]:yb.errorMessageTextColor,[Db.inputValueTextColor]:yb.valueTextColor,[Db.inputPlaceholderColor]:yb.placeholderTextColor,[Db.inputBorderWidth]:yb.borderWidth,[Db.inputBorderStyle]:yb.borderStyle,[Db.inputBorderColor]:yb.borderColor,[Db.inputBorderRadius]:yb.borderRadius,[Db.inputOutlineWidth]:yb.outlineWidth,[Db.inputOutlineStyle]:yb.outlineStyle,[Db.inputOutlineColor]:yb.outlineColor,[Db.inputOutlineOffset]:yb.outlineOffset,[Db.inputBackgroundColor]:yb.backgroundColor,[Db.labelRequiredIndicator]:yb.requiredIndicator,[Db.inputHorizontalPadding]:yb.horizontalPadding,[Db.inputHeight]:yb.inputHeight,[Db.labelPosition]:yb.labelPosition,[Db.labelTopPosition]:yb.labelTopPosition,[Db.labelHorizontalPosition]:yb.labelHorizontalPosition,[Db.inputTransformY]:yb.inputTransformY,[Db.inputTransition]:yb.inputTransition,[Db.marginInlineStart]:yb.marginInlineStart,[Db.placeholderOpacity]:yb.placeholderOpacity,[Db.inputVerticalAlignment]:yb.inputVerticalAlignment,[Db.valueInputHeight]:yb.valueInputHeight,[Db.valueInputMarginBottom]:yb.valueInputMarginBottom,[Db.errorMessageIcon]:yb.errorMessageIcon,[Db.errorMessageIconSize]:yb.errorMessageIconSize,[Db.errorMessageIconPadding]:yb.errorMessageIconPadding,[Db.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[Db.errorMessageIconPosition]:yb.errorMessageIconPosition,[Db.errorMessageFontSize]:yb.errorMessageFontSize};var vb=Object.freeze({__proto__:null,default:zb,vars:Db});const Cb=xr.cssVarList,Sb={[Cb.hostWidth]:yb.width,[Cb.hostMinWidth]:yb.minWidth,[Cb.hostDirection]:yb.direction,[Cb.fontSize]:yb.fontSize,[Cb.fontFamily]:yb.fontFamily,[Cb.labelFontSize]:yb.labelFontSize,[Cb.labelFontWeight]:yb.labelFontWeight,[Cb.inputValueFontWeight]:yb.inputValueFontWeight,[Cb.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[Cb.helperTextFontWeight]:yb.helperTextFontWeight,[Cb.errorMessageFontWeight]:yb.errorMessageFontWeight,[Cb.labelTextColor]:yb.labelTextColor,[Cb.errorMessageTextColor]:yb.errorMessageTextColor,[Cb.inputValueTextColor]:yb.valueTextColor,[Cb.labelRequiredIndicator]:yb.requiredIndicator,[Cb.inputPlaceholderColor]:yb.placeholderTextColor,[Cb.inputBorderWidth]:yb.borderWidth,[Cb.inputBorderStyle]:yb.borderStyle,[Cb.inputBorderColor]:yb.borderColor,[Cb.inputBorderRadius]:yb.borderRadius,[Cb.inputOutlineWidth]:yb.outlineWidth,[Cb.inputOutlineStyle]:yb.outlineStyle,[Cb.inputOutlineColor]:yb.outlineColor,[Cb.inputOutlineOffset]:yb.outlineOffset,[Cb.inputBackgroundColor]:yb.backgroundColor,[Cb.inputHorizontalPadding]:yb.horizontalPadding,[Cb.inputHeight]:yb.inputHeight,[Cb.labelPosition]:yb.labelPosition,[Cb.labelTopPosition]:yb.labelTopPosition,[Cb.labelHorizontalPosition]:yb.labelHorizontalPosition,[Cb.inputTransformY]:yb.inputTransformY,[Cb.inputTransition]:yb.inputTransition,[Cb.marginInlineStart]:yb.marginInlineStart,[Cb.placeholderOpacity]:yb.placeholderOpacity,[Cb.inputVerticalAlignment]:yb.inputVerticalAlignment,[Cb.valueInputHeight]:yb.valueInputHeight,[Cb.valueInputMarginBottom]:yb.valueInputMarginBottom,[Cb.errorMessageIcon]:yb.errorMessageIcon,[Cb.errorMessageIconSize]:yb.errorMessageIconSize,[Cb.errorMessageIconPadding]:yb.errorMessageIconPadding,[Cb.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[Cb.errorMessageIconPosition]:yb.errorMessageIconPosition,[Cb.errorMessageFontSize]:yb.errorMessageFontSize};var Lb=Object.freeze({__proto__:null,default:Sb,vars:Cb});const Ab=Is.cssVarList,wb={[Ab.hostWidth]:yb.width,[Ab.hostMinWidth]:yb.minWidth,[Ab.hostDirection]:yb.direction,[Ab.fontSize]:yb.fontSize,[Ab.fontFamily]:yb.fontFamily,[Ab.labelFontSize]:yb.labelFontSize,[Ab.labelFontWeight]:yb.labelFontWeight,[Ab.inputValueFontWeight]:yb.inputValueFontWeight,[Ab.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[Ab.helperTextFontWeight]:yb.helperTextFontWeight,[Ab.errorMessageFontWeight]:yb.errorMessageFontWeight,[Ab.labelTextColor]:yb.labelTextColor,[Ab.labelRequiredIndicator]:yb.requiredIndicator,[Ab.errorMessageTextColor]:yb.errorMessageTextColor,[Ab.inputBackgroundColor]:yb.backgroundColor,[Ab.inputValueTextColor]:yb.valueTextColor,[Ab.inputPlaceholderTextColor]:yb.placeholderTextColor,[Ab.inputBorderRadius]:yb.borderRadius,[Ab.inputBorderWidth]:yb.borderWidth,[Ab.inputBorderStyle]:yb.borderStyle,[Ab.inputBorderColor]:yb.borderColor,[Ab.inputOutlineWidth]:yb.outlineWidth,[Ab.inputOutlineStyle]:yb.outlineStyle,[Ab.inputOutlineColor]:yb.outlineColor,[Ab.inputOutlineOffset]:yb.outlineOffset,[Ab.inputResizeType]:"vertical",[Ab.inputMinHeight]:"5em",[Ab.errorMessageIcon]:yb.errorMessageIcon,[Ab.errorMessageIconSize]:yb.errorMessageIconSize,[Ab.errorMessageIconPadding]:yb.errorMessageIconPadding,[Ab.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[Ab.errorMessageIconPosition]:yb.errorMessageIconPosition,[Ab.errorMessageFontSize]:yb.errorMessageFontSize,textAlign:{right:{[Ab.inputTextAlign]:"right"},left:{[Ab.inputTextAlign]:"left"},center:{[Ab.inputTextAlign]:"center"}},_readonly:{[Ab.inputResizeType]:"none"}};var fb=Object.freeze({__proto__:null,default:wb,vars:Ab});const Eb=zi.cssVarList,kb="1.35em",Ob={[Eb.hostWidth]:yb.width,[Eb.hostDirection]:yb.direction,[Eb.fontSize]:yb.fontSize,[Eb.fontFamily]:yb.fontFamily,[Eb.labelTextColor]:yb.labelTextColor,[Eb.labelRequiredIndicator]:yb.requiredIndicator,[Eb.labelFontWeight]:"400",[Eb.labelLineHeight]:kb,[Eb.labelSpacing]:"1em",[Eb.errorMessageTextColor]:yb.errorMessageTextColor,[Eb.inputOutlineWidth]:yb.outlineWidth,[Eb.inputOutlineOffset]:yb.outlineOffset,[Eb.inputOutlineColor]:yb.outlineColor,[Eb.inputOutlineStyle]:yb.outlineStyle,[Eb.inputBorderRadius]:yb.borderRadius,[Eb.inputBorderColor]:yb.borderColor,[Eb.inputBorderWidth]:yb.borderWidth,[Eb.inputBorderStyle]:yb.borderStyle,[Eb.inputBackgroundColor]:yb.backgroundColor,[Eb.inputSize]:kb,[Eb.inputValueTextColor]:yb.valueTextColor,[Eb.errorMessageIcon]:yb.errorMessageIcon,[Eb.errorMessageIconSize]:yb.errorMessageIconSize,[Eb.errorMessageIconPadding]:yb.errorMessageIconPadding,[Eb.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[Eb.errorMessageIconPosition]:yb.errorMessageIconPosition,[Eb.errorMessageFontSize]:yb.errorMessageFontSize};var Vb=Object.freeze({__proto__:null,default:Ob,vars:Eb});const Ub="2px",Yb=ve(_u),Wb=$i.cssVarList,Rb={[Wb.hostWidth]:yb.width,[Wb.hostDirection]:yb.direction,[Wb.fontSize]:yb.fontSize,[Wb.fontFamily]:yb.fontFamily,[Wb.inputOutlineWidth]:yb.outlineWidth,[Wb.inputOutlineOffset]:yb.outlineOffset,[Wb.inputOutlineColor]:yb.outlineColor,[Wb.inputOutlineStyle]:yb.outlineStyle,[Wb.trackBorderStyle]:yb.borderStyle,[Wb.trackBorderWidth]:yb.borderWidth,[Wb.trackBorderColor]:yb.borderColor,[Wb.trackBackgroundColor]:yb.backgroundColor,[Wb.trackBorderRadius]:Yb.radius.md,[Wb.trackWidth]:"2.5em",[Wb.trackHeight]:"1.25em",[Wb.knobSize]:`calc(1em - ${Ub})`,[Wb.knobRadius]:"50%",[Wb.knobTopOffset]:"1px",[Wb.knobLeftOffset]:Ub,[Wb.knobColor]:yb.labelTextColor,[Wb.knobTransitionDuration]:"0.3s",[Wb.labelTextColor]:yb.labelTextColor,[Wb.labelFontWeight]:"400",[Wb.labelLineHeight]:"1.35em",[Wb.labelSpacing]:"1em",[Wb.labelRequiredIndicator]:yb.requiredIndicator,[Wb.errorMessageTextColor]:yb.errorMessageTextColor,[Wb.errorMessageIcon]:yb.errorMessageIcon,[Wb.errorMessageIconSize]:yb.errorMessageIconSize,[Wb.errorMessageIconPadding]:yb.errorMessageIconPadding,[Wb.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[Wb.errorMessageIconPosition]:yb.errorMessageIconPosition,[Wb.errorMessageFontSize]:yb.errorMessageFontSize,_checked:{[Wb.trackBorderColor]:yb.borderColor,[Wb.knobLeftOffset]:`calc(100% - var(${Wb.knobSize}) - ${Ub})`,[Wb.knobColor]:yb.valueTextColor,[Wb.knobTextColor]:yb.valueTextColor},_disabled:{[Wb.knobColor]:Yb.colors.surface.light,[Wb.trackBorderColor]:Yb.colors.surface.light,[Wb.trackBackgroundColor]:Yb.colors.surface.main,[Wb.labelTextColor]:yb.labelTextColor,_checked:{[Wb.knobColor]:Yb.colors.surface.light,[Wb.trackBackgroundColor]:Yb.colors.surface.main}},_invalid:{[Wb.trackBorderColor]:Yb.colors.error.main,[Wb.knobColor]:Yb.colors.error.main}};var Qb=Object.freeze({__proto__:null,default:Rb,vars:Wb});const Pb=ve(_u),Bb=so.cssVarList,[Zb,Fb,Gb]=Oe({verticalAlignment:{start:{verticalAlignment:"start"},center:{verticalAlignment:"safe center"},end:{verticalAlignment:"end"}},horizontalAlignment:{start:{horizontalAlignment:"start"},center:{horizontalAlignment:"safe center"},end:{horizontalAlignment:"end"}},shadowColor:"#00000020"},no),{shadowColor:Hb}=Fb,Jb={...Zb,[Bb.itemsGrow]:"0",[Bb.hostWidth]:"100%",[Bb.hostHeight]:"auto",[Bb.boxShadow]:"none",[Bb.backgroundColor]:Pb.colors.surface.main,[Bb.backgroundImage]:"",[Bb.backgroundPositionX]:"center",[Bb.backgroundPositionY]:"center",[Bb.backgroundSize]:"cover",[Bb.backgroundRepeat]:"no-repeat",[Bb.color]:Pb.colors.surface.contrast,[Bb.borderRadius]:"0px",[Bb.hostDirection]:Pb.direction,[Bb.borderStyle]:"none",[Bb.borderWidth]:"unset",[Bb.borderColor]:"unset",verticalPadding:{sm:{[Bb.verticalPadding]:"5px"},md:{[Bb.verticalPadding]:"10px"},lg:{[Bb.verticalPadding]:"20px"}},horizontalPadding:{sm:{[Bb.horizontalPadding]:"5px"},md:{[Bb.horizontalPadding]:"10px"},lg:{[Bb.horizontalPadding]:"20px"}},direction:{row:{[Bb.flexDirection]:"row",[Bb.alignItems]:Fb.verticalAlignment,[Bb.justifyContent]:Fb.horizontalAlignment,[Bb.flexWrap]:"wrap",horizontalAlignment:{spaceBetween:{[Gb.horizontalAlignment]:"space-between"}}},column:{[Bb.flexDirection]:"column",[Bb.alignItems]:Fb.horizontalAlignment,[Bb.justifyContent]:Fb.verticalAlignment,verticalAlignment:{spaceBetween:{[Gb.verticalAlignment]:"space-between"}}}},spaceBetween:{sm:{[Bb.gap]:"10px"},md:{[Bb.gap]:"20px"},lg:{[Bb.gap]:"30px"}},shadow:{sm:{[Bb.boxShadow]:`${Pb.shadow.wide.sm} ${Hb}, ${Pb.shadow.narrow.sm} ${Hb}`},md:{[Bb.boxShadow]:`${Pb.shadow.wide.md} ${Hb}, ${Pb.shadow.narrow.md} ${Hb}`},lg:{[Bb.boxShadow]:`${Pb.shadow.wide.lg} ${Hb}, ${Pb.shadow.narrow.lg} ${Hb}`},xl:{[Bb.boxShadow]:`${Pb.shadow.wide.xl} ${Hb}, ${Pb.shadow.narrow.xl} ${Hb}`},"2xl":{[Gb.shadowColor]:"#00000050",[Bb.boxShadow]:`${Pb.shadow.wide["2xl"]} ${Hb}`}},"&borderRadius":{sm:{[Bb.borderRadius]:Pb.radius.sm},md:{[Bb.borderRadius]:Pb.radius.md},lg:{[Bb.borderRadius]:Pb.radius.lg},xl:{[Bb.borderRadius]:Pb.radius.xl},"2xl":{[Bb.borderRadius]:Pb.radius["2xl"]},"3xl":{[Bb.borderRadius]:Pb.radius["3xl"]}}},$b={...Bb,...Gb};var _b=Object.freeze({__proto__:null,default:Jb,vars:$b});const qb=Dr.cssVarList,Xb={[qb.fallbackUrl]:"url(https://imgs.descope.com/components/no-logo-placeholder.svg)"};var Kb=Object.freeze({__proto__:null,default:Xb,vars:qb});const tN=vr.cssVarList,eN={[tN.fallbackUrl]:"url(https://imgs.descope.com/components/totp-placeholder.svg)"};var iN=Object.freeze({__proto__:null,default:eN,vars:tN});const oN=Sr.cssVarList,nN={[oN.fallbackUrl]:"url(https://imgs.descope.com/components/notp-placeholder.svg)"};var rN=Object.freeze({__proto__:null,default:nN,vars:oN});const sN=ve(_u),aN=Nr.cssVarList,[lN,dN,cN]=Oe({thickness:"2px",spacing:"10px"},pr),uN={...lN,[aN.hostDirection]:sN.direction,[aN.alignItems]:"center",[aN.flexDirection]:"row",[aN.alignSelf]:"stretch",[aN.hostWidth]:"100%",[aN.stripeColor]:sN.colors.surface.light,[aN.stripeColorOpacity]:"0.5",[aN.stripeHorizontalThickness]:dN.thickness,[aN.labelTextWidth]:"fit-content",[aN.labelTextMaxWidth]:"calc(100% - 100px)",[aN.labelTextHorizontalSpacing]:dN.spacing,[aN.textAlign]:"center",_vertical:{[aN.minHeight]:"200px",[aN.flexDirection]:"column",[aN.hostWidth]:"fit-content",[aN.hostPadding]:`0 calc(${dN.thickness} * 3)`,[aN.stripeVerticalThickness]:dN.thickness,[aN.labelTextWidth]:"fit-content",[aN.labelTextMaxWidth]:"100%",[aN.labelTextVerticalSpacing]:dN.spacing}},pN={...aN,...cN};var hN=Object.freeze({__proto__:null,default:uN,vars:pN});const gN=Xr.cssVarList,MN={[gN.hostDirection]:yb.direction,[gN.fontFamily]:yb.fontFamily,[gN.fontSize]:yb.fontSize,[gN.labelTextColor]:yb.labelTextColor,[gN.labelRequiredIndicator]:yb.requiredIndicator,[gN.labelFontWeight]:yb.labelFontWeight,[gN.errorMessageTextColor]:yb.errorMessageTextColor,[gN.errorMessageFontWeight]:yb.errorMessageFontWeight,[gN.digitValueTextColor]:yb.valueTextColor,[gN.digitValueFontWeight]:yb.inputValueFontWeight,[gN.digitPadding]:"0",[gN.digitTextAlign]:"center",[gN.digitSpacing]:"4px",[gN.hostWidth]:yb.width,[gN.digitOutlineColor]:"transparent",[gN.digitOutlineWidth]:yb.outlineWidth,[gN.focusedDigitFieldOutlineColor]:yb.outlineColor,[gN.digitSize]:yb.inputHeight,[gN.errorMessageIcon]:yb.errorMessageIcon,[gN.errorMessageIconSize]:yb.errorMessageIconSize,[gN.errorMessageIconPadding]:yb.errorMessageIconPadding,[gN.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[gN.errorMessageIconPosition]:yb.errorMessageIconPosition,[gN.errorMessageFontSize]:yb.errorMessageFontSize,size:{xs:{[gN.spinnerSize]:"15px"},sm:{[gN.spinnerSize]:"20px"},md:{[gN.spinnerSize]:"20px"},lg:{[gN.spinnerSize]:"20px"}},_hideCursor:{[gN.digitCaretTextColor]:"transparent"},_loading:{[gN.overlayOpacity]:yb.overlayOpacity}};var mN=Object.freeze({__proto__:null,default:MN,vars:gN});const yN=ve(_u),bN=to.cssVarList,NN={[bN.hostDisplay]:"inline-block",[bN.hostWidth]:"100%",[bN.barColor]:yN.colors.surface.contrast,[bN.barWidth]:"20%",[bN.barBackgroundColor]:yN.colors.surface.light,[bN.barBorderRadius]:"4px",[bN.animationDuration]:"2s",[bN.animationTimingFunction]:"linear",[bN.animationIterationCount]:"infinite",[bN.verticalPadding]:"0.25em",size:{xs:{[bN.barHeight]:"2px"},sm:{[bN.barHeight]:"4px"},md:{[bN.barHeight]:"6px"},lg:{[bN.barHeight]:"8px"}},mode:{primary:{[bN.barColor]:yN.colors.primary.main},secondary:{[bN.barColor]:yN.colors.secondary.main}},_hidden:{[bN.hostDisplay]:"none"}};var IN=Object.freeze({__proto__:null,default:NN,vars:bN});const xN=ve(_u),jN=oo.cssVarList,[TN,DN,zN]=Oe({spinnerColor:xN.colors.surface.contrast,mode:{primary:{spinnerColor:xN.colors.primary.main},secondary:{spinnerColor:xN.colors.secondary.main}}},eo),vN={...TN,[jN.animationDuration]:"2s",[jN.animationTimingFunction]:"linear",[jN.animationIterationCount]:"infinite",[jN.spinnerBorderStyle]:"solid",[jN.spinnerBorderWidth]:"0.2em",[jN.spinnerBorderRadius]:"50%",[jN.spinnerQuadrant1Color]:DN.spinnerColor,[jN.spinnerQuadrant2Color]:"transparent",[jN.spinnerQuadrant3Color]:DN.spinnerColor,[jN.spinnerQuadrant4Color]:"transparent",size:{xs:{[jN.spinnerSize]:"20px"},sm:{[jN.spinnerSize]:"30px"},md:{[jN.spinnerSize]:"40px"},lg:{[jN.spinnerSize]:"60px"},xl:{[jN.spinnerSize]:"80px"}},_hidden:{[jN.hostDisplay]:"none"}},CN={...jN,...zN};var SN=Object.freeze({__proto__:null,default:vN,vars:CN});const LN=Zs.cssVarList,AN={[LN.hostWidth]:yb.width,[LN.hostDirection]:yb.direction,[LN.fontSize]:yb.fontSize,[LN.fontFamily]:yb.fontFamily,[LN.labelFontSize]:yb.labelFontSize,[LN.labelFontWeight]:yb.labelFontWeight,[LN.inputValueFontWeight]:yb.inputValueFontWeight,[LN.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[LN.helperTextFontWeight]:yb.helperTextFontWeight,[LN.errorMessageFontWeight]:yb.errorMessageFontWeight,[LN.labelTextColor]:yb.labelTextColor,[LN.labelRequiredIndicator]:yb.requiredIndicator,[LN.errorMessageTextColor]:yb.errorMessageTextColor,[LN.inputValueTextColor]:yb.valueTextColor,[LN.inputPlaceholderTextColor]:yb.placeholderTextColor,[LN.inputBorderStyle]:yb.borderStyle,[LN.inputBorderWidth]:yb.borderWidth,[LN.inputBorderColor]:yb.borderColor,[LN.inputBorderRadius]:yb.borderRadius,[LN.inputOutlineStyle]:yb.outlineStyle,[LN.inputOutlineWidth]:yb.outlineWidth,[LN.inputOutlineColor]:yb.outlineColor,[LN.inputOutlineOffset]:yb.outlineOffset,[LN.phoneInputWidth]:yb.minWidth,[LN.countryCodeInputWidth]:"5em",[LN.countryCodeDropdownWidth]:"20em",[LN.marginInlineStart]:"-0.25em",[LN.valueInputHeight]:yb.valueInputHeight,[LN.valueInputMarginBottom]:yb.valueInputMarginBottom,[LN.errorMessageIcon]:yb.errorMessageIcon,[LN.errorMessageIconSize]:yb.errorMessageIconSize,[LN.errorMessageIconPadding]:yb.errorMessageIconPadding,[LN.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[LN.errorMessageIconPosition]:yb.errorMessageIconPosition,[LN.errorMessageFontSize]:yb.errorMessageFontSize};var wN=Object.freeze({__proto__:null,default:AN,vars:LN});const fN=aa.cssVarList,EN={[fN.hostWidth]:"16em",[fN.hostMinWidth]:yb.minWidth,[fN.hostDirection]:yb.direction,[fN.fontSize]:yb.fontSize,[fN.fontFamily]:yb.fontFamily,[fN.labelFontSize]:yb.labelFontSize,[fN.labelFontWeight]:yb.labelFontWeight,[fN.inputValueFontWeight]:yb.inputValueFontWeight,[fN.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[fN.helperTextFontWeight]:yb.helperTextFontWeight,[fN.errorMessageFontWeight]:yb.errorMessageFontWeight,[fN.labelTextColor]:yb.labelTextColor,[fN.labelRequiredIndicator]:yb.requiredIndicator,[fN.errorMessageTextColor]:yb.errorMessageTextColor,[fN.inputValueTextColor]:yb.valueTextColor,[fN.inputPlaceholderTextColor]:yb.placeholderTextColor,[fN.inputBorderStyle]:yb.borderStyle,[fN.inputBorderWidth]:yb.borderWidth,[fN.inputBorderColor]:yb.borderColor,[fN.inputBorderRadius]:yb.borderRadius,[fN.inputOutlineStyle]:yb.outlineStyle,[fN.inputOutlineWidth]:yb.outlineWidth,[fN.inputOutlineColor]:yb.outlineColor,[fN.inputOutlineOffset]:yb.outlineOffset,[fN.labelPosition]:yb.labelPosition,[fN.labelTopPosition]:yb.labelTopPosition,[fN.labelHorizontalPosition]:yb.labelHorizontalPosition,[fN.inputTransformY]:yb.inputTransformY,[fN.inputTransition]:yb.inputTransition,[fN.marginInlineStart]:yb.marginInlineStart,[fN.valueInputHeight]:yb.valueInputHeight,[fN.valueInputMarginBottom]:yb.valueInputMarginBottom,[fN.inputHorizontalPadding]:"0",[fN.errorMessageIcon]:yb.errorMessageIcon,[fN.errorMessageIconSize]:yb.errorMessageIconSize,[fN.errorMessageIconPadding]:yb.errorMessageIconPadding,[fN.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[fN.errorMessageIconPosition]:yb.errorMessageIconPosition,[fN.errorMessageFontSize]:yb.errorMessageFontSize,_fullWidth:{[fN.hostWidth]:yb.width}};var kN=Object.freeze({__proto__:null,default:EN,vars:fN});const ON=ve(_u),VN=La.cssVarList,UN={[VN.hostWidth]:yb.width,[VN.hostMinWidth]:yb.minWidth,[VN.hostDirection]:yb.direction,[VN.fontSize]:yb.fontSize,[VN.fontFamily]:yb.fontFamily,[VN.labelFontSize]:yb.labelFontSize,[VN.labelFontWeight]:yb.labelFontWeight,[VN.inputValueFontWeight]:yb.inputValueFontWeight,[VN.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[VN.helperTextFontWeight]:yb.helperTextFontWeight,[VN.errorMessageFontWeight]:yb.errorMessageFontWeight,[VN.labelTextColor]:yb.labelTextColor,[VN.spaceBetweenInputs]:"1em",[VN.errorMessageTextColor]:yb.errorMessageTextColor,[VN.policyPreviewBackgroundColor]:"none",[VN.policyPreviewPadding]:ON.spacing.lg,[VN.valueInputHeight]:yb.valueInputHeight,[VN.errorMessageIcon]:yb.errorMessageIcon,[VN.errorMessageIconSize]:yb.errorMessageIconSize,[VN.errorMessageIconPadding]:yb.errorMessageIconPadding,[VN.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[VN.errorMessageIconPosition]:yb.errorMessageIconPosition,[VN.errorMessageFontSize]:yb.errorMessageFontSize,_required:{[VN.inputsRequiredIndicator]:yb.requiredIndicator}};var YN=Object.freeze({__proto__:null,default:UN,vars:VN});const WN=Ka.cssVarList,RN={[WN.hostDirection]:yb.direction,[WN.labelTextColor]:yb.labelTextColor,[WN.fontFamily]:yb.fontFamily,[WN.iconSize]:"2em",[WN.hostPadding]:"0.75em",[WN.gap]:"0.5em",[WN.fontSize]:"16px",[WN.titleFontWeight]:"500",[WN.lineHeight]:"1em",[WN.borderWidth]:yb.borderWidth,[WN.borderColor]:yb.borderColor,[WN.borderRadius]:yb.borderRadius,[WN.borderStyle]:"dashed",_required:{[WN.requiredIndicator]:yb.requiredIndicator},size:{xs:{[WN.hostHeight]:"196px",[WN.hostWidth]:"200px",[WN.titleFontSize]:"0.875em",[WN.descriptionFontSize]:"0.875em",[WN.lineHeight]:"1.25em"},sm:{[WN.hostHeight]:"216px",[WN.hostWidth]:"230px",[WN.titleFontSize]:"1em",[WN.descriptionFontSize]:"0.875em",[WN.lineHeight]:"1.25em"},md:{[WN.hostHeight]:"256px",[WN.hostWidth]:"312px",[WN.titleFontSize]:"1.125em",[WN.descriptionFontSize]:"1em",[WN.lineHeight]:"1.5em"},lg:{[WN.hostHeight]:"280px",[WN.hostWidth]:"336px",[WN.titleFontSize]:"1.125em",[WN.descriptionFontSize]:"1.125em",[WN.lineHeight]:"1.75em"}},_fullWidth:{[WN.hostWidth]:yb.width}};var QN=Object.freeze({__proto__:null,default:RN,vars:WN});const PN=ve(_u),BN=Ml.cssVarList,ZN={[BN.hostDirection]:"inherit",[BN.backgroundColor]:PN.colors.surface.main,[BN.labelTextColor]:PN.colors.surface.contrast,[BN.borderColor]:PN.colors.surface.light,[BN.borderStyle]:"solid",[BN.borderRadius]:PN.radius.sm,[BN.outlineColor]:"transparent",[BN.borderWidth]:PN.border.xs,_hover:{[BN.backgroundColor]:PN.colors.surface.highlight},_focused:{[BN.outlineColor]:PN.colors.surface.light},_selected:{[BN.borderColor]:PN.colors.surface.contrast,[BN.backgroundColor]:PN.colors.surface.contrast,[BN.labelTextColor]:PN.colors.surface.main}};var FN=Object.freeze({__proto__:null,default:ZN,vars:BN});const GN=ve(_u),HN=t=>({[t.hostDirection]:yb.direction,[t.fontFamily]:yb.fontFamily,[t.labelTextColor]:yb.labelTextColor,[t.labelRequiredIndicator]:yb.requiredIndicator,[t.itemsSpacing]:GN.spacing.sm,[t.hostWidth]:yb.width,[t.errorMessageTextColor]:yb.errorMessageTextColor,[t.errorMessageIcon]:yb.errorMessageIcon,[t.errorMessageIconSize]:yb.errorMessageIconSize,[t.errorMessageIconPadding]:yb.errorMessageIconPadding,[t.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[t.errorMessageIconPosition]:yb.errorMessageIconPosition,[t.errorMessageFontSize]:yb.errorMessageFontSize}),JN=pl.cssVarList,$N={...HN(JN)};var _N=Object.freeze({__proto__:null,default:$N,vars:JN});const qN=Nl.cssVarList,XN={...HN(qN)};var KN=Object.freeze({__proto__:null,default:XN,vars:qN});const tI=ve(_u),eI=ec.cssVarList,iI={[eI.overlayBackgroundColor]:tI.colors.surface.main,[eI.overlayShadow]:tI.shadow.wide["2xl"],[eI.overlayWidth]:"540px",[eI.overlayBackdropColor]:"hsla(214, 53%, 23%, 0.16)"},oI={...eI};var nI=Object.freeze({__proto__:null,default:iI,vars:oI});const rI=ve(_u),sI=Xd.cssVarList,aI={[sI.hostWidth]:"100%",[sI.hostHeight]:"100%",[sI.hostMinHeight]:"400px",[sI.fontWeight]:"400",[sI.backgroundColor]:rI.colors.surface.main,[sI.fontSize]:yb.fontSize,[sI.fontFamily]:yb.fontFamily,[sI.sortIndicatorsColor]:rI.colors.surface.light,[sI.activeSortIndicator]:rI.colors.surface.dark,[sI.resizeHandleColor]:rI.colors.surface.light,[sI.borderWidth]:yb.borderWidth,[sI.borderStyle]:yb.borderStyle,[sI.borderRadius]:yb.borderRadius,[sI.borderColor]:"transparent",[sI.headerRowTextColor]:rI.colors.surface.dark,[sI.separatorColor]:rI.colors.surface.light,[sI.valueTextColor]:rI.colors.surface.contrast,[sI.selectedBackgroundColor]:rI.colors.surface.highlight,[sI.hostDirection]:rI.direction,[sI.toggleDetailsPanelButtonSize]:"1em",[sI.toggleDetailsPanelButtonOpenedColor]:rI.colors.surface.contrast,[sI.toggleDetailsPanelButtonClosedColor]:rI.colors.surface.light,[sI.toggleDetailsPanelButtonCursor]:"pointer",[sI.detailsPanelBackgroundColor]:rI.colors.surface.highlight,[sI.detailsPanelBorderTopColor]:rI.colors.surface.light,[sI.detailsPanelLabelsColor]:rI.colors.surface.dark,[sI.detailsPanelLabelsFontSize]:"0.8em",[sI.detailsPanelItemsGap]:"2em",[sI.detailsPanelPadding]:"12px 0",_bordered:{[sI.borderColor]:yb.borderColor}};var lI=Object.freeze({__proto__:null,default:aI,grid:aI,vars:sI});const dI=ve(_u),cI=rc.cssVarList,uI="#00000020",pI={[cI.hostMinWidth]:"415px",[cI.fontFamily]:dI.fonts.font1.family,[cI.fontSize]:dI.typography.body1.size,[cI.backgroundColor]:dI.colors.surface.main,[cI.textColor]:dI.colors.surface.contrast,[cI.boxShadow]:`${dI.shadow.wide.xl} ${uI}, ${dI.shadow.narrow.xl} ${uI}`,[cI.verticalPadding]:"0.625em",[cI.horizontalPadding]:"1.5em",[cI.borderRadius]:dI.radius.xs,_bordered:{[cI.borderWidth]:dI.border.sm,[cI.borderStyle]:"solid",[cI.borderColor]:"transparent"},size:{xs:{[cI.fontSize]:"12px"},sm:{[cI.fontSize]:"14px"},md:{[cI.fontSize]:"16px"},lg:{[cI.fontSize]:"18px"}},mode:{primary:{[cI.backgroundColor]:dI.colors.primary.main,[cI.textColor]:dI.colors.primary.contrast,[cI.borderColor]:dI.colors.primary.light},success:{[cI.backgroundColor]:dI.colors.success.main,[cI.textColor]:dI.colors.success.contrast,[cI.borderColor]:dI.colors.success.light},error:{[cI.backgroundColor]:dI.colors.error.main,[cI.textColor]:dI.colors.error.contrast,[cI.borderColor]:dI.colors.error.light}}};var hI=Object.freeze({__proto__:null,default:pI,vars:cI});const gI=ve(_u),MI=xc.cssVarList,mI={[MI.hostWidth]:yb.width,[MI.hostDirection]:yb.direction,[MI.fontSize]:yb.fontSize,[MI.fontFamily]:yb.fontFamily,[MI.separatorFontSize]:"14px",[MI.labelsFontSize]:"14px",[MI.labelsLineHeight]:"1",[MI.labelsMarginBottom]:"6px",[MI.labelTextColor]:yb.labelTextColor,[MI.itemMarginBottom]:"1em",[MI.valueLabelMinWidth]:yb.minWidth,[MI.attrLabelMinWidth]:`calc(12em + 2 * ${gI.border.xs})`,[MI.separatorWidth]:"70px",[MI.removeButtonWidth]:"60px"};var yI=Object.freeze({__proto__:null,default:mI,mappingsField:mI,vars:MI});const bI=ve(_u),NI=Vc.cssVarList,II={[NI.labelMinWidth]:"150px",[NI.hostDirection]:bI.direction,[NI.contentMinWidth]:`calc(100% - ${ke(NI.labelMinWidth)} - ${ke(NI.itemsGap)})`,[NI.badgeMaxWidth]:"85px",[NI.itemsGap]:"4px",[NI.hostMinWidth]:"310px",[NI.hostWidth]:"530px",[NI.hostMaxWidth]:"100%",[NI.iconColor]:"currentcolor",_fullWidth:{[NI.hostWidth]:"100%"}};var xI=Object.freeze({__proto__:null,default:II,vars:NI});const jI=ve(_u),TI=Fc.cssVarList,DI={[TI.hostDirection]:jI.direction,[TI.itemsGap]:"16px",[TI.hostMinWidth]:"310px",[TI.hostWidth]:"530px",[TI.hostMaxWidth]:"100%",[TI.iconSize]:"24px",[TI.iconColor]:"currentcolor",_fullWidth:{[TI.hostWidth]:"100%"}};var zI=Object.freeze({__proto__:null,default:DI,vars:TI});const vI=Xc.cssVarList,CI={[vI.hostWidth]:yb.width,[vI.hostDirection]:yb.direction,[vI.groupNameInputMarginBottom]:"1em",[vI.errorMessageIcon]:yb.errorMessageIcon,[vI.errorMessageIconSize]:yb.errorMessageIconSize,[vI.errorMessageIconPadding]:yb.errorMessageIconPadding,[vI.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[vI.errorMessageIconPosition]:yb.errorMessageIconPosition,[vI.errorMessageFontSize]:yb.errorMessageFontSize};var SI=Object.freeze({__proto__:null,default:CI,samlGroupMappings:CI,vars:vI});const LI=ve(_u),AI=Na.cssVarList,wI={[AI.fontFamily]:yb.fontFamily,[AI.fontSize]:yb.labelFontSize,[AI.textColor]:yb.labelTextColor,[AI.borderWidth]:yb.borderWidth,[AI.borderStyle]:yb.borderStyle,[AI.borderColor]:yb.borderColor,[AI.borderRadius]:LI.radius.sm,[AI.backgroundColor]:"none",[AI.padding]:"0px",[AI.labelMargin]:LI.spacing.sm,[AI.itemsSpacing]:LI.spacing.lg,[AI.itemSymbolDefault]:"'\\2022'",[AI.itemSymbolSuccess]:"'\\2713'",[AI.itemSymbolError]:"'\\2A09'",[AI.itemSymbolSuccessColor]:LI.colors.success.main,[AI.itemSymbolErrorColor]:LI.colors.error.main};var fI=Object.freeze({__proto__:null,default:wI,vars:AI});const EI=ve(_u),kI=vd.cssVarList,OI="#d73a49",VI="#6f42c1",UI="#005cc5",YI="#e36209",WI="#6a737d",RI="#22863a",QI="#24292e",PI="#f0fff4",BI="#032f62",ZI="#ff7b72",FI="#d2a8ff",GI="#79c0ff",HI="#ffa657",JI="#8b949e",$I="#7ee787",_I="#c9d1d9",qI="#f0fff4",XI="#a5d6ff",KI={[kI.copyButtonSize]:"32px",[kI.copyButtonBorderRadius]:EI.radius.xs,[kI.copyButtonBorderWidth]:EI.border.xs,[kI.copyButtonBorderColor]:EI.colors.surface.light,[kI.copyButtonBgColor]:EI.colors.surface.highlight,[kI.copyButtonHoverBgColor]:EI.colors.surface.light,[kI.copyButtonColor]:EI.colors.surface.contrast,[kI.rootBgColor]:EI.colors.surface.main,[kI.rootTextColor]:EI.colors.surface.contrast,[kI.docTagTextColor]:OI,[kI.keywordTextColor]:OI,[kI.metaKeywordTextColor]:OI,[kI.templateTagTextColor]:OI,[kI.templateVariableTextColor]:OI,[kI.typeTextColor]:OI,[kI.variableLanguageTextColor]:OI,[kI.titleTextColor]:VI,[kI.titleClassTextColor]:VI,[kI.titleClassInheritedTextColor]:VI,[kI.titleFunctionTextColor]:VI,[kI.attrTextColor]:UI,[kI.attributeTextColor]:UI,[kI.literalTextColor]:UI,[kI.metaTextColor]:UI,[kI.numberTextColor]:UI,[kI.operatorTextColor]:UI,[kI.variableTextColor]:UI,[kI.selectorAttrTextColor]:UI,[kI.selectorClassTextColor]:UI,[kI.selectorIdTextColor]:UI,[kI.regexpTextColor]:BI,[kI.stringTextColor]:BI,[kI.metaStringTextColor]:BI,[kI.builtInTextColor]:YI,[kI.symbolTextColor]:YI,[kI.commentTextColor]:WI,[kI.codeTextColor]:WI,[kI.formulaTextColor]:WI,[kI.nameTextColor]:RI,[kI.quoteTextColor]:RI,[kI.selectorTagTextColor]:RI,[kI.selectorPseudoTextColor]:RI,[kI.substTextColor]:QI,[kI.sectionTextColor]:UI,[kI.bulletTextColor]:"#735c0f",[kI.emphasisTextColor]:QI,[kI.strongTextColor]:QI,[kI.additionTextColor]:RI,[kI.additionBgColor]:PI,[kI.deletionTextColor]:OI,[kI.deletionBgColor]:PI},tx={codeSnippet:{[kI.rootBgColor]:EI.colors.surface.main,[kI.rootTextColor]:EI.colors.surface.contrast,[kI.docTagTextColor]:ZI,[kI.keywordTextColor]:ZI,[kI.metaKeywordTextColor]:ZI,[kI.templateTagTextColor]:ZI,[kI.templateVariableTextColor]:ZI,[kI.typeTextColor]:ZI,[kI.variableLanguageTextColor]:ZI,[kI.titleTextColor]:FI,[kI.titleClassTextColor]:FI,[kI.titleClassInheritedTextColor]:FI,[kI.titleFunctionTextColor]:FI,[kI.attrTextColor]:GI,[kI.attributeTextColor]:GI,[kI.literalTextColor]:GI,[kI.metaTextColor]:GI,[kI.numberTextColor]:GI,[kI.operatorTextColor]:GI,[kI.variableTextColor]:GI,[kI.selectorAttrTextColor]:GI,[kI.selectorClassTextColor]:GI,[kI.selectorIdTextColor]:GI,[kI.regexpTextColor]:XI,[kI.stringTextColor]:XI,[kI.metaStringTextColor]:XI,[kI.builtInTextColor]:HI,[kI.symbolTextColor]:HI,[kI.commentTextColor]:JI,[kI.codeTextColor]:JI,[kI.formulaTextColor]:JI,[kI.nameTextColor]:$I,[kI.quoteTextColor]:$I,[kI.selectorTagTextColor]:$I,[kI.selectorPseudoTextColor]:$I,[kI.substTextColor]:_I,[kI.sectionTextColor]:GI,[kI.bulletTextColor]:"#735c0f",[kI.emphasisTextColor]:_I,[kI.strongTextColor]:_I,[kI.additionTextColor]:$I,[kI.additionBgColor]:qI,[kI.deletionTextColor]:ZI,[kI.deletionBgColor]:qI}};var ex=Object.freeze({__proto__:null,codeSnippetDarkThemeOverrides:tx,default:KI,vars:kI});const ix=iu.cssVarList,ox=ve(_u),nx={[ix.buttonsRowGap]:"9px",[ix.hostWidth]:yb.width,[ix.hostDirection]:yb.direction,[ix.fontSize]:yb.fontSize,[ix.fontFamily]:yb.fontFamily,[ix.labelTextColor]:yb.labelTextColor,[ix.labelRequiredIndicator]:yb.requiredIndicator,[ix.errorMessageTextColor]:yb.errorMessageTextColor,[ix.errorMessageIcon]:yb.errorMessageIcon,[ix.errorMessageIconSize]:yb.errorMessageIconSize,[ix.errorMessageIconPadding]:yb.errorMessageIconPadding,[ix.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[ix.errorMessageIconPosition]:yb.errorMessageIconPosition,[ix.errorMessageFontSize]:yb.errorMessageFontSize,[ix.helperTextColor]:yb.helperTextColor,[ix.itemsLabelColor]:ox.colors.surface.contrast,textAlign:{right:{[ix.inputTextAlign]:"right"},left:{[ix.inputTextAlign]:"left"},center:{[ix.inputTextAlign]:"center"}},_fullWidth:{[ix.buttonsSpacing]:"space-between"},_disabled:{[ix.itemsLabelColor]:ox.colors.surface.light}};var rx=Object.freeze({__proto__:null,default:nx,radioGroup:nx,vars:ix});const sx=tu.cssVarList,ax=ve(_u),lx={[sx.fontFamily]:yb.fontFamily,[sx.radioSize]:"calc(1em + 6px)",[sx.radioMargin]:"auto 4px",[sx.radioCheckedSize]:`calc(var(${sx.radioSize})/5)`,[sx.radioCheckedColor]:ax.colors.surface.light,[sx.radioBackgroundColor]:ax.colors.surface.light,[sx.radioBorderColor]:"none",[sx.radioBorderWidth]:0,_checked:{[sx.radioBackgroundColor]:ax.colors.surface.contrast},_hover:{cursor:"pointer"},size:{xs:{[sx.fontSize]:"12px"},sm:{[sx.fontSize]:"14px"},md:{[sx.fontSize]:"16px"},lg:{[sx.fontSize]:"18px"}}};var dx=Object.freeze({__proto__:null,default:lx,radioButton:lx,vars:sx});const cx=ve(_u),ux=wn.cssVarList,px={[ux.fontFamily]:yb.fontFamily,[ux.fontSize]:yb.fontSize,[ux.hostDirection]:yb.direction,[ux.calendarPadding]:"1em",[ux.topNavVerticalPadding]:"1em",[ux.topNavAlignment]:"space-between",[ux.topNavGap]:"0",[ux.topNavSelectorsGap]:"0.5em",[ux.bottomNavVerticalPadding]:"0.75em",[ux.bottomNavHorizontalPadding]:"1.5em",[ux.bottomNavAlignment]:"space-between",[ux.bottomNavGap]:"0.5em",[ux.navMarginBottom]:"0.75em",[ux.navBorderBottomWidth]:"1px",[ux.navBorderBottomColor]:cx.colors.surface.highlight,[ux.navBorderBottomStyle]:"solid",[ux.yearInputWidth]:"6em",[ux.monthInputWidth]:"8em",[ux.navButtonSize]:"24px",[ux.navButtonCursor]:"pointer",[ux.weekdayFontSize]:"0.875em",[ux.weekdayFontWeight]:"500",[ux.dayHeight]:"3.125em",[ux.daySize]:"2.125em",[ux.dayFontSize]:"1em",[ux.dayRadius]:"50%",[ux.dayTextAlign]:"center",[ux.dayPadding]:"0",[ux.dayTextColor]:cx.colors.surface.contrast,[ux.dayFontWeight]:"500",[ux.dayBackgroundColor]:"transparent",[ux.dayCursor]:"pointer",[ux.dayBackgroundColorHover]:cx.colors.primary.highlight,[ux.daySelectedBackgroundColor]:cx.colors.primary.main,[ux.daySelectedTextdColor]:cx.colors.primary.contrast,[ux.dayDisabledTextdColor]:cx.colors.surface.light,[ux.currentDayBorderColor]:cx.colors.surface.light,[ux.currentDayBorderWidth]:"1px",[ux.currentDayBorderStyle]:"solid",size:{xs:{[ux.fontSize]:"12px"},sm:{[ux.fontSize]:"14px"},md:{[ux.fontSize]:"16px"},lg:{[ux.fontSize]:"18px"}},[ux.navButtonRotation]:"rotate(180deg)",_disabled:{[ux.navButtonOpacity]:"0.5",[ux.dayBackgroundColorHover]:"none",[ux.navButtonCursor]:"default",[ux.dayCursor]:"default"},_fullWidth:{[ux.hostWidth]:"100%",[ux.dayBlockAlign]:"0 auto"}};var hx=Object.freeze({__proto__:null,default:px,vars:ux});const gx=ve(_u),Mx="#00000020",{shadow:mx}=gx,yx=ur.cssVarList,bx={[yx.hostWidth]:yb.width,[yx.hostDirection]:yb.direction,[yx.iconMargin]:"0.375em",[yx.overlay.marginTop]:`calc(${yb.outlineWidth} + 1px)`,[yx.overlay.backgroundColor]:yb.backgroundColor,[yx.overlay.backdropBackgroundColor]:"transparent",[yx.overlay.backdropPointerEvents]:"all",[yx.overlay.boxShadow]:`${mx.wide.xl} ${Mx}, ${mx.narrow.xl} ${Mx}`,[yx.overlay.outlineWidth]:"0",[yx.overlay.outlineColor]:"transparent",[yx.overlay.outlineStyle]:"none",[yx.overlay.padding]:"0",[yx.rtlInputDirection]:"ltr",[yx.rtlInputAlignment]:"right",[yx.errorMessageIcon]:yb.errorMessageIcon,[yx.errorMessageIconSize]:yb.errorMessageIconSize,[yx.errorMessageIconPadding]:yb.errorMessageIconPadding,[yx.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[yx.errorMessageIconPosition]:yb.errorMessageIconPosition,[yx.errorMessageFontSize]:yb.errorMessageFontSize,[yx.labelFontWeight]:yb.labelFontWeight,[yx.inputValueFontWeight]:yb.inputValueFontWeight,[yx.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[yx.helperTextFontWeight]:yb.helperTextFontWeight,[yx.errorMessageFontWeight]:yb.errorMessageFontWeight};var Nx=Object.freeze({__proto__:null,default:bx,vars:yx});const Ix=lu.cssVarList,xx={[Ix.requiredInputBorderColor]:mb._disabled[bb.borderColor],[Ix.requiredInputValueTextColor]:mb._disabled[bb.valueTextColor],[Ix.hostWidth]:"280px",_fullWidth:{[Ix.hostWidth]:"100%"}};var jx=Object.freeze({__proto__:null,default:xx,vars:Ix});const Tx=ve(_u),Dx=bu.cssVarList,zx={[Dx.gap]:Tx.spacing.lg,[Dx.arrowsColor]:Tx.colors.surface.dark,[Dx.thirdPartyAppLogoFallback]:"url(https://imgs.descope.com/components/third-party-app-logo-placeholder.svg)",[Dx.companyLogoFallback]:"url(https://imgs.descope.com/components/project-logo-placeholder.svg)",size:{xs:{[Dx.logoMaxHeight]:"30px",[Dx.logoMaxWidth]:"120px"},sm:{[Dx.logoMaxHeight]:"40px",[Dx.logoMaxWidth]:"160px"},md:{[Dx.logoMaxHeight]:"48px",[Dx.logoMaxWidth]:"200px"},lg:{[Dx.logoMaxHeight]:"60px",[Dx.logoMaxWidth]:"240px"}}};var vx=Object.freeze({__proto__:null,default:zx,vars:Dx});const Cx=Tu.cssVarList,Sx={[Cx.hostWidth]:"fit-content",_fullWidth:{[Cx.hostWidth]:"100%"}};var Lx=Object.freeze({__proto__:null,default:Sx,vars:Cx});const Ax=wu.cssVarList,wx={[Ax.hostWidth]:"min-content",[Ax.questionCursor]:"pointer",_fullWidth:{[Ax.hostWidth]:"100%"},[Ax.questionFontSize]:yb.fontSize,[Ax.questionFontFamily]:yb.fontFamily};var fx=Object.freeze({__proto__:null,default:wx,vars:Ax});const Ex=Yu.cssVarList,kx={[Ex.hostDirection]:yb.direction,[Ex.labelFontWeight]:yb.labelFontWeight,[Ex.inputValueFontWeight]:yb.inputValueFontWeight,[Ex.inputPlaceholderFontWeight]:yb.inputPlaceholderFontWeight,[Ex.helperTextFontWeight]:yb.helperTextFontWeight,[Ex.errorMessageFontWeight]:yb.errorMessageFontWeight,[Ex.errorMessageIcon]:yb.errorMessageIcon,[Ex.errorMessageIconSize]:yb.errorMessageIconSize,[Ex.errorMessageIconPadding]:yb.errorMessageIconPadding,[Ex.errorMessageIconRepeat]:yb.errorMessageIconRepeat,[Ex.errorMessageIconPosition]:yb.errorMessageIconPosition,[Ex.errorMessageFontSize]:yb.errorMessageFontSize,_fullWidth:{[Ex.hostWidth]:"100%"}};var Ox=Object.freeze({__proto__:null,default:kx,vars:Ex});const Vx=ve(_u),Ux=Pu.cssVarList,Yx={[Ux.hostDirection]:Vx.direction,[Ux.backgroundColor]:"transparent",[Ux.iconSize]:"1.35em",[Ux.alignItems]:"center",[Ux.borderRadius]:Vx.radius.md,[Ux.horizontalPadding]:"0",[Ux.verticalPadding]:"0",[Ux.gap]:"0.5em",[Ux.fontSize]:ke(hp.fontSize),mode:{error:{[Ux.textColor]:Vx.colors.error.main,_bordered:{[Ux.borderColor]:Vx.colors.error.main}},success:{[Ux.textColor]:Vx.colors.success.main,_bordered:{[Ux.borderColor]:Vx.colors.success.main}}},spacing:{xs:{[Ux.horizontalPadding]:Vx.spacing.xs,[Ux.verticalPadding]:Vx.spacing.xs},sm:{[Ux.horizontalPadding]:Vx.spacing.sm,[Ux.verticalPadding]:Vx.spacing.sm},md:{[Ux.horizontalPadding]:Vx.spacing.md,[Ux.verticalPadding]:Vx.spacing.md},lg:{[Ux.horizontalPadding]:Vx.spacing.lg,[Ux.verticalPadding]:Vx.spacing.lg},xl:{[Ux.horizontalPadding]:Vx.spacing.xl,[Ux.verticalPadding]:Vx.spacing.xl}},textAlign:{left:{[Ux.justifyContent]:"left"},center:{[Ux.justifyContent]:"center"},right:{[Ux.justifyContent]:"right"}},_bordered:{[Ux.borderWidth]:Vx.border.xs,[Ux.borderColor]:"transparent",[Ux.borderStyle]:"solid",[Ux.borderWidth]:Vx.border.xs,[Ux.borderRadius]:Vx.radius.sm},_fullWidth:{[Ux.hostWidth]:"100%"}};var Wx=Object.freeze({__proto__:null,default:Yx,vars:Ux});const Rx=Gu.cssVarList,Qx={enabled:{false:{[Rx.maxHeight]:"70px"}}},Px={button:up,textField:xy,password:Tb,numberField:vb,emailField:Lb,textArea:fb,checkbox:Vb,switchToggle:Qb,container:_b,logo:Kb,totpImage:iN,notpImage:rN,text:Mp,enrichedText:Tp,link:Np,divider:hN,passcode:mN,loaderRadial:SN,loaderLinear:IN,comboBox:wp,phoneField:wN,phoneInputBoxField:kN,newPassword:YN,inputWrapper:Nb,uploadFile:QN,buttonSelectionGroupItem:FN,buttonSelectionGroup:_N,buttonMultiSelectionGroup:KN,modal:nI,grid:lI,notificationCard:hI,multiSelectComboBox:Kh,badge:Yp,avatar:$p,mappingsField:yI,userAttribute:xI,userAuthMethod:zI,samlGroupMappings:SI,policyValidation:fI,image:Kp,icon:qp,codeSnippet:ex,radioGroup:rx,radioButton:dx,calendar:hx,dateField:Nx,monthDayField:Ky,monthDayFieldPicker:hb,list:Mh,listItem:Nh,multiLineMappings:$h,appsList:sh,scopesList:jx,thirdPartyAppLogo:vx,securityQuestionsSetup:Lx,securityQuestionsVerify:fx,hybridField:Ox,alert:Wx,autocompleteField:cg,addressField:vg,countrySubdivisionCityField:Hm,timer:Yg,timerButton:tM,passwordStrength:hM,collapsibleContainer:vM,recoveryCodes:kM,hcaptcha:Object.freeze({__proto__:null,default:Qx,vars:Rx}),outboundApps:PM,outboundAppButton:$M,trustedDevices:rm,tooltip:Im,attachment:oy,userPasskeys:yy},Bx=Object.keys(Px).reduce((t,e)=>({...t,[e]:Px[e].default}),{}),Zx=Object.keys(Px).reduce((t,e)=>({...t,[e]:Px[e].vars}),{}),Fx={globals:_u,components:Bx},Gx={globals:qu,components:Zx},Hx=a()({},Fx,{globals:{colors:{surface:{main:"#181a1c",dark:"#bec4ca",light:"#555f68",highlight:"#22262a",contrast:"#f5f6f7"},primary:{main:"#1f80ff",dark:"#71aeff",light:"#004094",highlight:"#00214d",contrast:"#000000"},secondary:{main:"#a665eb",dark:"#b9a0f3",light:"#683ae6",highlight:"#361299",contrast:"#000000"},success:{main:"#27963c",dark:"#8bc3a2",light:"#004d0f",highlight:"#001f00",contrast:"#000000"},error:{main:"#f85249",dark:"#fa7c75",light:"#c51107",highlight:"#4a0603",contrast:"#000000"},warning:{main:"#EF7A33",dark:"#FF985A",light:"#FF6304",highlight:"#C45512",contrast:"#000000"}}},components:{...tx}});customElements.define(tg,class extends eg{static get observedAttributes(){return[].concat(eg.observedAttributes||[],ig)}get allowCustomValue(){return"true"===this.getAttribute("allow-custom-value")}get minSearchLength(){return this.getAttribute("min-search-length")||3}get noResultsFoundMessage(){return this.getAttribute("no-results-message")||"No results found"}get errorFetchingResultsMessage(){return this.getAttribute("error-fetching-results-message")||"An error occurred fetching results"}constructor(){super(),this.innerHTML='\n <div class="autocomplete-field">\n <descope-combo-box clear-button-visible="true" auto-open-disabled="true" has-dynamic-data="true" item-label-path="data-name" item-value-path="data-id" hide-toggle-button="true"></descope-combo-box>\n </div>\n ',this.comboBox=this.querySelector("descope-combo-box")}get value(){return this.comboBox.value}set value(t){this.allowCustomValue?this.comboBox.value=t:(this.comboBox.data=[{label:t,value:t}],setTimeout(()=>{this.comboBox.value=t}))}get defaultValue(){return this.getAttribute("default-value")}async#In(t){const{results:e,error:i}=await this.fetchResults(t);return i?{error:i}:{results:e}}#xn(t,e,i,o){return`<span data-name="${i}" data-id="${e}" ${o?'disabled="true"':""}>${t||i}</span>`}#jn(){this.comboBox.renderer=(t,e,i)=>{"true"===i.item.getAttribute("disabled")?t.setAttribute("disabled","true"):t.removeAttribute("disabled"),t.innerHTML=i.item.outerHTML},this.comboBox.renderItem=({displayName:t,value:e,label:i,disabled:o})=>this.#xn(t,e,i,o)}focus(){this.comboBox.focus()}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.comboBox.focus()}),super.init?.(),this.#Tn(),S(this,this.comboBox,{includeAttrs:["invalid"]})}#Tn(){this.debouncedSearch=(t=>{let e=0;const i=new Set,o=new Set,n=r()((n,r)=>{t(...n).then(t=>{r===e&&(i.forEach(e=>e(t)),i.clear())}).catch(t=>{o.forEach(e=>e(t)),o.clear()})},250);return(...t)=>(e++,new Promise((r,s)=>{i.add(r),o.add(s),n(t,e)}))})(async t=>{try{const{results:e,error:i}=await this.#In(t);return{results:e,error:i,value:t}}catch(e){return{error:e,value:t}}}),w(this,this.comboBox,{includeAttrs:["size","bordered","label","label-type","placeholder","disabled","readonly","required","full-width","helper-text","invalid","error-message","data-errormessage-value-missing","st-host-direction","allow-custom-value","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),this.comboBox.addEventListener("filter-changed",this.onSearch.bind(this)),this.#jn()}#Dn(){return[{label:this.noResultsFoundMessage,value:og,disabled:!0}]}#zn(){return[{label:this.errorFetchingResultsMessage,value:og,disabled:!0}]}async onSearch(t){const e=t.detail.value;if(!e||e.length<this.minSearchLength)return;this.comboBox.loading=!0,this.comboBox.setAttribute("opened","true");const i=await this.debouncedSearch(e);i&&i.value===e&&(this.comboBox.loading=!1,i.error?this.comboBox.data=this.#zn():0===i.results?.length?this.comboBox.data=this.#Dn():this.comboBox.data=i.results||[])}fetchResults(t){return console.warn("fetchResults","needs to be implemented"),{results:[],error:void 0}}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{valid:!0}}}),customElements.define(ng,sg),customElements.define(hg,Ig),customElements.define(xg,Tg);const Jx=L("anchored");class $x extends(yt({componentName:Jx,baseSelector:".anchored-root"})){#vn=null;#Cn=null;#Sn=null;#Ln=null;get#An(){return this.defaultSlot.assignedElements({flatten:!0})[0]}get#wn(){return this.shadowRoot.querySelector('slot[name="anchored"]')?.assignedElements()[0]}get#fn(){return this.getRootNode().host}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="anchored-root" part="root">\n <slot></slot>\n <div class="anchored-host" part="anchored">\n <slot name="anchored"></slot>\n </div>\n </div>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])")}init(){super.init?.(),f("\n :host {\n display: inline-flex;\n position: relative;\n box-sizing: border-box;\n }\n\n :host(:not([has-anchor])) {\n display: none;\n }\n\n .anchored-root {\n position: relative;\n display: flex;\n width: 100%;\n min-width: 0;\n }\n\n /* Make anchor fill the flex row and allow it to shrink. */\n ::slotted(*:not([slot])) {\n flex-grow: 1; /* fill the flex row */\n flex-shrink: 1; /* compress when constrained */\n flex-basis: auto; /* start from the anchor's natural size */\n min-width: 0; /* flex items won't shrink below content size without this */\n }\n\n /* Anchored container covers the anchor but is invisible to pointer events. */\n .anchored-host {\n position: absolute;\n inset: 0;\n pointer-events: none;\n }\n\n /* Restore interactivity for actual anchored content. */\n ::slotted([slot=\"anchored\"]) {\n pointer-events: auto;\n }\n ",this),this.#En(),this.defaultSlot.addEventListener("slotchange",()=>this.#kn()),this.#kn()}#ai(){const t=this.#An?.classList?.contains("hidden");this.classList.toggle("hidden",t)}#kn(){this.#On(),this.#vn=this.#Vn(this.#vn,this.#fn,"stretch"),this.#Cn=this.#Vn(this.#Cn,this.#wn,"st-host-direction"),this.#Un()}#Un(){this.#Ln?.disconnect(),this.#An&&(this.#Ln=z(this.#An,()=>this.#ai(),{includeAttrs:["class"]}))}connectedCallback(){super.connectedCallback?.(),this.#Un(),this.#ai()}#En(){const t="\n descope-anchored {\n width: 100%; /* fill the outer host so the anchored element spans the full anchor width */\n }\n :host([stretch]) {\n display: inline-flex; /* switch from inline-block so internal children are flex items */\n width: 100%; /* fill non-flex parents */\n flex-grow: 1; /* absorb extra space in flex parents */\n flex-shrink: 0; /* hold full width — shrink:1 would let siblings squeeze it below 100% */\n flex-basis: auto; /* defer to width:100% on the main axis; avoids forcing 100% height in column-flex parents */\n min-width: 0; /* prevent overflow when the outer host is itself inside a constrained flex row */\n }\n ";this.#Sn?this.#Sn.replaceSync(t):this.#fn&&(this.#Sn=f(t,this.#fn))}#Vn(t,e,i){return t?.disconnect(),e?.removeAttribute(i),this.#An&&e?w(this.#An,e,{includeAttrs:[i]}):null}disconnectedCallback(){super.disconnectedCallback?.(),this.#vn?.disconnect(),this.#Cn?.disconnect(),this.#Ln?.disconnect()}#On(){this.toggleAttribute("has-anchor",!!this.#An),this.#ai()}}const _x=T(pt)($x);customElements.define(Jx,_x),customElements.define(Wp,Zp),customElements.define(th,eh),customElements.define(Jm,Km),customElements.define(gM,yM),customElements.define(Cm,Wm),customElements.define(Rm,Zm),customElements.define(ib,cb),customElements.define(Ey,Hy),customElements.define(Ih,Oh),customElements.define(Vh,Gh),customElements.define(BM,FM),customElements.define(OM,WM),customElements.define(eM,lM);var qx=Object.freeze({__proto__:null,PasswordStrengthClass:lM,componentName:eM});const Xx=L("ponyhot"),Kx="dhp-",tj=yt({componentName:Xx,baseSelector:""}),ej=T(pt)(class extends tj{get type(){return this.getAttribute("type")}get value(){return this.input?.value||""}init(){this.input=this.querySelector("input"),this.input&&(this.#Yn(),this.#Wn(),this.#Rn())}#Yn(){const t=["input","change","click","keydown","keyup","mouseover","mousedown"],e=i=>{this.input.value=`${Kx}${i.type}`,t.forEach(t=>{this.input.removeEventListener(t,e)})};t.forEach(t=>{this.input.addEventListener(t,e)})}#Wn(){const t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");Object.defineProperty(this.input,"value",{get(){return t.get.call(this)},set(e){const i=t.get.call(this);e&&!e.startsWith(Kx)&&e!==i?t.set.call(this,`${Kx}direct-set`):t.set.call(this,e)},configurable:!0})}#Rn(){Object.entries({position:"absolute",opacity:"0.01",width:"1px",height:"1px",pointerEvents:"none",zIndex:"-1",left:"-999999px"}).forEach(([t,e])=>{this.style[t]=e})}});customElements.define(Xx,ej),customElements.define(CM,LM),customElements.define(Sg,kg),customElements.define(Wg,_g),customElements.define(sm,um),customElements.define(XM,im),customElements.define(ly,gy);const ij={translations:N.A,graphs:y.K,dictionary:{...y.z,...b.z}};m.u2.setOptions(ij);var oj=Object.freeze({__proto__:null,default:m.K1,options:ij})}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_descope_flow_components_3_14_0_1780929246019=self.webpackChunk_descope_flow_components_3_14_0_1780929246019||[]).push([[222],{5222(t,e,i){i.d(e,{$9:()=>ob,$y:()=>Wu,A8:()=>jc,Ag:()=>tl,C1:()=>Uc,C9:()=>jo,Cz:()=>lc,Er:()=>Fp,G6:()=>ij,HO:()=>_i,HT:()=>eo,J1:()=>Oo,Jr:()=>Ri,Lg:()=>Bu,MN:()=>us,Mz:()=>Aa,NF:()=>Fs,O7:()=>bM,Od:()=>Nu,QW:()=>ic,Qb:()=>AM,R3:()=>um,SE:()=>ao,SQ:()=>Lo,T$:()=>Dy,T1:()=>uj,TV:()=>Hu,Ul:()=>la,VN:()=>Cd,VX:()=>Cr,_w:()=>ke,a5:()=>oj,bL:()=>pr,bU:()=>Dg,br:()=>U,dX:()=>ih,dq:()=>om,du:()=>Hh,e7:()=>Se,eA:()=>Sc,eo:()=>hl,ew:()=>ge,fp:()=>Il,gZ:()=>du,h5:()=>RM,jH:()=>Lr,k0:()=>Ir,l1:()=>no,lZ:()=>Ib,md:()=>zr,ml:()=>Pt,mq:()=>Kc,o9:()=>wr,o_:()=>Ee,pp:()=>Gc,px:()=>fu,q:()=>dy,q4:()=>vi,qn:()=>Co,rG:()=>Du,sK:()=>Ai,tD:()=>Kd,tS:()=>ou,td:()=>Vh,tl:()=>Kr,ul:()=>Ba,v_:()=>jr,w8:()=>Xn,wt:()=>Ia,xO:()=>xs,xp:()=>gu,xs:()=>fn,yW:()=>GM,yi:()=>xm,yj:()=>qg,zQ:()=>ej,zZ:()=>ty});var o=i(7949),n=i(72),r=i.n(n),s=i(8089),a=i.n(s),l=i(465),d=i.n(l),c=(i(8231),i(4873),i(865),i(4598),i(7519)),u=(i(496),i(7726),i(4155),i(9504),i(1399),i(5877),i(3798),i(8619),i(1394)),p=i(3667),h=(i(8319),i(3826)),g=i(8677),M=i(127),m=(i(9849),i(4899),i(3977),i(9435),i(7822),i(5595),i(6601),i(9792)),y=i(1206),b=i(8733),N=i(268);const I="descope",x=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),j=(...t)=>x(t.filter(t=>!!t).join("-")),T=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),D=t=>"function"==typeof t,z=(t,e,{excludeAttrs:i=[],includeAttrs:o=[]})=>{const n=Array.from(t.attributes).filter(t=>!i.includes(t.name)&&(!o.length||o.includes(t.name))).map(t=>t.name);e(n);const r=new MutationObserver(t=>{t.forEach(t=>{"attributes"!==t.type||i.includes(t.attributeName)||o.length&&!o.includes(t.attributeName)||e([t.attributeName])})});return r.observe(t,{attributes:!0}),{disconnect:()=>r.disconnect()}},v=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver(t=>{t.forEach(t=>{"childList"!==t.type&&"characterData"!==t.type||e(t)})}).observe(t,{childList:!0,characterData:!0,subtree:!0})},C=(t,e,i={})=>o=>{o.forEach(o=>{const n=i[o]||o,r=t.getAttribute(o);e&&(null!==r?e.getAttribute(n)!==r&&e.setAttribute(n,r):e.removeAttribute(n))})},S=(t,e,i)=>{z(t,C(t,e),i),z(e,C(e,t),i)},L=t=>j(I,t),A=(...t)=>`--${j(...t)}`,w=(t,e,i={})=>z(t,C(t,e,i.mapAttrs),i),f=(t,e,{prepend:i=!1}={})=>{let o;try{o=new CSSStyleSheet}catch{return k(t,e,{prepend:i})}const n=e?.shadowRoot||e;if(t&&o.replaceSync(t),n){const t=[...n.adoptedStyleSheets||[]];t[i?"unshift":"push"](o),n.adoptedStyleSheets=t}return t&&!o.cssRules[0]?.style&&console.warn(`No style rules were created, make sure the CSS is valid:\n "${t}"`),o};class E{constructor(t,e,{prepend:i=!1}={}){this.styleEle=document.createElement("style"),this.styleEle.textContent=t,this.styleEle.setAttribute("nonce",window.DESCOPE_NONCE),this.ref=e?.shadowRoot||e,this.ref&&(i?this.ref.prepend(this.styleEle):this.ref.append(this.styleEle))}replaceSync(t){this.styleEle.textContent=t}get cssRules(){return this.styleEle.sheet?.cssRules}}const k=(t,e,{prepend:i=!1}={})=>new E(t,e,{prepend:i}),O=(t,e=2)=>t.trim().split(" ").splice(0,e).map(t=>t[0]?.toUpperCase()).join(""),V=(t,e)=>{if(!t||!e)return null;const i=t.querySelectorAll(`:scope > [slot="${e}"]`);if(!i.length)return null;const o=document.createDocumentFragment();return i.forEach(t=>{const e=t.content?t.content.cloneNode(!0):t.cloneNode(!0);e.removeAttribute&&e.removeAttribute("slot"),o.append(e)}),o},U=new class{static mountOnPropName="DescopeThemeManager";#t={};#e="light";#i=new Set;#o(){this.#i.forEach(t=>t?.())}get currentThemeName(){return this.#e}set currentThemeName(t){this.#e=t,this.#o()}get currentTheme(){return this.#t[this.currentThemeName]}onCurrentThemeChange(t){return this.#i.add(t),()=>{this.#i.delete(t)}}set themes(t){this.#t=t,this.#o()}get hasThemes(){return!!Object.keys(this.#t).length}},Y=.25,W=.1,R=(t,e)=>t.darken(e).hex(),Q=t=>{const e=t.isDark();return t.mix(d()(e?"white":"black"),1).saturate(1).hex()},P=(t,e)=>t.lightness()<.5?t.lightness(100*e).hex():t.lighten(e).hex(),B=t=>t.luminosity()>.99,Z=(t,e)=>(t=>t.luminosity()<.01)(t)?P(t,Y):R(t,.4),F=(t,e)=>B(t)?R(t,Y):P(t,.4),G=(t,e)=>B(t)?R(t,W):P(t,.8),H=(t,e)=>{const i=new(d())(t.main||t);return{main:i.hex(),dark:t.dark||Z(i),light:t.light||F(i),highlight:t.highlight||G(i),contrast:t.contrast||Q(i)}},J=t=>`\n :host {\n padding: calc(var(${t.inputOutlineWidth}) + var(${t.inputOutlineOffset}))\n }\n`,$=t=>`\n ${t} > label,\n ${t}::part(label),\n ${t}::part(required-indicator) {\n cursor: pointer;\n }\n`,_=(t,e="input")=>`\n ${t}[disabled] > ${e}:placeholder-shown,\n\t${t}[readonly] > ${e}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,q=t=>`\n ${t}::part(input-field)::after {\n opacity: 0;\n }\n`,X=t=>`\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${t} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,K=t=>A(I,...t),tt=(t,e,i)=>{const o=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return o.reduce((t,e,n)=>(void 0===t[e]&&(t[e]={}),n===o.length-1&&(t[e]=i),t[e]),t),t},et=(t,e,i)=>Object.entries(t).reduce((t,[o,n])=>n?.constructor!==Object?a()(t,i(e.concat(o),n)):a()(t,et(n,[...e,o],i)),{}),it=(t,e)=>et(t,[],t=>tt({},t,`var(${K(t)})`)),ot=(...t)=>t.reduceRight((t,e)=>e.startsWith("--")?`var(${e}${t?`, ${t}`:t})`:`${e}${t?`, ${t}`:t}`,""),nt=(t,e)=>{const i=et(t,[],(t,i)=>{const o=[...t],n=o.splice(-1),r=A(e,n),s={[n]:r},a={[n]:ot(r)};return{theme:tt({},[...o,r],i),useVars:a,vars:s}});return[i.theme,i.useVars,i.vars]},rt=t=>`${t}__override`,st=(t,e,i=!1)=>{const o=`var(${t}${e?`, ${e}`:""})`;return i?`var(${rt(t)}, ${o})`:o};let at=class{constructor(){this.styleMap=new Map}add(t,e,i){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:i}])}toString(){return Array.from(this.styleMap.entries()).reduce((t,[e,i])=>{const o=i.map(({property:t,value:e})=>`${t}: ${e}`).join(";\n");return`${t}${e} { \n${o} \n}\n\n`},"")}};const lt=(t,e="fallback")=>j(t,e),dt=(t,e,{fallback:i})=>{if(!i)return{};const o=lt(e,i.suffix),n=((...t)=>t.filter(Boolean).map((t,e)=>{return 0===e?t:(i=t).charAt(0).toUpperCase()+i.slice(1);var i}).join(""))(t,i.suffix||"fallback");return{[n]:o,...dt(n,o,i)}},ct=(t,e)=>Object.keys(e).reduce((i,o)=>{const n=A(t,o);return Object.assign(i,{[o]:n},{[o+"Override"]:rt(n)},dt(o,n,e[o]))},{}),ut=({mappings:t={},componentNameOverride:e=""})=>i=>{const o=e||i.componentName;return class e extends i{static get cssVarList(){return{...i.cssVarList,...ct(o,{...t})}}#n;#r;#s;#a;#l;#d;#c;#u;#p;constructor({getRootElement:t,componentNameSuffix:i="",themeSection:o="host",baseSelector:n}={}){super(),this.#a=i,this.#l=o,this.#c=n??this.baseSelector,this.#p=t,this.#u=Object.keys(e.cssVarList).map(t=>j("st",i,t))}get#h(){return U.currentTheme?.[o]||""}#g(){this.#r.replaceSync(this.#h[this.#l]),this.currentThemeName=U.currentThemeName,this.onThemeChange?.(U.currentThemeName)}#M(){this.#r=f("",this.#d,{prepend:!0}),this.#s=U.onCurrentThemeChange(this.#g.bind(this)),this.#g()}#m(){if(this.#u.length){let t=`.${o}`.repeat(5);const e=this.getAttribute("id");e&&(t+=`#${CSS.escape(e)}`),this.#n=f(`:host(${t}) {}`,this.#d)}}#y(t,e){const i=this.#n.cssRules[0].style;if(!i)return;const n=A(o,t.replace(new RegExp("^st-"),""));e?i?.setProperty(n,e):(i?.removeProperty(n),this.removeAttribute(t))}#b(t=[]){t.forEach(t=>{this.#u.includes(t)&&this.#y(t,this.getAttribute(t))})}#N(){if(Object.keys(t).length){const e=((t,e,i)=>{const o=new at,n=(t,e)=>{if(!t)return"";if("string"==typeof t)return t;const i=lt(e,t?.suffix);return st(i,n(t.fallback,i))};return Object.keys(i).forEach(r=>{const s=((t,e)=>{const i={selector:"",property:x(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map(t=>({...i,...t})):[{...i,...e}]:[i]})(r,i[r]),a=A(t,r);s.forEach(({selector:t,property:i,important:r,fallback:s})=>{const l=n(s,a);o.add(((t="",e="")=>D(e)?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),D(i)?i():i,st(a,l,!0)+(r?"!important":""))})}),o.toString()})(j(o,this.#a),this.#c,t);f(e,this.#d,{prepend:!0})}}#I(t){(this.#d?.classList||this.#d?.host?.classList||this.classList).add(t)}async init(){super.init?.(),!this.shadowRoot?.isConnected&&this.shadowRoot||(this.#d=await(this.#p?.(this))||this.shadowRoot,this.#I(o),this.#N(),this.#M(),this.#m(),z(this,this.#b.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#s?.()}}},pt=t=>class extends t{constructor(){super(),f(':host([draggable="true"]) * { cursor: inherit!important }',this)}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",t=>{if(this.isDraggable){const e=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const i=()=>{e?this.baseElement.setAttribute("tabindex",e):this.baseElement.removeAttribute("tabindex"),t.target.removeEventListener("mouseup",i),t.target.removeEventListener("dragend",i)};t.target.addEventListener("mouseup",i,{once:!0}),t.target.addEventListener("dragend",i,{once:!0})}}),super.init?.()}},ht=t=>class extends t{#x(){const e=this.localName;if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}init(){super.init?.(),this.#x()}},gt=t=>class extends t{updateComponentsContext(t){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:t}))}},Mt=t=>class extends t{init(){super.init?.(),(this.baseElement||this).addEventListener("mouseover",t=>{this.setAttribute("hover","true"),t.target.addEventListener("mouseleave",()=>this.removeAttribute("hover"),{once:!0})})}},mt=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options","loading","allow-custom-value","collapsed","hide-country","hide-subdivision","hide-city"],yt=t=>class extends t{init(){super.init?.(),z(this,t=>t.forEach(t=>{const e=this.getAttribute(t);(t=>mt.includes(t))(t)?""===e?this.setAttribute(t,"true"):"false"===e&&this.removeAttribute(t):e||console.debug(`attribute "${t}" has no value, should it be added to the boolean attributes list?`)}),{})}},bt=({componentName:t,baseSelector:e=""})=>{class i extends HTMLElement{static get componentName(){return t}#j;#T=!0;get baseSelector(){return e}get baseElement(){return this.#j??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#j||console.warn("missing base element for component",this.localName),this.#j}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#T&&(this.#T=!1,this.init?.())}}return T(ht,Mt,yt,gt)(i)};function Nt(t,e={}){const i=new Event(t,e);this[`on${t}`]?.(i),this.dispatchEvent(i)}const It=t=>class extends t{#D=Nt.bind(this,"change");init(){super.init?.(),this.prevValue=this.value,this.addEventListener("change",t=>{t.stopPropagation()}),this.addEventListener("blur",()=>{this.value!==this.prevValue&&(this.#D(),this.prevValue=this.value)})}},xt=t=>class extends t{init(){this.#z(),super.init?.()}#z(){["blur","focus","focusin","focusout"].forEach(t=>{this.addEventListener(t,t=>{t.isTrusted&&t.target===this&&t.stopImmediatePropagation()})})}handleFocusEventsDispatching(t){let e;t?.forEach(t=>{t?.addEventListener("focusout",t=>{t.stopImmediatePropagation(),e=setTimeout(()=>{e=null,Nt.call(this,"blur"),Nt.call(this,"focusout",{bubbles:!0})})});const i=t=>{t.stopImmediatePropagation(),clearTimeout(e),e||(Nt.call(this,"focus"),Nt.call(this,"focusin",{bubbles:!0}))};t?.addEventListener("focusin",i),t?.addEventListener("focus",i)})}handleInputEventDispatching(){let t=this.value;this.addEventListener("input",e=>{this!==e.target&&(e.stopImmediatePropagation(),t!==this.value&&(t=this.value,Nt.call(this,"input",{bubbles:!0,composed:!0})))})}},jt=["required","pattern"],Tt=Symbol("validationTarget"),Dt=t=>class extends t{#v=Tt;static get observedAttributes(){return[...t.observedAttributes||[],...jt]}static get formAssociated(){return!0}#C;get internals(){return this.#C}set internals(t){this.#C=t}constructor(){super(),this.#C=this.attachInternals()}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}get defaultErrorMsgTooShort(){return`Minimum length is ${this.getAttribute("minlength")}.`}get defaultErrorMsgTooLong(){return`Maximum length is ${this.getAttribute("maxlength")}. `}get defaultErrorMsgRangeUnderflow(){return`At least ${this.getAttribute("min-items-selection")} items are required.`}get defaultErrorMsgRangeOverflow(){return`At most ${this.getAttribute("max-items-selection")} items are allowed.`}get defaultErrorMsgTypeMismatch(){return"Please match the requested type."}getCustomErrorMessage(t,e){return this.hasAttribute(t)?this.getAttribute(t)||" ":e}getErrorMessage(t){const{valueMissing:e,patternMismatch:i,typeMismatch:o,stepMismatch:n,tooShort:r,tooLong:s,rangeOverflow:a,rangeUnderflow:l,badInput:d,customError:c}=t;switch(!0){case e:return this.getCustomErrorMessage("data-errormessage-value-missing",this.defaultErrorMsgValueMissing);case i||n||d:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch",this.defaultErrorMsgPatternMismatch);case o:return this.getCustomErrorMessage("data-errormessage-type-mismatch",this.defaultErrorMsgTypeMismatch);case r:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-short",this.defaultErrorMsgTooShort);case s:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-long",this.defaultErrorMsgTooLong);case l:return this.getCustomErrorMessage("data-errormessage-pattern-range-underflow",this.defaultErrorMsgRangeUnderflow);case a:return this.getCustomErrorMessage("data-errormessage-pattern-range-overflow",this.defaultErrorMsgRangeOverflow);case c:return this.validationMessage;default:return""}}#S(){const t=this.isReadOnly?{}:this.getValidity();this.#C.setValidity(t,this.getErrorMessage(t),this.validationTarget)}get validationMessage(){return this.#C.validationMessage}getValidity(){console.warn("getValidity","is not implemented")}checkValidity(){return this.#C.validity.valid}reportValidity(){return this.#C.reportValidity()}get validity(){return this.#C.validity}get validationTarget(){return this.#v===Tt?this.inputElement:this.#v}set validationTarget(t){this.#v=t}setCustomValidity(t){t?this.#C.setValidity({customError:!0},t,this.validationTarget):(this.#C.setValidity({}),this.#S())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}get isDisabled(){return this.hasAttribute("disabled")&&"false"!==this.getAttribute("disabled")}get pattern(){return this.getAttribute("pattern")}get form(){return this.#C.form}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),jt.includes(t)&&this.#S()}init(){super.init?.(),this.addEventListener("change",this.#S),this.addEventListener("invalid",t=>t.stopPropagation()),this.addEventListener("input",this.#S),setTimeout(()=>this.#S())}},zt=(...t)=>T(Dt,It,yt,xt)(bt(...t)),vt="FETCH_RESULTS_ERROR",Ct=()=>class{constructor(t){this.getAttribute=t,this.isValid=this.#L()}checkConnectorValidity(){this.isValid=this.#L()}#L(){return!this.getRequiredParams().filter(t=>{const e=this.getAttribute(t);return!e||!this.validateParam(t,e)}).length}validateParam(t,e){return e.trim().length>0}getRequiredParams(){return console.error("Connector must implement getRequiredParams"),[]}async fetch(t){return this.isValid?this._fetchResults(t):(console.error(`[${this.constructor.name}] Cannot fetch results: connector is not properly configured`),{results:[],error:"CONNECTOR_INVALID"})}_fetchResults(t){return console.error("Connector must implement fetchResults"),{results:[],error:void 0}}},St=({componentName:t,wrappedEleName:e,slots:i=[],style:o,excludeAttrsSync:n=[],includeAttrsSync:r=[],includeForwardProps:s=[],delegatesFocus:a=!0})=>{class l extends(bt({componentName:t,baseSelector:e})){#A=Nt.bind(this,"blur");#w=Nt.bind(this,"focus");constructor(){super().attachShadow({mode:"open",delegatesFocus:a}).innerHTML=`\n\t\t\t<${e}>\n\t\t\t${i.map(t=>`<slot ${t?`name="${t}" slot="${t}"`:""}></slot>`).join("")}\n\t\t\t</${e}>\n\t\t`,f((D(o)?o():o)||"",this)}init(){super.init?.(),this.baseElement.addEventListener("blur",t=>{this.#A()}),this.baseElement.addEventListener("focus",t=>{this.#w()}),((t,e,i=[])=>{if(!i.length)return;const o=i.reduce((e,i)=>Object.assign(e,{[i]:{get:()=>t[i],set(e){t[i]=e}}}),{});Object.defineProperties(e,o)})(this.baseElement,this,s),S(this.baseElement,this,{excludeAttrs:n,includeAttrs:r})}}return l},Lt=["invalid","required"],At=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if([e]=e.assignedElements(),"slot"!==e?.localName)return e},wt=({proxyProps:t=[],useProxyTargets:e=!1,inputEvent:i="input",triggerValidationEvents:o=[],proxyParentValidation:n=!1})=>r=>class extends(Dt(r)){static get observedAttributes(){return[...r.observedAttributes||[],...Lt]}#f;#D=Nt.bind(this,"change");constructor(){super(),this.#f=super.inputElement}warnIfInputElementIsMissing(){clearTimeout(this.inputElementTimerId),this.inputElementTimerId=setTimeout(()=>{!this.#f&&console.warn(this.localName,"no input was found")},0)}get inputElement(){if(this.#f)return this.#f;this.warnIfInputElementIsMissing();const t=this.baseElement.shadowRoot?.querySelector('slot[name="input"]'),e=this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');return this.#f=At(t)||At(e),this.#f}set inputElement(t){this.#f=t}getValidity(){return this.inputElement?.validity||{}}#E(){this.setAttribute("error-message",this.validationMessage)}reportValidity=()=>{this.inputElement.setCustomValidity(""),this.setCustomValidity(""),this.checkValidity()||(this.setAttribute("invalid","true"),this.#E(),this.focus())};defaultReportValidity(){return super.reportValidity()}init(){if(super.init?.(),this.baseElement._setInvalid=function(t){!t&&this._shouldSetInvalid(t)&&(this.invalid=t)},this.baseElement.addEventListener("input",t=>{t.composed||this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),o.forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.inputElement?.setCustomValidity("")})}),setTimeout(()=>{(Array.isArray(i)?i:[i]).forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.baseElement.checkValidity()?this.removeAttribute("invalid"):this.#E()})}),this.baseElement.addEventListener("change",()=>{this.#D()}),this.addEventListener("invalid",()=>{this.checkValidity()||this.setAttribute("invalid","true"),this.#E()}),t.forEach(t=>{const i=this.querySelector('input[slot="external-input"]')||null,o=e?[this.baseElement,i].filter(Boolean):[];((t,e,i)=>{const o=Array.isArray(e)?e:[e];Object.defineProperty(t,i,{set(t){o.forEach(e=>{e[i]=t})},get:()=>e[0][i],configurable:!0})})(this,[this.inputElement,...o],t)}),this.setSelectionRange=this.inputElement.setSelectionRange?.bind(this.inputElement),w(this,this.inputElement,{includeAttrs:["inputmode"]})}),n){const t=this.inputElement.internals,e=this;this.inputElement.internals=new Proxy(t,{get:(t,i)=>"function"==typeof t[i]&&"setValidity"===i?(...o)=>{if(3===o.length){const t=o.slice(0,o.length-1);t.push(e.inputElement),e.internals[i](...t)}else e.internals[i](...o);return t[i](...o)}:"function"==typeof t[i]?(...o)=>(e.internals[i](...o),t[i](...o)):t[i]})}}},ft=t=>T(wt(t),ut({componentNameOverride:L("input-wrapper")})),Et=t=>async e=>{const i=await t(e);return new Promise(t=>{let e=0;const o=()=>{if(e>20)return console.error("could not get shadow root for element",i),void t(i);e++,i?.shadowRoot?t(i.shadowRoot):setTimeout(o)};o()})},kt=({name:t,selector:e,mappings:i={},forward:{attributes:o=[],include:n=!0}={}})=>r=>{const s=t||(t=>t.replace(/[^\w\s]/gi,""))(e),a=ut({mappings:i})(r);return class extends a{static get cssVarList(){return{...a.cssVarList,[s]:ct(s?j(r.componentName,"_"+s):r.componentName,i)}}#k;constructor(){const t=Et(async t=>{const i=(t.shadowRoot||t).querySelector(t.baseSelector);return e&&t.shadowRoot?(await Et(()=>i)(t)).querySelector(e):i});super({getRootElement:t,componentNameSuffix:s&&"_"+s,themeSection:s?"_"+s:void 0,baseSelector:""}),this.#O=()=>t(this).then(t=>t?.host||t)}#O;async#V(){const t=await this.#k;t.onmouseenter=t=>{t.target.setAttribute("hover","true")},t.onmouseleave=t=>{t.target.removeAttribute("hover")}}async init(){super.init?.(),this.#k=this.#O();const t=await this.#k;w(this,t,{[n?"includeAttrs":"excludeAttrs"]:o}),this.#V()}}},Ot=()=>!0,Vt=t=>`<pre>${JSON.stringify(t,null,4)}</pre>`,Ut=({itemRenderer:t=Vt,validateSchema:e=Ot,slotName:i,rerenderAttrsList:o=[],targetSelector:n,sortFn:r=t=>t})=>s=>class extends s{#U=[];#Y;#W(t){if(!e)return!0;const i=e(t);return!0===i||(console.error("Data schema validation failed",i||""),!1)}#R(){const t=i?`*[slot="${i}"]`:":not([slot])";this.#Y&&this.#Y.querySelectorAll(t).forEach(t=>t.remove())}#Q(){this.#R(),(r?this.data.sort(r):this.data).forEach((e,i)=>{const o="string"==typeof(n=t(e,i,this))?(t=>{const e=document.createElement("template");return e.innerHTML=t,e})(n).content:n instanceof HTMLTemplateElement?n.content:(console.error("Invalid template",n),null);var n;this.#Y&&this.#Y.appendChild(o?.cloneNode(!0))})}set data(t){this.#W(t)&&(this.#U=t,this.#Q())}get data(){return this.#U}init(){super.init?.(),this.#Y=n?this.shadowRoot.querySelector(n):this.baseElement,z(this,t=>{t.includes("data")?this.#P():this.#Q()},{includeAttrs:[...o,"data"]})}#P(){const t=this.getAttribute("data");if(t)try{this.data=JSON.parse(t)}catch(e){console.warn("Invalid JSON data",t)}}},Yt=({triggers:t=[]}={})=>e=>class extends e{static get observedAttributes(){return[...e.observedAttributes||[],...t.map(({attr:t})=>t)]}get#B(){return t.some(({attr:t,value:e})=>this.getAttribute(t)===e)}#Z=()=>{this.toggleAttribute("stretch",this.#B)};attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&this.#Z()}init(){super.init?.(),this.#Z()}},Wt=["blockquote","list","image","table","code","hr","backticks","fence","reference","heading","lheading","html_block"],Rt=L("enriched-text");class Qt extends(bt({componentName:Rt,baseSelector:":host > div"})){#F;#G;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="content"></div>\n ',f("\n :host {\n line-height: 1em;\n word-break: break-word;\n }\n :host > slot {\n width: 100%;\n display: inline-block;\n }\n *, *:last-child {\n margin: 0;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p {\n margin-bottom: 1em;\n }\n a {\n cursor: pointer;\n }\n blockquote {\n padding: 0 2em;\n }\n u {\n text-decoration: underline\n }\n s {\n color: currentColor;\n }\n ",this),this.#H(),v(this,this.#J.bind(this)),this.contentNode?.addEventListener("click",t=>{t.target instanceof HTMLAnchorElement&&t.stopPropagation()})}static get observedAttributes(){return["readonly","link-target-blank"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("readonly"===t&&this.onReadOnlyChange("true"===i),"link-target-blank"===t&&this.#H())}customUnderlineRenderer(){this.processor.renderer.rules.em_open=(t,e,i,o,n)=>("_"===t[e].markup&&(t[e].tag="u"),this.#G(t,e,i,o,n)),this.processor.renderer.rules.em_close=(t,e,i,o,n)=>("_"===t[e].markup&&(t[e].tag="u"),this.#G(t,e,i,o,n))}#$(){this.linkTargetBlank?this.processor.renderer.rules.link_open=(t,e,i,o,n)=>(t[e].attrSet("target","_blank"),this.#F(t,e,i,o,n)):this.processor.renderer.rules.link_open=this.#F}#_(){this.processor&&this.processor.disable(Wt)}#q(){this.#_()}#X(){this.#F=this.processor.renderer.rules.link_open||((t,e,i,o,n)=>n.renderToken(t,e,i)),this.#G=this.processor.renderer.rules.em_open||((t,e,i,o,n)=>n.renderToken(t,e,i))}#H(){this.processor=new o.A("commonmark",{html:!0}),this.#X(),this.#q(),this.#$(),this.customUnderlineRenderer()}get linkTargetBlank(){return"true"===this.getAttribute("link-target-blank")}get contentNode(){return this.shadowRoot.querySelector(".content")}#J(){if(!this.processor)return;let t=(t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value})(this.innerHTML);!t?.trim()&&this.isConnected?this.setAttribute("empty","true"):this.removeAttribute("empty");try{const e=this.processor.parse(t,{references:void 0});t=this.processor.renderer.render(e,{html:!0,breaks:!0})}catch{console.warn("Not parsing invalid markdown token")}this.contentNode.innerHTML=t,this.contentNode.firstChild?.setAttribute("part","content")}onReadOnlyChange(t){t?this.contentNode.setAttribute("inert",t):this.contentNode.removeAttribute("inert")}}const Pt=T(ut({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDisplay:{selector:()=>":host",property:"display",fallback:"inline-block"},hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},fontFamily:{},fontWeight:{},fontWeightBold:[{selector:()=>":host strong",property:"font-weight"},{selector:()=>":host b",property:"font-weight"}],textColor:{property:"color"},textLineHeight:{property:"line-height"},textAlign:{},linkColor:{selector:"a",property:"color"},linkTextDecoration:{selector:"a",property:"text-decoration"},linkHoverTextDecoration:{selector:"a:hover",property:"text-decoration"},minHeight:{},minWidth:{}}}),ut({componentNameOverride:L("link")}),ut({componentNameOverride:L("text")}),Yt({triggers:[{attr:"full-width",value:"true"}]}),pt,ht)(Qt),Bt=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),Zt=(...t)=>Bt(t.filter(t=>!!t).join("-")),Ft=(...t)=>e=>t.reduceRight((t,e)=>e(t),e),Gt=t=>"function"==typeof t,Ht="descope",Jt="host",$t=(t,e,{excludeAttrs:i=[],includeAttrs:o=[]})=>{const n=Array.from(t.attributes).filter(t=>!i.includes(t.name)&&(!o.length||o.includes(t.name))).map(t=>t.name);e(n),new MutationObserver(t=>{t.forEach(t=>{"attributes"!==t.type||i.includes(t.attributeName)||o.length&&!o.includes(t.attributeName)||e([t.attributeName])})}).observe(t,{attributes:!0})},_t=(t,e)=>{e({addedNodes:Array.from(t.children),removedNodes:[]}),new MutationObserver(t=>{t.forEach(t=>{"childList"!==t.type&&"characterData"!==t.type||e(t)})}).observe(t,{childList:!0,characterData:!0,subtree:!0})},qt=(t,e,i={})=>o=>{o.forEach(o=>{const n=i[o]||o,r=t.getAttribute(o);e&&(null!==r?e.getAttribute(n)!==r&&e.setAttribute(n,r):e.removeAttribute(n))})},Xt=(t,e,i)=>{$t(t,qt(t,e),i),$t(e,qt(e,t),i)},Kt=t=>Zt(Ht,t),te=(...t)=>`--${Zt(...t)}`,ee=(t,e,i={})=>{$t(t,qt(t,e,i.mapAttrs),i)},ie=(t,e,i=[])=>{if(!i.length)return;const o=i.reduce((e,i)=>Object.assign(e,{[i]:{get:()=>t[i],set(e){t[i]=e}}}),{});Object.defineProperties(e,o)},oe=.4,ne=.25,re=.1,se=(t,e)=>t.darken(e).hex(),ae=t=>{const e=t.isDark();return t.mix(d()(e?"white":"black"),1).saturate(1).hex()},le=(t,e)=>t.lightness()<.5?t.lightness(100*e).hex():t.lighten(e).hex(),de=t=>t.luminosity()<.01,ce=t=>t.luminosity()>.99,ue=(t,e)=>"dark"===e?ce(t)?se(t,ne):le(t,oe):de(t)?le(t,ne):se(t,oe),pe=(t,e)=>"dark"===e?de(t)?le(t,ne):se(t,oe):ce(t)?se(t,ne):le(t,oe),he=(t,e)=>"dark"===e?de(t)?le(t,re):se(t,.8):ce(t)?se(t,re):le(t,.8),ge=(t,e)=>{const i=new(d())(t.main||t);return{main:i.hex(),dark:t.dark||ue(i,e),light:t.light||pe(i,e),highlight:t.highlight||he(i,e),contrast:t.contrast||ae(i)}},Me=t=>`\n :host {\n padding: calc(var(${t.inputOutlineWidth}) + var(${t.inputOutlineOffset}))\n }\n`,me=t=>`\n ${t} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`,ye=t=>`\n ${t}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`,be=t=>`\n ${t} > label,\n ${t}::part(label),\n ${t}::part(required-indicator) {\n cursor: pointer;\n }\n`,Ne=(t,e="input")=>`\n ${t}[disabled] > ${e}:placeholder-shown,\n\t${t}[readonly] > ${e}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,Ie=t=>`\n ${t}::part(input-field)::after {\n background: none;\n }\n`,xe=(t,e)=>`\n ${me(t)}\n ${be(t)}\n ${Ne(t)}\n ${ye(t)}\n ${((t,e)=>`\n ${t} input:-webkit-autofill,\n ${t} input:-webkit-autofill::first-line,\n ${t} input:-webkit-autofill:hover,\n ${t} input:-webkit-autofill:active,\n ${t} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${e.inputValueTextColor});\n box-shadow: 0 0 0 var(${e.inputHeight}) var(${e.inputBackgroundColor}) inset;\n }\n`)(t,e)}\n ${Ie(t)}\n ${(t=>`\n ${t}::before {\n\t\theight: unset;\n\t}\n`)(t)}\n ${(t=>`\n ${t} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`)(t)}\n ${(t=>`\n ${t}::part(input-field)::after {\n border: none;\n }\n`)(t)}\n`,je=t=>`\n :host ::part(error-message) {\n direction: ltr;\n }\n :host([required]) ::part(required-indicator) {\n width: 1em;\n display: inline-flex;\n }\n :host([required]) ::part(required-indicator)::after {\n position: static;\n }\n :host([has-label]) ::part(label) {\n padding-right: 0;\n padding-bottom: 0;\n display: flex;\n width: 100%;\n }\n ${t} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,Te=t=>te(Ht,...t),De=(t,e,i)=>{const o=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return o.reduce((t,e,n)=>(void 0===t[e]&&(t[e]={}),n===o.length-1&&(t[e]=i),t[e]),t),t},ze=(t,e,i)=>Object.entries(t).reduce((t,[o,n])=>n?.constructor!==Object?a()(t,i(e.concat(o),n)):a()(t,ze(n,[...e,o],i)),{}),ve=t=>{switch(!0){case Array.isArray(t):return t.map(t=>t.includes(" ")?`"${t}"`:t).join(", ");case(t=>{try{return new URL(t),!0}catch(t){return!1}})(t):return`url(${t})`;default:return t}},Ce=(t,e)=>ze(t,[],t=>De({},t,`var(${Te(t)})`)),Se=(t,e="")=>{const i=Object.entries((t=>ze(t,[],(t,e)=>({[Te(t)]:ve(e)})))(t)).reduce((t,e)=>`${t}${e.join(":")};\n`,"");return e?`*[data-theme="${e}"] {${i}}`:i},Le="@container",Ae="$breakpoints",we=t=>t.startsWith("$breakpoints."),fe=t=>Object.entries(t).reduce((t,[e,i])=>(t=>t.startsWith(Le))(e)?`${t}${e} {\n${fe(i)}}\n\n`:`${t}${e} { \n${Object.entries(i).map(([t,e])=>`${t}: ${e}`).join(";\n")} \n}\n\n`,""),Ee=t=>{const e=(t=>ze(t,[],(e,i)=>{const[o,...n]=e;if(n[0]===Ae)return{};const r=n.pop(),s=Kt(o);"undefined"===r&&console.warn(s,`theme value: "${i}" is mapped to an invalid property`);const a=Jt,l=t[o]?.[Ae]||{},d=n.filter(we),c=d.find(t=>!l[t.slice(13)]);if(c)return console.warn(s,`theme references undefined breakpoint "${c}"`),{};const u=d.map(t=>we(t)?`${Le} ${l[t.slice(13)]}`:t);n.splice(0,n.length,...n.filter(t=>!we(t)));const p=n.reduce((t,e,i)=>{const[o,r]=function(t){const e=t.match(/^(&+)?(.*)$/);return[e[1]||"",e[2]||""]}(e),s=Math.min(o.length+1,3);if(r.startsWith("_"))return t+`[${Bt(r.replace(/^_/,""))}="true"]`.repeat(s);const a=n[i+1];return"string"!=typeof a||a.startsWith("_")||a.startsWith("&")?(console.error("theme generator",`your theme structure is invalid, attribute "${e}" is followed by "${a}" which is not allowed`),t):t+`[${Bt(r)}="${n.splice(i+1,1).join("")}"]`.repeat(s)},""),h=":host"+(p?`(${p})`:""),g=u.reduceRight((t,e)=>({[e]:t}),{[h]:{[r]:ve(i)}});return{[s]:{[a]:g}}}))(t);return Object.keys(e).reduce((t,i)=>{const o=e[i];return Object.assign(t,{[i]:Object.keys(o).reduce((t,e)=>Object.assign(t,{[e]:fe(o[e])}),{})})},{})},ke=({globals:t,components:e},i)=>({globals:Se(t,i),components:Ee(e)}),Oe=(...t)=>t.reduceRight((t,e)=>e.startsWith("--")?`var(${e}${t?`, ${t}`:t})`:`${e}${t?`, ${t}`:t}`,""),Ve=(t,e)=>{const i=ze(t,[],(t,i)=>{const o=[...t],n=o.splice(-1),r=te(e,n),s={[n]:r},a={[n]:Oe(r)};return{theme:De({},[...o,r],i),useVars:a,vars:s}});return[i.theme,i.useVars,i.vars]},Ue=t=>`${t}__override`,Ye=(t,e,i=!1)=>{const o=`var(${t}${e?`, ${e}`:""})`;return i?`var(${Ue(t)}, ${o})`:o};class We{constructor(){this.styleMap=new Map}add(t,e,i){this.styleMap.has(t)||this.styleMap.set(t,[]),this.styleMap.set(t,[...this.styleMap.get(t),{property:e,value:i}])}toString(){return Array.from(this.styleMap.entries()).reduce((t,[e,i])=>{const o=i.map(({property:t,value:e})=>`${t}: ${e}`).join(";\n");return`${t}${e} { \n${o} \n}\n\n`},"")}}const Re=(t,e="fallback")=>Zt(t,e),Qe=(t,e,{fallback:i})=>{if(!i)return{};const o=Re(e,i.suffix),n=((...t)=>t.filter(Boolean).map((t,e)=>{return 0===e?t:(i=t).charAt(0).toUpperCase()+i.slice(1);var i}).join(""))(t,i.suffix||"fallback");return{[n]:o,...Qe(n,o,i)}},Pe=(t,e)=>Object.keys(e).reduce((i,o)=>{const n=te(t,o);return Object.assign(i,{[o]:n},{[`${o}Override`]:Ue(n)},Qe(o,n,e[o]))},{}),Be=({mappings:t={},componentNameOverride:e=""})=>i=>{const o=e||i.componentName;return class e extends i{static get cssVarList(){return{...i.cssVarList,...Pe(o,{...t})}}#n;#r;#s;#a;#l;#d;#c;#u;#p;constructor({getRootElement:t,componentNameSuffix:i="",themeSection:o=Jt,baseSelector:n}={}){super(),this.#a=i,this.#l=o,this.#c=n??this.baseSelector,this.#p=t,this.#u=Object.keys(e.cssVarList).map(t=>Zt("st",i,t))}get#h(){return U.currentTheme?.[o]||""}#g(){this.#r.replaceSync(this.#h[this.#l])}#M(){this.#r=f("",this.#d,{prepend:!0}),this.#s=U.onCurrentThemeChange(this.#g.bind(this)),this.#g()}#m(){if(this.#u.length){let t=`.${o}`.repeat(5);const e=this.getAttribute("id");e&&(t+=`#${CSS.escape(e)}`),this.#n=f(`:host(${t}) {}`,this.#d)}}#y(t,e){const{style:i}=this.#n.cssRules[0];if(!i)return;const n=te(o,t.replace(new RegExp("^st-"),""));e?i?.setProperty(n,e):(i?.removeProperty(n),this.removeAttribute(t))}#b(t=[]){t.forEach(t=>{this.#u.includes(t)&&this.#y(t,this.getAttribute(t))})}#N(){if(Object.keys(t).length){const e=((t,e,i)=>{const o=new We,n=(t,e)=>{if(!t)return"";if("string"==typeof t)return t;const i=Re(e,t?.suffix);return Ye(i,n(t.fallback,i))};return Object.keys(i).forEach(r=>{const s=((t,e)=>{const i={selector:"",property:Bt(t)};return e&&Object.keys(e).length?Array.isArray(e)?e.map(t=>({...i,...t})):[{...i,...e}]:[i]})(r,i[r]),a=te(t,r);s.forEach(({selector:t,property:i,important:r,fallback:s})=>{const l=n(s,a);o.add(((t="",e="")=>Gt(e)?e(t):`${t}${/^[A-Za-z]/.test(e)?` ${e}`:e}`)(e,t),Gt(i)?i():i,Ye(a,l,!0)+(r?"!important":""))})}),o.toString()})(Zt(o,this.#a),this.#c,t);f(e,this.#d,{prepend:!0})}}#I(t){(this.#d.classList||this.#d.host.classList).add(t)}async init(){super.init?.(),this.shadowRoot?.isConnected&&(this.#d=await(this.#p?.(this))||this.shadowRoot,this.#I(o),this.#N(),this.#M(),this.#m(),$t(this,this.#b.bind(this),{}))}disconnectedCallback(){super.disconnectedCallback?.(),this.#s?.()}}},Ze=t=>class extends t{constructor(){super(),f(':host([draggable="true"]) * { cursor: inherit!important }',this)}get isDraggable(){return this.hasAttribute("draggable")&&"false"!==this.getAttribute("draggable")}init(){this.addEventListener("mousedown",t=>{if(this.isDraggable){const e=this.baseElement.getAttribute("tabindex");this.baseElement.setAttribute("tabindex","-1");const i=()=>{e?this.baseElement.setAttribute("tabindex",e):this.baseElement.removeAttribute("tabindex"),t.target.removeEventListener("mouseup",i),t.target.removeEventListener("dragend",i)};t.target.addEventListener("mouseup",i,{once:!0}),t.target.addEventListener("dragend",i,{once:!0})}}),super.init?.()}},Fe=t=>class extends t{#x(){const e=this.localName;if(!t.componentName)throw Error('component name is not defined on super class, make sure you have a static get for "componentName"');if(e!==t.componentName)throw Error(`component name mismatch, expected "${t.componentName}", current "${e}"`)}init(){super.init?.(),this.#x()}},Ge=t=>class extends t{updateComponentsContext(t){this.dispatchEvent(new CustomEvent("components-context",{bubbles:!0,composed:!0,detail:t}))}},He=t=>class extends t{init(){super.init?.(),(this.baseElement||this).addEventListener("mouseover",t=>{this.setAttribute("hover","true"),t.target.addEventListener("mouseleave",()=>this.removeAttribute("hover"),{once:!0})})}},Je=["readonly","focused","invalid","has-label","required","disabled","checked","has-helper","has-value","step-buttons-visible","hover","has-error-message","focus-ring","opened","active","password-visible","opening","closing","has-no-options","loading","allow-custom-value","loading"],$e=t=>class extends t{init(){super.init?.(),$t(this,t=>t.forEach(t=>{const e=this.getAttribute(t);(t=>Je.includes(t))(t)?""===e?this.setAttribute(t,"true"):"false"===e&&this.removeAttribute(t):e||console.debug(`attribute "${t}" has no value, should it be added to the boolean attributes list?`)}),{})}},_e=({componentName:t,baseSelector:e=""})=>{class i extends HTMLElement{static get componentName(){return t}#j;#T=!0;get baseSelector(){return e}get baseElement(){return this.#j??=this.baseSelector?this.rootElement.querySelector(this.baseSelector):this,this.#j||console.warn("missing base element for component",this.localName),this.#j}get rootElement(){return this.shadowRoot||this}get name(){return this.getAttribute("name")}connectedCallback(){super.connectedCallback?.(),this.rootElement.isConnected&&this.#T&&(this.#T=!1,this.init?.())}}return Ft(Fe,He,$e,Ge)(i)};function qe(t,e={}){const i=new Event(t,e);this[`on${t}`]?.(i),this.dispatchEvent(i)}const Xe=({componentName:t,wrappedEleName:e,slots:i=[],style:o,excludeAttrsSync:n=[],includeAttrsSync:r=[],includeForwardProps:s=[],delegatesFocus:a=!0})=>{class l extends(_e({componentName:t,baseSelector:e})){#A=qe.bind(this,"blur");#w=qe.bind(this,"focus");constructor(){super().attachShadow({mode:"open",delegatesFocus:a}).innerHTML=`\n\t\t\t<${e}>\n\t\t\t${i.map(t=>`<slot ${t?`name="${t}" slot="${t}"`:""}></slot>`).join("")}\n\t\t\t</${e}>\n\t\t`,f((Gt(o)?o():o)||"",this)}init(){super.init?.(),this.baseElement.addEventListener("blur",t=>{this.#A()}),this.baseElement.addEventListener("focus",t=>{this.#w()}),ie(this.baseElement,this,s),Xt(this.baseElement,this,{excludeAttrs:n,includeAttrs:r})}}return l},Ke=["required","pattern"],ti=Symbol("validationTarget"),ei=t=>class extends t{#v=ti;static get observedAttributes(){return[...t.observedAttributes||[],...Ke]}static get formAssociated(){return!0}#C;get internals(){return this.#C}set internals(t){this.#C=t}constructor(){super(),this.#C=this.attachInternals()}get defaultErrorMsgValueMissing(){return"Please fill out this field."}get defaultErrorMsgPatternMismatch(){return"Please match the requested format."}get defaultErrorMsgTooShort(){return`Minimum length is ${this.getAttribute("minlength")}.`}get defaultErrorMsgTooLong(){return`Maximum length is ${this.getAttribute("maxlength")}. `}get defaultErrorMsgRangeUnderflow(){return`At least ${this.getAttribute("min-items-selection")} items are required.`}get defaultErrorMsgRangeOverflow(){return`At most ${this.getAttribute("max-items-selection")} items are allowed.`}get defaultErrorMsgTypeMismatch(){return"Please match the requested type."}getCustomErrorMessage(t,e){return this.hasAttribute(t)?this.getAttribute(t)||" ":e}getErrorMessage(t){const{valueMissing:e,patternMismatch:i,typeMismatch:o,stepMismatch:n,tooShort:r,tooLong:s,rangeOverflow:a,rangeUnderflow:l,badInput:d,customError:c}=t;switch(!0){case e:return this.getCustomErrorMessage("data-errormessage-value-missing",this.defaultErrorMsgValueMissing);case i||n||d:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch",this.defaultErrorMsgPatternMismatch);case o:return this.getCustomErrorMessage("data-errormessage-type-mismatch",this.defaultErrorMsgTypeMismatch);case r:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-short",this.defaultErrorMsgTooShort);case s:return this.getCustomErrorMessage("data-errormessage-pattern-mismatch-too-long",this.defaultErrorMsgTooLong);case l:return this.getCustomErrorMessage("data-errormessage-pattern-range-underflow",this.defaultErrorMsgRangeUnderflow);case a:return this.getCustomErrorMessage("data-errormessage-pattern-range-overflow",this.defaultErrorMsgRangeOverflow);case c:return this.validationMessage;default:return""}}#S(){const t=this.isReadOnly?{}:this.getValidity();this.#C.setValidity(t,this.getErrorMessage(t),this.validationTarget)}get validationMessage(){return this.#C.validationMessage}getValidity(){console.warn("getValidity","is not implemented")}checkValidity(){return this.#C.validity.valid}reportValidity(){return this.#C.reportValidity()}get validity(){return this.#C.validity}get validationTarget(){return this.#v===ti?this.inputElement:this.#v}set validationTarget(t){this.#v=t}setCustomValidity(t){t?this.#C.setValidity({customError:!0},t,this.validationTarget):(this.#C.setValidity({}),this.#S())}get isRequired(){return this.hasAttribute("required")&&"false"!==this.getAttribute("required")}get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}get isDisabled(){return this.hasAttribute("disabled")&&"false"!==this.getAttribute("disabled")}get pattern(){return this.getAttribute("pattern")}get form(){return this.#C.form}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),Ke.includes(t)&&this.#S()}init(){super.init?.(),this.addEventListener("change",this.#S),this.addEventListener("invalid",t=>t.stopPropagation()),this.addEventListener("input",this.#S),setTimeout(()=>this.#S())}},ii=["invalid","required"],oi=t=>{if(!t)return;let e=t;for(let t=0;t<10;t++)if([e]=e.assignedElements(),"slot"!==e?.localName)return e},ni=({proxyProps:t=[],useProxyTargets:e=!1,inputEvent:i="input",triggerValidationEvents:o=[],proxyParentValidation:n=!1})=>r=>class extends(ei(r)){static get observedAttributes(){return[...r.observedAttributes||[],...ii]}#f;#D=qe.bind(this,"change");constructor(){super(),this.#f=super.inputElement}warnIfInputElementIsMissing(){clearTimeout(this.inputElementTimerId),this.inputElementTimerId=setTimeout(()=>{!this.#f&&console.warn(this.localName,"no input was found")},0)}get inputElement(){if(this.#f)return this.#f;this.warnIfInputElementIsMissing();const t=this.baseElement.shadowRoot?.querySelector('slot[name="input"]'),e=this.baseElement.shadowRoot?.querySelector('slot[name="textarea"]');return this.#f=oi(t)||oi(e),this.#f}set inputElement(t){this.#f=t}getValidity(){return this.inputElement?.validity||{}}#E(){this.setAttribute("error-message",this.validationMessage)}reportValidity=()=>{this.inputElement.setCustomValidity(""),this.setCustomValidity(""),this.checkValidity()||(this.setAttribute("invalid","true"),this.#E(),this.focus())};defaultReportValidity(){return super.reportValidity()}init(){if(super.init?.(),this.baseElement._setInvalid=function(t){!t&&this._shouldSetInvalid(t)&&(this.invalid=t)},this.baseElement.addEventListener("input",t=>{t.composed||this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),o.forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.inputElement?.setCustomValidity("")})}),setTimeout(()=>{(Array.isArray(i)?i:[i]).forEach(t=>{this.baseElement?.addEventListener(t,()=>{this.baseElement.checkValidity()?this.removeAttribute("invalid"):this.#E()})}),this.baseElement.addEventListener("change",()=>{this.#D()}),this.addEventListener("invalid",()=>{this.checkValidity()||this.setAttribute("invalid","true"),this.#E()}),t.forEach(t=>{const i=this.querySelector('input[slot="external-input"]')||null,o=e?[this.baseElement,i].filter(Boolean):[];((t,e,i)=>{const o=Array.isArray(e)?e:[e];Object.defineProperty(t,i,{set(t){o.forEach(e=>{e[i]=t})},get:()=>e[0][i],configurable:!0})})(this,[this.inputElement,...o],t)}),this.setSelectionRange=this.inputElement?.setSelectionRange?.bind(this.inputElement),ee(this,this.inputElement,{includeAttrs:["inputmode"]})}),n){const t=this.inputElement.internals,e=this;this.inputElement.internals=new Proxy(t,{get:(t,i)=>"function"==typeof t[i]&&"setValidity"===i?(...o)=>{if(3===o.length){const t=o.slice(0,o.length-1);t.push(e.inputElement),e.internals[i](...t)}else e.internals[i](...o);return t[i](...o)}:"function"==typeof t[i]?(...o)=>(e.internals[i](...o),t[i](...o)):t[i]})}}},ri=t=>Ft(ni(t),Be({componentNameOverride:Kt("input-wrapper")})),si=({name:t,selector:e,mappings:i={},forward:{attributes:o=[],include:n=!0}={}})=>e=>{const r=t,s=Be({mappings:i})(e);return class extends s{static get cssVarList(){return{...s.cssVarList,[r]:Pe(Zt(e.componentName,"_"+r),i)}}#k;constructor(){const t=(e=async t=>(t.shadowRoot||t).querySelector(t.baseSelector),async t=>{const i=await e(t);return new Promise(t=>{let e=0;const o=()=>{if(e>20)return console.error("could not get shadow root for element",i),void t(i);e++,i?.shadowRoot?t(i.shadowRoot):setTimeout(o)};o()})});var e;super({getRootElement:t,componentNameSuffix:"_"+r,themeSection:"_"+r,baseSelector:""}),this.#O=()=>t(this).then(t=>t?.host||t)}#O;async#V(){const t=await this.#k;t.onmouseenter=t=>{t.target.setAttribute("hover","true")},t.onmouseleave=t=>{t.target.removeAttribute("hover")}}async init(){super.init?.(),this.#k=this.#O();const t=await this.#k;ee(this,t,{[n?"includeAttrs":"excludeAttrs"]:o}),this.#V()}}},ai=t=>class extends t{#D=qe.bind(this,"change");init(){super.init?.(),this.prevValue=this.value,this.addEventListener("change",t=>{t.stopPropagation()}),this.addEventListener("blur",()=>{this.value!==this.prevValue&&(this.#D(),this.prevValue=this.value)})}},li=t=>class extends t{init(){this.#z(),super.init?.()}#z(){["blur","focus","focusin","focusout"].forEach(t=>{this.addEventListener(t,t=>{t.isTrusted&&t.target===this&&t.stopImmediatePropagation()})})}handleFocusEventsDispatching(t){let e;t?.forEach(t=>{t?.addEventListener("focusout",t=>{t.stopImmediatePropagation(),e=setTimeout(()=>{e=null,qe.call(this,"blur"),qe.call(this,"focusout",{bubbles:!0})})});const i=t=>{t.stopImmediatePropagation(),clearTimeout(e),e||(qe.call(this,"focus"),qe.call(this,"focusin",{bubbles:!0}))};t?.addEventListener("focusin",i),t?.addEventListener("focus",i)})}handleInputEventDispatching(){let t=this.value;this.addEventListener("input",e=>{this!==e.target&&(e.stopImmediatePropagation(),t!==this.value&&(t=this.value,qe.call(this,"input",{bubbles:!0,composed:!0})))})}},di=({inputType:t,inputName:e,autocompleteType:i,includeAttrs:o=[],noBlurDispatch:n=!1})=>r=>class extends r{#K=[];get isExternalInput(){return"true"===this.getAttribute("external-input")}createExternalInput(){if(!this.isExternalInput||this.isReadOnly||this.isDisabled)return null;const i=this.baseElement.querySelector("input");if(!i)return null;i.setAttribute("tabindex","-1");const n=(()=>{const t=document.createElement("slot");return t.setAttribute("name","external-input"),t.setAttribute("slot","suffix"),t})();return this.baseElement.appendChild(n),this.externalInput=((t,e,i,o)=>{const n=document.createElement("input");return n.setAttribute("slot","external-input"),n.setAttribute("type",e),n.setAttribute("name",o),n.setAttribute("data-hidden-input","true"),n.setAttribute("autocomplete",i),n})(0,t,this.getAutocompleteType(),e),setTimeout(()=>{var t,e,o;t=i,e=this.externalInput,o=this.getAttribute("label-type"),setTimeout(()=>{const i=getComputedStyle(t),n=i.getPropertyValue("height"),r=i.getPropertyValue("padding-left"),s=i.getPropertyValue("padding-right"),a=i.getPropertyValue("font-size"),l=i.getPropertyValue("font-family"),d=i.getPropertyValue("letter-spacing"),c=i.getPropertyValue("caret-color"),u=((t,e)=>{const i=t.value;t.value="_";const o=e.getPropertyValue("color");return"_"===t.value&&(t.value=i),o})(t,i);if([["all","unset"],["position","absolute"],["background-color","transparent"],["height",n],["left",r],["right",s],["font-size",a],["font-family",l],["letter-spacing",d],["caret-color",c],["color",u]].forEach(([t,i])=>e.style.setProperty(t,i,"important")),"floating"===o){const t=i.getPropertyValue("margin-bottom");e.style.setProperty("margin-bottom",t,"important")}const p=i.getPropertyValue("width");e.style.setProperty("width",`calc(${p} - ${r} - ${s}`,"important")},0)}),this.forwardInputValue(i,this.externalInput),Xt(i,this.externalInput,{includeAttrs:o}),this.baseElement.querySelector("input").addEventListener("focusout",t=>t.stopImmediatePropagation(),!0),this.handleFocusEvents(),this.handleBlurEvents(),this.handlelInputEvents(this.externalInput),this.appendChild(this.externalInput),this.externalInput}clearBlurTimers(){this.#K.forEach(t=>clearTimeout(t)),this.#K.length=0}dispatchBlur(){return setTimeout(()=>{this.dispatchEvent(new Event("blur",{bubbles:!0,composed:!0})),this.removeAttribute("focused")})}handleFocusEvents(){this.baseElement.addEventListener("focus",()=>{this.externalInput.focus(),this.clearBlurTimers()}),this.externalInput.addEventListener("focus",()=>{this.clearBlurTimers(),setTimeout(()=>this.baseElement.setAttribute("focused","true"))})}handleBlurEvents(){this.baseElement.addEventListener("blur",t=>{t.stopImmediatePropagation(),n||this.#K.push(this.dispatchBlur())},!0),this.externalInput.addEventListener("blur",t=>{t.stopImmediatePropagation(),this.#K.push(this.dispatchBlur())},!0)}handlelInputEvents(t){t.addEventListener("input",t=>{this.value=t.target.value}),t.addEventListener("input",t=>{t.target.value?this.setAttribute("has-value","true"):this.removeAttribute("has-value")})}getAutocompleteType(){return this.getAttribute("autocomplete")||i}forwardInputValue(t,e){const i=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value");Object.defineProperty(t,"value",{...i,set(t){i.set.call(this,t),e.value=t},configurable:!0})}},ci=t=>class extends t{init(){super.init?.(),this.baseElement._hasValidConstraints&&(this.baseElement._hasValidConstraints=()=>!0)}},ui=(...t)=>Ft(ei,ai,$e,li)(_e(...t)),pi=Kt("boolean-field-internal"),hi=["disabled","invalid","readonly"],gi=ui({componentName:pi,baseSelector:"div"}),Mi=t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${pi}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${pi}>\n\t\t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(pi),this.checkbox=this.inputElement.querySelector("vaadin-checkbox"),ee(this,this.inputElement,{includeAttrs:["required","full-width","size","label","invalid","disabled","readonly"]}),ie(this.inputElement,this,["checked"]),Xt(this,this.inputElement,{includeAttrs:["checked"]})}};var mi=t=>`\n:host {\n\tdisplay: inline-flex;\n}\n\n\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n.wrapper {\n\tdisplay: flex;\n\tbox-sizing: border-box;\n}\nvaadin-text-field {\n\tposition: relative;\n\tpadding: 0;\n\tdisplay: inline-flex;\n\talign-items: flex-start;\n}\nvaadin-text-field::before {\n content: unset;\n}\nvaadin-text-field::part(label) {\n position: absolute;\n top: 0;\n}\nvaadin-text-field::part(input-field) {\n\tpadding: 0;\n\tbackground: none;\n\tmin-height: 0;\n}\nvaadin-text-field::part(input-field)::after {\n background: none;\n}\nvaadin-text-field[focus-ring]::part(input-field) {\n\tbox-shadow: none;\n}\n\nvaadin-checkbox [slot="label"] {\n align-self: flex-start;\n padding: 0;\n}\n[required] vaadin-checkbox [slot="label"]:not(:empty) {\n\tpadding-inline-end: 1em;\n}\ndescope-boolean-field-internal {\n -webkit-mask-image: none;\n min-height: initial;\n}\n\ndescope-enriched-text[empty] {\n\t${Pt.cssVarList.hostDisplay}: none;\n}\n\ndescope-enriched-text {\n\t${Pt.cssVarList.hostDirection}: var(${t.hostDirection});\n}\n\n`;const yi=Kt("checkbox"),{host:bi,component:Ni,checkboxElement:Ii,checkboxSurface:xi,checkboxLabel:ji,requiredIndicator:Ti,helperText:Di,errorMessage:zi}={host:{selector:()=>":host"},requiredIndicator:{selector:'[required] vaadin-checkbox [slot="label"]:not(:empty)::part(content)::after'},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxLabel:{selector:'vaadin-checkbox [slot="label"]:not(:empty)'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},vi=Ft(Be({mappings:{hostWidth:{...bi,property:"width"},hostDirection:{...bi,property:"direction"},fontSize:[bi,Ii,ji],fontFamily:[ji,Di,zi],labelTextColor:{...ji,property:"color"},labelSpacing:{...ji,property:"padding-inline-start"},labelLineHeight:{...ji,property:"line-height"},labelFontWeight:{...ji,property:"font-weight"},labelRequiredIndicator:{...Ti,property:"content"},errorMessageTextColor:{...zi,property:"color"},errorMessageIcon:{...zi,property:"background-image"},errorMessageIconSize:{...zi,property:"background-size"},errorMessageIconPadding:{...zi,property:"padding-inline-start"},errorMessageIconRepeat:{...zi,property:"background-repeat"},errorMessageIconPosition:{...zi,property:"background-position"},errorMessageFontSize:{...zi,property:"font-size"},inputValueTextColor:{...xi,property:"color"},inputBackgroundColor:{...Ii,property:"background-color"},inputBorderRadius:{...Ii,property:"border-radius"},inputBorderWidth:{...Ii,property:"border-width"},inputBorderOffset:{...Ii,property:"border-offset"},inputBorderColor:{...Ii,property:"border-color"},inputBorderStyle:{...Ii,property:"border-style"},inputOutlineWidth:{...Ii,property:"outline-width"},inputOutlineOffset:{...Ii,property:"outline-offset"},inputOutlineColor:{...Ii,property:"outline-color"},inputOutlineStyle:{...Ii,property:"outline-style"},inputAlign:{...Ii,property:"align-self"},inputContainerPadding:{...Ni,property:"padding"},inputContainerBackgroundColor:{...Ni,property:"background-color"},inputContainerBorderRadius:{...Ni,property:"border-radius"},inputContainerBorderWidth:{...Ni,property:"border-width"},inputContainerBorderColor:{...Ni,property:"border-color"},inputContainerBorderStyle:{...Ni,property:"border-style"},inputContainerOutlineWidth:{...Ni,property:"outline-width"},inputContainerOutlineOffset:{...Ni,property:"outline-offset"},inputContainerOutlineColor:{...Ni,property:"outline-color"},inputContainerOutlineStyle:{...Ni,property:"outline-style"},inputSize:[{...Ii,property:"width"},{...Ii,property:"height"},{...xi,property:"font-size"},{...Ni,property:"font-size"}]}}),Ze,ri({proxyProps:["value","selectionStart"]}),Fe,Mi)(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${mi(vi.cssVarList)}\n ${Me(vi.cssVarList)}\n\n :host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n }\n\n :host ::part(error-message) {\n direction: ltr;\n }\n\n vaadin-text-field {\n width: 100%;\n }\n\n descope-boolean-field-internal {\n\t\t\t\tpadding: 2px;\n\t\t\t\twidth: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n\n :host([full-width]) vaadin-checkbox {\n flex-grow: 1;\n }\n\n vaadin-checkbox::part(checkbox) {\n margin: 0;\n }\n\n vaadin-checkbox::part(checkbox)::after {\n top: 0;\n left: 0;\n -webkit-text-fill-color: initial;\n }\n\n vaadin-checkbox label {\n -webkit-text-fill-color: initial;\n }\n\n vaadin-text-field::part(input-field)::after {\n content: none;\n }\n `,excludeAttrsSync:["label","tabindex","style"],componentName:yi})),Ci=L("text");class Si extends(bt({componentName:Ci,baseSelector:":host > slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <slot part="text-wrapper"></slot>\n ',f("\n :host {\n display: inline-block;\n line-height: 1em;\n }\n :host > slot {\n width: 100%;\n display: inline-block;\n }\n ",this)}get hideWhenEmpty(){return"true"===this.getAttribute("hide-when-empty")}init(){super.init(),v(this,()=>{const t=!!this.childNodes.length;this.style.display=!t&&this.hideWhenEmpty?"none":""})}}const{host:Li}={host:{selector:()=>":host"}},Ai=T(ut({mappings:{hostWidth:{...Li,property:"width"},hostDirection:{...Li,property:"direction"},fontSize:{},textColor:[{property:"color"}],textLineHeight:{property:"line-height"},textLetterSpacing:{property:"letter-spacing"},textShadow:{},textAlign:{},textTransform:{},fontFamily:{},fontStyle:{},fontWeight:{},borderWidth:{},borderStyle:{},borderColor:{}}}),Yt({triggers:[{attr:"full-width",value:"true"}]}),pt,ht)(Si),wi=L("link"),fi=["href","readonly"];class Ei extends(bt({componentName:wi,baseSelector:":host a"})){static get observedAttributes(){return fi.concat(super.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t<div>\n\t\t\t<descope-text part="wrapper">\n\t\t\t\t<a>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</a>\n\t\t\t</descope-text>\n\t\t</div>\n\t\t',f('\n :host {\n\t\t\tdisplay: inline-block;\n line-height: 1em;\n\t\t}\n\t\t:host a {\n\t\t\tdisplay: inline;\n\t\t}\n\n :host([ellipsis="true"]) descope-text {\n display: inline-flex;\n }\n :host([ellipsis="true"]) descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n ',this),this.anchor=this.shadowRoot.querySelector("a"),w(this,this.anchor,{includeAttrs:["href","target","tooltip"],mapAttrs:{tooltip:"title"}}),w(this,this.shadowRoot.querySelector("descope-text"),{includeAttrs:["mode","variant"]}),this.anchor.addEventListener("click",t=>{this.readOnly&&t.preventDefault()})}get readOnly(){return"true"===this.getAttribute("readonly")}}const ki={host:{selector:()=>":host"},link:{selector:()=>":host a"},anchor:{},wrapper:{selector:()=>":host > div"},text:{selector:()=>Ai.componentName}},{anchor:Oi,text:Vi,host:Ui,wrapper:Yi,link:Wi}=ki,Ri=T(ut({mappings:{hostWidth:{...Ui,property:"width"},hostDirection:{...Vi,property:"direction"},textAlign:Yi,textDecoration:{...Wi,property:"text-decoration",fallback:"none"},textColor:[{...Oi,property:"color"},{...Vi,property:Ai.cssVarList.textColor}],cursor:Oi}}),Yt({triggers:[{attr:"full-width",value:"true"}]}),pt,ht)(Ei);customElements.define(Ci,Ai),customElements.define(wi,Ri),customElements.define(Rt,Pt),customElements.define(pi,class extends gi{static get observedAttributes(){return["readonly","label"]}constructor(){super(),this.innerHTML='\n\t\t\t<div class="wrapper">\n\t\t\t\t<vaadin-checkbox>\n\t\t\t\t\t<descope-enriched-text link-target-blank="true" class="label-content" slot="label"></descope-enriched-text>\n\t\t\t\t</vaadin-checkbox>\n\t\t\t</div>\n\t\t',this.wrapperEle=this.querySelector("div"),this.checkbox=this.querySelector("vaadin-checkbox"),this.labelContent=this.querySelector(".label-content")}get value(){return this.checkbox?.checked}set value(t){this.checkbox.checked=t}get checked(){return this.value}set checked(t){this.value=t}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.checkbox.focus()}),super.init?.(),ee(this,this.checkbox,{includeAttrs:hi}),Xt(this,this.checkbox,{includeAttrs:["checked"]}),this.labelContent.addEventListener("click",t=>{this.hasAttribute("disabled")||this.hasAttribute("readonly")||this.checkbox.click()}),this.handleFocusEventsDispatching([this.checkbox])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"readonly"===t&&this.onReadOnlyChange(null!==i),"label"===t&&this.onLabelChange()}onLabelChange(){const t=this.getAttribute("label");this.labelContent.textContent=t||""}onReadOnlyChange(t){this.baseElement.setAttribute("inert",t)}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}}),customElements.define(yi,vi);const Qi=Kt("switch-toggle"),{host:Pi,component:Bi,checkboxElement:Zi,checkboxSurface:Fi,checkboxLabel:Gi,requiredIndicator:Hi,helperText:Ji,errorMessage:$i}={host:{selector:()=>":host"},requiredIndicator:{selector:'[required] vaadin-checkbox [slot="label"]:not(:empty)::part(content)::after'},component:{selector:"vaadin-checkbox"},checkboxElement:{selector:"vaadin-checkbox::part(checkbox)"},checkboxSurface:{selector:"vaadin-checkbox::part(checkbox)::after"},checkboxLabel:{selector:'vaadin-checkbox [slot="label"]:not(:empty)'},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},_i=Ft(Be({mappings:{hostWidth:{...Pi,property:"width"},hostDirection:{...Pi,property:"direction"},fontSize:[Bi,Gi,Gi],fontFamily:[Gi,Ji,$i],labelTextColor:[{...Gi,property:"color"},{...Gi,property:"-webkit-text-fill-color"}],labelSpacing:{...Gi,property:"padding-inline-start"},labelLineHeight:{...Gi,property:"line-height"},labelFontWeight:{...Gi,property:"font-weight"},labelRequiredIndicator:{...Hi,property:"content"},errorMessageTextColor:{...$i,property:"color"},errorMessageIcon:{...$i,property:"background-image"},errorMessageIconSize:{...$i,property:"background-size"},errorMessageIconPadding:{...$i,property:"padding-inline-start"},errorMessageIconRepeat:{...$i,property:"background-repeat"},errorMessageIconPosition:{...$i,property:"background-position"},errorMessageFontSize:{...$i,property:"font-size"},trackBorderWidth:{...Zi,property:"border-width"},trackBorderStyle:{...Zi,property:"border-style"},trackBorderColor:{...Zi,property:"border-color"},trackBackgroundColor:{...Zi,property:"background-color"},trackBorderRadius:{...Zi,property:"border-radius"},trackWidth:[{...Zi,property:"width"}],trackHeight:[{...Fi,property:"font-size"},{...Zi,property:"height"}],knobSize:[{...Fi,property:"width"},{...Fi,property:"height"}],knobTextColor:{...Fi,property:"color"},knobRadius:{...Fi,property:"border-radius"},knobTransitionDuration:{...Fi,property:"transition"},knobColor:{...Fi,property:"background-color"},knobTopOffset:{...Fi,property:"top"},knobLeftOffset:{...Fi,property:"left"},inputOutlineWidth:{...Zi,property:"outline-width"},inputOutlineOffset:{...Zi,property:"outline-offset"},inputOutlineColor:{...Zi,property:"outline-color"},inputOutlineStyle:{...Zi,property:"outline-style"}}}),Ze,ri({proxyProps:["value","selectionStart"]}),Fe,Mi)(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t${mi(_i.cssVarList)}\n\t\t\t${Me(_i.cssVarList)}\n\n :host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n }\n\n :host ::part(error-message) {\n direction: ltr;\n }\n\n vaadin-text-field {\n width: 100%;\n }\n\n vaadin-text-field::part(input-field)::after {\n content: none;\n }\n\n descope-boolean-field-internal {\n\t\t\t\tpadding: 0;\n width: 100%;\n }\n\n vaadin-text-field::part(input-field) {\n cursor: pointer;\n }\n\n vaadin-checkbox {\n cursor: pointer;\n }\n\n vaadin-checkbox [slot="label"]:not(:empty) {\n cursor: pointer;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox) {\n margin: 0;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox)::before {\n content: '';\n\t\t\t}\n\n vaadin-checkbox[active]::part(checkbox) {\n\t\t\t\ttransform: none;\n\t\t\t}\n\n vaadin-checkbox::part(checkbox)::after {\n\t\t\t\tposition: absolute;\n\t\t\t\topacity: 1;\n\t\t\t\tcontent: '';\n\t\t\t}\n\t\t`,excludeAttrsSync:["label","tabindex","style"],componentName:Qi}));customElements.define(Qi,_i);const qi=Kt("loader-linear");class Xi extends(_e({componentName:qi,baseSelector:":host > div"})){static get componentName(){return qi}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div></div>\n\t",f("\n @keyframes tilt {\n\t\t\t\t0% { transform: translateX(0); }\n\t\t\t\t50% { transform: translateX(400%); }\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tposition: relative;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\tdiv::after {\n\t\t\t\tcontent: '';\n\t\t\t\tanimation-name: tilt;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 0;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\twidth: 100%;\n\t\t\t}\n ",this)}}const{after:Ki,host:to}={after:{selector:"::after"},host:{selector:()=>":host"}},eo=Ft(Be({mappings:{hostDisplay:{},hostWidth:{...to,property:"width"},barHeight:[{property:"height"},{...Ki,property:"height"}],barBorderRadius:[{property:"border-radius"},{...Ki,property:"border-radius"}],verticalPadding:[{...to,property:"padding-top"},{...to,property:"padding-bottom"}],barBackgroundColor:{property:"background-color"},barColor:{...Ki,property:"background-color"},barWidth:{...Ki,property:"width"},animationDuration:[{},Ki],animationTimingFunction:[{},Ki],animationIterationCount:[{},Ki]}}),Ze,Fe)(Xi);customElements.define(qi,eo);const io=Kt("loader-radial");class oo extends(_e({componentName:io,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div></div>\n\t",f("\n @keyframes spin {\n\t\t\t\t0% { transform: rotate(0deg); }\n\t\t\t\t100% { transform: rotate(360deg); }\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tposition: relative;\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\tanimation-name: spin;\n\t\t\t}\n ",this)}}const no=Ft(Be({mappings:{hostDisplay:{property:"display"},spinnerSize:[{property:"width"},{property:"height"}],spinnerBorderWidth:{property:"border-width"},spinnerBorderStyle:{property:"border-style"},spinnerBorderRadius:{property:"border-radius"},spinnerQuadrant1Color:{property:"border-top-color"},spinnerQuadrant2Color:{property:"border-bottom-color"},spinnerQuadrant3Color:{property:"border-right-color"},spinnerQuadrant4Color:{property:"border-left-color"},animationDuration:{},animationTimingFunction:{},animationIterationCount:{}}}),Ze,Fe)(oo);customElements.define(io,no);const ro=Kt("container");class so extends(_e({componentName:ro,baseSelector:"slot"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<slot></slot>\n\t",f("\n\t\t\t:host > slot {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tdisplay: flex;\n\t\t\t\toverflow: auto;\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t}\n ",this)}}const ao=Ft(Be({mappings:{hostHeight:{selector:()=>":host",property:"height"},hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},itemsGrow:{selector:()=>"::slotted(*)",property:"flex-grow",fallback:"0"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:{},flexWrap:{},backgroundColor:{},backgroundImage:{},backgroundPositionX:{},backgroundPositionY:{},backgroundSize:{},backgroundRepeat:{},color:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{}}}),Ze,Fe)(so);customElements.define(ro,ao);const lo=L("combo-box"),{host:co,inputField:uo,inputElement:po,placeholder:ho,toggle:go,clearButton:Mo,label:mo,requiredIndicator:yo,helperText:bo,errorMessage:No,loader:Io,overlayContent:xo}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"input"},placeholder:{selector:"> input:placeholder-shown"},toggle:{selector:"::part(toggle-button)"},clearButton:{selector:"::part(clear-button)"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},loader:{selector:"vaadin-combo-box-overlay::part(loader)"},overlayContent:{selector:"vaadin-combo-box-overlay::part(content)"}},jo=T(ut({mappings:{hostWidth:{...co,property:"width"},hostDirection:{...co,property:"direction"},fontSize:[{},co],fontFamily:[mo,ho,uo,bo,No],labelFontSize:{...mo,property:"font-size"},labelFontWeight:{...mo,property:"font-weight"},inputValueFontWeight:{...uo,property:"font-weight"},inputPlaceholderFontWeight:{...ho,property:"font-weight"},helperTextFontWeight:{...bo,property:"font-weight"},errorMessageFontWeight:{...No,property:"font-weight"},labelTextColor:[{...mo,property:"color"},{...mo,property:"-webkit-text-fill-color"},{...yo,property:"color"}],errorMessageTextColor:{...No,property:"color"},errorMessageIcon:{...No,property:"background-image"},errorMessageIconSize:{...No,property:"background-size"},errorMessageIconPadding:{...No,property:"padding-inline-start"},errorMessageIconRepeat:{...No,property:"background-repeat"},errorMessageIconPosition:{...No,property:"background-position"},errorMessageFontSize:{...No,property:"font-size"},inputHeight:{...uo,property:"height"},inputBackgroundColor:{...uo,property:"background-color"},inputBorderColor:{...uo,property:"border-color"},inputBorderWidth:{...uo,property:"border-width"},inputBorderStyle:{...uo,property:"border-style"},inputBorderRadius:{...uo,property:"border-radius"},labelRequiredIndicator:{...yo,property:"content"},inputValueTextColor:{...uo,property:"color"},inputPlaceholderTextColor:{...ho,property:"color"},inputDropdownButtonCursor:[{...go,property:"cursor"},{...Mo,property:"cursor"}],inputDropdownButtonColor:[{...go,property:"color"},{...Mo,property:"color"}],inputDropdownButtonSize:[{...go,property:"font-size"},{...Mo,property:"font-size"}],inputDropdownButtonOffset:[{...go,property:"margin-right"},{...go,property:"margin-left"}],inputOutlineColor:{...uo,property:"outline-color"},inputOutlineWidth:{...uo,property:"outline-width"},inputOutlineStyle:{...uo,property:"outline-style"},inputOutlineOffset:{...uo,property:"outline-offset"},inputHorizontalPadding:[{...po,property:"padding-left"},{...po,property:"padding-right"}],labelPosition:{...mo,property:"position"},labelTopPosition:{...mo,property:"top"},labelHorizontalPosition:[{...mo,property:"left"},{...mo,property:"right"}],inputTransformY:{...mo,property:"transform"},inputTransition:{...mo,property:"transition"},marginInlineStart:{...mo,property:"margin-inline-start"},placeholderOpacity:{...ho,property:"opacity"},inputVerticalAlignment:{...uo,property:"align-items"},valueInputHeight:{...po,property:"height"},valueInputMarginBottom:{...po,property:"margin-bottom"},overlayBackground:{property:()=>jo.cssVarList.overlay.backgroundColor},overlayTextColor:{property:()=>jo.cssVarList.overlay.textColor},overlayBorder:{property:()=>jo.cssVarList.overlay.border},overlayFontSize:{property:()=>jo.cssVarList.overlay.fontSize},overlayFontFamily:{property:()=>jo.cssVarList.overlay.fontFamily},overlayCursor:{property:()=>jo.cssVarList.overlay.cursor},overlayItemBoxShadow:{property:()=>jo.cssVarList.overlay.itemBoxShadow},overlayItemPaddingInlineStart:{property:()=>jo.cssVarList.overlay.itemPaddingInlineStart},overlayItemPaddingInlineEnd:{property:()=>jo.cssVarList.overlay.itemPaddingInlineEnd},overlayCheckmarkDisplay:{property:()=>jo.cssVarList.overlay.checkmarkDisplay},overlaySelectedItemBackground:{property:()=>jo.cssVarList.overlay.selectedItemBackground},overlaySelectedItemHoverBackground:{property:()=>jo.cssVarList.overlay.selectedItemHoverBackground},overlaySelectedItemFocusBackground:{property:()=>jo.cssVarList.overlay.selectedItemFocusBackground},overlayItemHoverBackground:{property:()=>jo.cssVarList.overlay.itemHoverBackground},overlayItemFocusBackground:{property:()=>jo.cssVarList.overlay.itemFocusBackground}}}),pt,kt({name:"overlay",selector:"",mappings:{backgroundColor:[{selector:"vaadin-combo-box-scroller"},{selector:"vaadin-combo-box-overlay::part(overlay)"}],minHeight:{selector:"vaadin-combo-box-overlay"},margin:{selector:"vaadin-combo-box-overlay"},cursor:{selector:"vaadin-combo-box-item"},fontFamily:{selector:"vaadin-combo-box-item"},textColor:{selector:"vaadin-combo-box-item",property:"color"},fontSize:{selector:"vaadin-combo-box-item"},itemBoxShadow:{selector:"vaadin-combo-box-item",property:"box-shadow"},itemPaddingInlineStart:{selector:"vaadin-combo-box-item",property:"padding-inline-start"},itemPaddingInlineEnd:{selector:"vaadin-combo-box-item",property:"padding-inline-end"},checkmarkDisplay:{selector:"vaadin-combo-box-item::part(checkmark)",property:"display"},selectedItemBackground:{selector:"vaadin-combo-box-item[selected]",property:"background-color"},selectedItemHoverBackground:{selector:"vaadin-combo-box-item[selected]:hover:not([disabled])",property:"background-color"},selectedItemFocusBackground:{selector:"vaadin-combo-box-item[selected][focused]:not([disabled])",property:"background-color"},itemHoverBackground:{selector:"vaadin-combo-box-item:hover:not([selected]):not([disabled])",property:"background-color"},itemFocusBackground:{selector:"vaadin-combo-box-item[focused]:not([selected]):not([disabled])",property:"background-color"},loaderTop:{...Io,property:"top"},loaderLeft:{...Io,property:"left"},loaderRight:{...Io,property:"right"},loaderMargin:{...Io,property:"margin"},loaderWidth:{...Io,property:"width"},loaderHeight:{...Io,property:"height"},loaderBorder:{...Io,property:"border"},loaderBorderColor:{...Io,property:"border-color"},loaderBorderRadius:{...Io,property:"border-radius"},contentHeight:{...xo,property:"height"},contentOpacity:{...xo,property:"opacity"},scrollerMinHeight:{selector:"vaadin-combo-box-scroller",property:"min-height"}},forward:{include:!1,attributes:["size"]}}),ft({proxyProps:["selectionStart"],inputEvent:"value-changed"}),t=>class extends t{init(){super.init?.(),this.baseElement._hasValidConstraints&&(this.baseElement._hasValidConstraints=()=>!0)}},ht,t=>class extends t{static get observedAttributes(){return["label-type","require-match"]}#tt=({displayName:t,value:e,label:i})=>`<span data-name="${i}" data-id="${e}">${t||i}</span>`;#U;get defaultValue(){return this.getAttribute("default-value")}get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}set renderer(t){this.baseElement.renderer=t}get loading(){return"true"===this.getAttribute("loading")}set loading(t){t?this.setAttribute("loading","true"):this.removeAttribute("loading")}get data(){if(this.#U)return this.#U;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" -',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#U=t,this.renderItems())}get requireMatch(){return"true"===this.getAttribute("require-match")&&!this.allowCustomValue}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){if(this.#U||this.getAttribute("data")){const t=this.getItemsTemplate();this.innerHTML=t}}get hasDynamicData(){return"true"===this.getAttribute("has-dynamic-data")}get shouldSelectItemOnItemsChange(){return!this.hasDynamicData||this.allowCustomValue}handleSelectedItem(){const{selectedItem:t}=this.baseElement,e=t?.["data-id"];t&&Array.from(this.children).includes(t)||(e&&this.shouldSelectItemOnItemsChange&&(this.value=e),this.value||this.setDefaultValue())}customValueTransformFn(t){return t}setComboBoxDescriptor(){const t=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value"),e=this;Object.defineProperties(this.inputElement,{value:{...t,set(i){if(!e.baseElement.items?.length&&!e.allowCustomValue)return;const o=e.customValueTransformFn(i)||"";o!==this.value&&t.set.call(this,o)}}})}#et(){const t=Array.from(this.children);t.forEach(t=>{Object.defineProperty(t,"data-name",{value:t.getAttribute("data-name"),configurable:!0,writable:!0}),Object.defineProperty(t,"data-id",{value:t.getAttribute("data-id"),configurable:!0,writable:!0})}),this.baseElement.items=t,setTimeout(()=>{this.handleSelectedItem()},0)}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-combo-box-overlay");t._attachOverlay=()=>{t.bringToFront()},t._detachOverlay=()=>{},t._enterModalState=()=>{}}#ot(){this.baseElement.renderer=(t,e,i)=>{t.innerHTML=i.item.outerHTML}}#nt(){this.hasDynamicData&&(this.baseElement._dataProviderFilterChanged=()=>{})}isValueMatch(){const t=this.baseElement.querySelector("input").value;return!t||this.baseElement.items.some(e=>e.dataset.name===t||e.dataset.id===t)}init(){super.init?.(),this.getValidity=function(){return this.requireMatch&&!this.isValueMatch()?{patternMismatch:!0}:!this.value&&this.isRequired?{valueMissing:!0}:{}},this.#ot(),this.#nt(),setTimeout(()=>{this.setComboBoxDescriptor(),this.#it()}),z(this,this.renderItems.bind(this),{includeAttrs:["data"]}),v(this,this.#et.bind(this)),this.setDefaultValue(),this.baseElement.addEventListener("value-changed",()=>{this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}),this.baseElement.addEventListener("filter-changed",t=>{this.dispatchEvent(new CustomEvent("filter-changed",{bubbles:!0,composed:!0,detail:t.detail}))})}onLabelClick(){this.isReadOnly||this.isDisabled||(this.focus(),this.autoOpenDisabled||this.setAttribute("opened","true"))}handleRequireMatchChange(t){this.baseElement.allowCustomValue=t||this.allowCustomValue}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label-type"===t?"floating"===i?this.addEventListener("click",this.onLabelClick):this.removeEventListener("click",this.onLabelClick):"require-match"===t&&this.handleRequireMatchChange("true"===i))}setDefaultValue(){this.defaultValue&&(this.value=this.defaultValue)}#rt(t){return this.baseElement.items?.find(e=>e["data-id"]===t)}#st(t,e){t===this.value&&e!==this.baseElement.selectedItem&&this.baseElement.addEventListener("selected-item-changed",t=>{t.stopImmediatePropagation()},{once:!0,capture:!0})}set value(t){const e=this.#rt(t);this.#st(t,e),t&&e?this.baseElement.selectedItem=e:!e&&this.allowCustomValue?this.baseElement.value=t:this.baseElement.selectedItem=void 0}get value(){return(this.baseElement.selectedItem?.["data-id"]||this.allowCustomValue)&&this.baseElement.__data.value||""}get allowCustomValue(){return"true"===this.getAttribute("allow-custom-value")}get autoOpenDisabled(){return"true"===this.getAttribute("auto-open-disabled")}})(St({slots:["","prefix"],wrappedEleName:"vaadin-combo-box",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tbox-sizing: border-box;\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t${J(jo.cssVarList)}\n\t\t${q("vaadin-combo-box")}\n\t\t${_("vaadin-combo-box")}\n\t\t${$("vaadin-combo-box")}\n\n\t\tvaadin-combo-box {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\tvaadin-combo-box::before {\n\t\t\theight: initial;\n\t\t}\n\t\tvaadin-combo-box [slot="input"] {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\tvaadin-combo-box::part(input-field) {\n\t\t\tpadding: 0;\n\t\t\tbox-shadow: none;\n\t\t}\n\n vaadin-combo-box::part(toggle-button),\n vaadin-combo-box::part(clear-button) {\n align-self: center;\n }\n\n vaadin-combo-box[hide-toggle-button="true"]::part(toggle-button) {\n display: none;\n }\n\n vaadin-combo-box[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-combo-box[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n ${X("vaadin-combo-box")}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\t\t`,excludeAttrsSync:["tabindex","size","data","loading","style"],componentName:lo,includeForwardProps:["items","renderer","selectedItem"]}));customElements.define(lo,jo);const To=t=>{const e=c.A.sanitize(t,{USE_PROFILES:{svg:!0,svgFilters:!0},ADD_TAGS:["image"],FORBID_TAGS:["defs"]});return(new DOMParser).parseFromString(e,"image/svg+xml").querySelector("svg")},Do=L("image"),zo=["src","src-dark"];class vo extends(bt({componentName:Do,baseSelector:"slot"})){static get observedAttributes(){return zo}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<slot></slot>\n\t",f("\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n :host > slot {\n width: 100%;\n height: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tdisplay: flex;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\n ::slotted(*) {\n width: 100%;\n\t\t\t}\n\n .hidden {\n display: none;\n }\n ",this)}init(){super.init?.(),this.toggleVisibility(this.getSrc)}onThemeChange(){this.renderImage()}toggleVisibility(t){t?this.classList.remove("hidden"):this.classList.add("hidden")}get altText(){return this.getAttribute("alt")||""}get legacySrc(){return this.getAttribute("src")}get themeSrc(){return this.getAttribute(`src-${this.currentThemeName}`)}get getSrc(){return this.themeSrc||this.legacySrc}updateFillColor(t){[t,...t.querySelectorAll("*[fill]")].forEach(t=>{t.setAttribute("fill",`var(${Co.cssVarList.fill}, ${t.getAttribute("fill")||"''"})`)})}renderImage(){this.toggleVisibility(this.getSrc),(async(t,e)=>{try{let i;if((t=>t.startsWith("data:image/svg+xml;base64,"))(t)){const e=atob(t.slice(26));i=To(e)}else if("svg"===(t=>{const e=t.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);return e?e[1]:null})(t)){const e=await fetch(t),o=await e.text();i=To(o)}else i=((t,e)=>{const i=document.createElement("img");return i.setAttribute("src",t),i.setAttribute("alt",e),i})(t,e);return i.style.setProperty("max-width","100%"),i.style.setProperty("max-height","100%"),i}catch{return null}})(this.getSrc,this.altText).then(t=>{this.innerHTML="",t&&(this.updateFillColor(t),this.appendChild(t))})}shouldRender(t){const e=this.getAttribute(t);return this.getSrc===e}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&this.shouldRender(t)&&this.renderImage()}}const Co=T(ut({mappings:{fill:{},height:{selector:()=>":host"},width:{selector:()=>":host"}}}),pt,ht)(vo),So=L("icon"),Lo=T(ut({mappings:{fill:[{},{property:Co.cssVarList.fill}],height:{selector:()=>":host"},width:{selector:()=>":host"}}}),pt,ht)(St({slots:[],wrappedEleName:"descope-image",style:()=>"\n :host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n max-height: 100%;\n }\n ",excludeAttrsSync:["tabindex","class","style","st-height","st-width"],componentName:So})),Ao=L("button"),{host:wo,label:fo,slottedIcon:Eo}={host:{selector:()=>":host"},label:{selector:"::part(label)"},slottedIcon:{selector:()=>"::slotted(descope-icon)"}};let ko;const Oo=T(Yt({triggers:[{attr:"full-width",value:"true"}]}),ut({mappings:{hostWidth:{property:"width"},hostMaxWidth:{...wo,property:"max-width"},hostHeight:{property:"height"},hostDirection:{...wo,property:"direction"},fontSize:{},fontFamily:{},fontWeight:{},cursor:{},backgroundColor:{},outlineOffset:{},outlineColor:{},outlineStyle:{},outlineWidth:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-right",fallback:"0.875em"},{property:"padding-left",fallback:"0.875em"}],labelTextColor:{property:"color"},iconColor:{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill},labelTextDecoration:{...fo,property:"text-decoration"},labelSpacing:{...fo,property:"gap"},textAlign:{...fo,property:"justify-content",fallback:"center"},iconSize:[{...Eo,property:"width"},{...Eo,property:"height"}]}}),t=>class extends t{get isLoading(){return"true"===this.getAttribute("loading")}click(){this.isLoading||super.click()}},pt,ht)(St({slots:["","prefix","label","suffix"],wrappedEleName:"vaadin-button",style:()=>`\n\t\t\t\n\t:host {\n\t\tdisplay: inline-block;\n\t\tbox-sizing: border-box;\n\t}\n\tvaadin-button::before,\n\tvaadin-button::after {\n\t\topacity: 0;\n\t}\n\tvaadin-button {\n\t\tmargin: 0;\n\t\tmin-width: 0;\n\t\twidth: 100%;\n\t\theight: auto;\n\t\tbox-shadow: none;\n\t}\n\tvaadin-button::part(label) {\n\t\tpadding: 0;\n width: 100%;\n\t}\n\tvaadin-button::part(prefix) {\n\t\tmargin-left: 0;\n\t\tmargin-right: 0;\n\t}\n\n\t\t\t\n\tvaadin-button::part(prefix),\n\tvaadin-button::part(label) {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t\t\t${ko}\n\t\t\tvaadin-button::part(label) { pointer-events: none; }\n\t\t\t:host {\n\t\t\t\tpadding: calc(var(${Oo.cssVarList.outlineWidth}) + var(${Oo.cssVarList.outlineOffset}));\n\t\t\t}\n :host([full-width="true"]) {\n width: var(${Oo.cssVarList.hostWidth});\n }\n\t\t\tvaadin-button {\n\t\t\t\theight: calc(var(${Oo.cssVarList.hostHeight}) - var(${Oo.cssVarList.outlineWidth}) - var(${Oo.cssVarList.outlineOffset}));\n\t\t\t}\n\t\t\t[square="true"]:not([full-width="true"]) {\n\t\t\t\twidth: calc(var(${Oo.cssVarList.hostWidth}) - var(${Oo.cssVarList.outlineWidth}) - var(${Oo.cssVarList.outlineOffset}));\n padding: 0;\n\t\t\t}\n\t\t`,excludeAttrsSync:["tabindex","class","style"],componentName:Ao})),{color:Vo,fontSize:Uo}=Oo.cssVarList;ko=`\n\t@keyframes spin {\n\t\t0% { -webkit-transform: rotate(0deg); }\n\t\t100% { -webkit-transform: rotate(360deg); }\n\t}\n\t:host([loading="true"]) ::before {\n\t\tanimation: spin 2s linear infinite;\n\t\tposition: absolute;\n\t\tcontent: '';\n\t\tz-index: 1;\n\t\tbox-sizing: border-box;\n\t\tborder-radius: 50%;\n\t\tborder-bottom-color: transparent;\n\t\tborder-left-color: transparent;\n\t\tborder-style: solid;\n\t\tcolor: var(${Vo});\n\t\ttop: calc(50% - (var(${Uo}) / 2));\n\t\tleft: calc(50% - (var(${Uo}) / 2));\n\t\tborder-width: calc(var(${Uo}) / 10);\n\t\twidth: var(${Uo});\n\t\theight: var(${Uo});\n\t}\n\t:host([disabled="true"]),\n\t:host([loading="true"]) {\n\t\tpointer-events: none;\n\t}\n\t:host([loading="true"]) ::part(prefix),\n\t:host([loading="true"]) ::part(label) {\n\t\tvisibility: hidden;\n\t}\n`,customElements.define(Ao,Oo);const Yo=["MM/DD/YYYY","DD/MM/YYYY","YYYY/MM/DD"],Wo=Yo[0],Ro="YYYY-MM-DD",Qo="/",Po=["January","February","March","April","May","June","July","August","September","October","November","December"],Bo=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Zo={id:"month",min:1,max:12,placeholder:"MM"},Fo={id:"day",min:1,max:31,placeholder:"DD"},Go={id:"year",min:0,max:9999,placeholder:"YYYY"},Ho=1900,Jo=2099,$o=(t,e)=>{if("number"==typeof t)return new Date(t);if("string"==typeof t){const e=new Date(t.replace(/-/g,"/"));return new Date(e)}return new Date},_o={MM:"(0?[1-9]|1[0-2])",DD:"(0?[1-9]|[12][0-9]|3[01])",YYYY:"([0-9]{4})"},qo=t=>{const e=(t=>`^${t.split(Qo).map(t=>_o[t]).join("\\D")}$`)(t),i=(t=>{const e=t.split(Qo);return t=>{const i={};return e.forEach((e,o)=>{i[e]=t[o+1]}),[i.YYYY,i.MM,i.DD]}})(t),o=new RegExp(e);return{pattern:e,validate:t=>o.test(t),getDate:t=>((t,e,i)=>{const o=e.exec(t);if(!o)return null;const[n,r,s]=i(o);return $o([n,r,s].join(Qo))})(t,o,i)}},Xo=Object.fromEntries(Yo.map(t=>[t,qo(t)])),Ko=t=>!Number.isNaN(Number(t)),tn=t=>{const e=$o(t);return[e.getFullYear(),e.getMonth()+1,e.getDate()]},en=(t,e)=>{const[i,o,n]=tn(t),r={DD:String(n).padStart(2,"0"),MM:String(o).padStart(2,"0"),YYYY:String(i)};return e.replace(/DD|MM|YYYY/g,t=>r[t])},on=()=>$o().getTime(),nn=t=>$o(t).getFullYear().toString(),rn=t=>($o(t).getMonth()+1).toString(),sn=(t,e)=>"number"==typeof t?t:e?Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()):t.getTime(),an=(t,e)=>Array.isArray(t)&&t.length===e&&t.filter(Boolean).length===e,ln=({label:t,dataId:e,dataName:i})=>`\n\t<div class="combo-box-item"\n\t\tdata-id="${e}"\n\t\tdata-name="${i}"\n\t>\n\t\t\t${t}\n\t</div>\n`,dn=(t=Po)=>t.map((t,e)=>ln({label:t,dataId:e+1,dataName:t})).join(""),cn=(t,e)=>{const[i,o]=tn(e),[n,r]=tn(t);return n===i&&r===o},un=(t,e,i)=>(t.addEventListener("input",e),t.addEventListener("focusout",i),t),pn=Kt("calendar"),hn=["initial-value","initial-year","initial-month","years-range","calendar-months","calendar-weekdays","calendar-label-today","st-host-direction","disabled","full-width"],gn=["calendar-label-submit","calendar-label-cancel"],Mn=ui({componentName:pn,baseSelector:"div"}),{calendar:mn,day:yn,dayEntry:bn,currentDay:Nn,selectedDay:In,disabledDay:xn,weekday:jn,topNav:Tn,topNavSelectors:Dn,bottomNav:zn,navPrev:vn,navNext:Cn,navPrevRTL:Sn,navNextRTL:Ln,yearInput:An,monthInput:wn}={calendar:{selector:()=>".calendar"},topNav:{selector:()=>".nav.top-nav"},topNavSelectors:{selector:()=>".nav.top-nav .selectors > span"},bottomNav:{selector:()=>".nav.bottom-nav"},day:{selector:()=>".day"},dayEntry:{selector:()=>".day-entry"},currentDay:{selector:()=>".day-entry[data-current-day] .day"},selectedDay:{selector:()=>".day-entry[data-selected] .day"},disabledDay:{selector:()=>'.day-entry[data-disabled="true"] .day'},weekday:{selector:()=>".weekday"},navPrev:{selector:()=>".nav-prev"},navNext:{selector:()=>".nav-next"},navPrevRTL:{selector:()=>':host([st-host-direction="rtl"]) .nav-prev'},navNextRTL:{selector:()=>':host([st-host-direction="rtl"]) .nav-next'},yearInput:{selector:()=>".year-input"},monthInput:{selector:()=>".month-input"}},fn=Ft(Be({componentNameOverride:Kt("input-wrapper")}),Be({mappings:{fontSize:{},fontFamily:{},hostWidth:[{selector:()=>":host",property:"width"},{selector:"table",property:"width"}],hostDirection:{property:"direction"},topNavVerticalPadding:[{...Tn,property:"padding-top"},{...Tn,property:"padding-bottom"}],topNavHorizointalPadding:[{...Tn,property:"padding-right"},{...Tn,property:"padding-left"}],topNavAlignment:{...Tn,property:"justify-content"},topNavGap:{...Tn,property:"gap"},topNavSelectorsGap:{...Dn,property:"gap"},bottomNavVerticalPadding:[{...zn,property:"padding-top"},{...zn,property:"padding-bottom"}],bottomNavHorizontalPadding:[{...zn,property:"padding-right"},{...zn,property:"padding-left"}],bottomNavAlignment:{...zn,property:"justify-content"},bottomNavGap:{...zn,property:"gap"},navMarginBottom:{...Tn,property:"margin-bottom"},calendarPadding:[{...mn,property:"padding-bottom"},{...mn,property:"padding-right"},{...mn,property:"padding-left"}],navBorderBottomWidth:{...Tn,property:"border-bottom-width"},navBorderBottomColor:{...Tn,property:"border-bottom-color"},navBorderBottomStyle:{...Tn,property:"border-bottom-style"},weekdayFontSize:{...jn,property:"font-size"},weekdayFontWeight:{...jn,property:"font-weight"},currentDayBorderColor:{...Nn,property:"border-color"},currentDayBorderWidth:{...Nn,property:"border-width"},currentDayBorderStyle:{...Nn,property:"border-style"},dayHeight:{...bn,property:"height"},daySize:[{...yn,property:"height"},{...yn,property:"width"}],dayPadding:{...yn,property:"padding"},dayRadius:{...yn,property:"border-radius"},dayTextAlign:{...yn,property:"text-align"},dayBlockAlign:{...yn,property:"margin"},dayTextColor:{...yn,property:"color"},dayFontWeight:{...yn,property:"font-weight"},dayBackgroundColor:{...yn,property:"background-color"},dayCursor:{...yn,property:"cursor"},dayFontSize:{...yn,property:"font-size"},dayBackgroundColorHover:{selector:()=>".day:hover",property:"background-color"},daySelectedTextdColor:{...In,property:"color"},daySelectedBackgroundColor:{...In,property:"background-color"},dayDisabledTextdColor:{...xn,property:"color"},yearInputWidth:{...An,property:"width"},monthInputWidth:{...wn,property:"width"},navButtonSize:[{...vn,property:"width"},{...vn,property:"height"},{...Cn,property:"width"},{...Cn,property:"height"}],navButtonCursor:[{...vn,property:"cursor"},{...Cn,property:"cursor"}],navButtonRotation:[{...Sn,property:"transform"},{...Ln,property:"transform"}],navButtonOpacity:[{...vn,property:"opacity"},{...Cn,property:"opacity"}]}}),Ze,Fe)(class extends Mn{static get observedAttributes(){return[].concat(Mn.observedAttributes||[],hn,gn)}preview;epoch;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <nav class="nav top-nav">\n <div class="nav-prev">\n </div>\n <div class="selectors"></div>\n <div class="nav-next">\n </div>\n </nav>\n <div class="calendar"></div>\n <nav class="nav bottom-nav">\n <descope-button class="cancel-button" variant="link" mode="primary">Cancel</descope-button>\n <descope-button class="submit-button" variant="link" mode="primary" disabled="true">Done</descope-button>\n </nav>\n </div>\n ',f(`\n :host {\n display: inline-block;\n box-sizing: border-box;\n max-width: 100%;\n user-select: none;\n -webkit-user-select: none;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n [data-toggle-calendar] {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n }\n\n [data-disabled="true"] {\n pointer-events: none;\n }\n\n .calendar .day {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .nav {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n }\n\n .selectors,\n .selectors span {\n display: flex;\n justify-content: center;\n }\n\n descope-button {\n padding: 0;\n ${Oo.cssVarList.horizontalPadding}: 0;\n ${Oo.cssVarList.verticalPadding}: 0;\n ${Oo.cssVarList.outlineWidth}: 0;\n }\n\n .combo-box-item {\n display:flex;\n flex-direction: column;\n }\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n `,this)}set value(t){if(!t)return;const e=$o(t).getTime();Ko(e)&&e!==this.epoch&&(this.epoch=e,this.renderCalendar())}get value(){return this.epoch?en(this.epoch,Ro):""}get isSelectedView(){return cn(this.preview,this.epoch)}get isTodayView(){return cn(on(),this.preview)}get monthNames(){return(t=>{const e=t?.split(",");return an(e,12)?e:Po})(this.getAttribute("calendar-months"))}get weekdayNames(){return(t=>{const e=t?.split?.(",");return an(e,7)?e:Bo})(this.getAttribute("calendar-weekdays"))}get hasYearValue(){return!!this.yearInput.value}get hasMonthValue(){return!!this.monthInput.value}get yearsRange(){const t=this.getAttribute("years-range")?.split("-");if(2===t?.length){const[e,i]=t.map(Number);if(e<=i)return[e,i]}const e=$o().getFullYear();return[e,e+100]}init(){super.init?.(),this.initCalendar(),this.renderCalendar()}initCalendar(){this.calendar=this.shadowRoot.querySelector(".calendar"),this.navPrevEle=this.shadowRoot.querySelector(".nav-prev"),this.navNextEle=this.shadowRoot.querySelector(".nav-next"),this.submitButton=this.shadowRoot.querySelector(".submit-button"),this.cancelButton=this.shadowRoot.querySelector(".cancel-button"),this.initInputs(),this.initNav(),this.addEventListener("day-changed",()=>this.submitButton.removeAttribute("disabled")),this.submitButton.shadowRoot.querySelector("vaadin-button").setAttribute("disabled","true")}initInputs(){const t=(()=>{const t=document.createElement("span");return t.innerHTML=`\n <descope-combo-box\n label-type="static"\n bordered="true"\n item-label-path="data-name"\n item-value-path="data-id"\n class="month-input"\n >\n ${dn()}\n </descope-combo-box>\n <descope-combo-box\n allow-custom-value="true"\n label-type="static"\n bordered="true"\n item-label-path="data-name"\n item-value-path="data-id"\n class="year-input"\n no-empty-value="true"\n >\n </descope-combo-box>\n `,t})(this.monthNames,this.yearsRange);this.shadowRoot.querySelector(".selectors").appendChild(t),this.monthInput=un(this.shadowRoot.querySelector(".month-input"),this.onMonthChange.bind(this),this.onMonthInputBlur.bind(this)),this.yearInput=un(this.shadowRoot.querySelector(".year-input"),this.onYearChange.bind(this),this.onYearInputBlur.bind(this)),[this.monthInput,this.yearInput].forEach(t=>ee(this,t,{includeAttrs:["disabled","size","st-host-direction"]}))}initNav(){this.navPrevEle.addEventListener("click",this.navPrevMonth.bind(this)),this.navNextEle.addEventListener("click",this.navNextMonth.bind(this)),this.cancelButton.addEventListener("click",this.onCancel.bind(this)),this.submitButton.addEventListener("click",this.onSubmit.bind(this)),[this.navPrevEle,this.navNextEle].forEach(t=>ee(this,t,{includeAttrs:["size"]})),this.shadowRoot.querySelector(".nav-next").innerHTML='\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.27283 6.78069C8.87912 6.34164 8.91587 5.66655 9.35492 5.27283C9.79397 4.87912 10.4691 4.91587 10.8628 5.35492C10.8628 5.35492 16.0022 10.9543 16.366 11.36C16.7298 11.7657 16.7298 12.2392 16.366 12.6448L10.8628 18.6451C10.4691 19.0841 9.79397 19.1209 9.35492 18.7272C8.91587 18.3334 8.87912 17.6584 9.27283 17.2193L14.1368 12L9.27283 6.78069Z" fill="#808080"/>\n</svg>',this.shadowRoot.querySelector(".nav-prev").innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.7272 17.2193C15.1209 17.6584 15.0841 18.3334 14.6451 18.7272C14.206 19.1209 13.5309 19.0841 13.1372 18.6451C13.1372 18.6451 7.99776 13.0457 7.63399 12.64C7.27023 12.2343 7.27023 11.7608 7.63399 11.3552L13.1372 5.35492C13.5309 4.91587 14.206 4.87912 14.6451 5.27283C15.0841 5.66655 15.1209 6.34164 14.7272 6.78069L9.86322 12L14.7272 17.2193Z" fill="#808080"/>\n</svg>'}onSubmit(){this.isDisabled||this.value&&this.dispatchEvent(new CustomEvent("date-submit",{detail:$o(this.preview)}))}onCancel(){this.isDisabled||(this.dispatchEvent(new CustomEvent("cancel")),this.dispatchEvent(new CustomEvent("date-cancel")),this.clearSelectedDay())}clearSelectedDay(){this.getSelectedDayEle()?.removeAttribute("data-selected"),this.submitButton.setAttribute("disabled","true"),this.epoch=""}updateInputs(){if(this.yearInput&&this.monthInput){const t=this.preview||on(),e=nn(t),i=rn(t);this.monthInput.value=i,setTimeout(()=>{this.yearInput.baseElement.value=e})}}renderCalendar(){const t=$o(this.preview||on()).getTime(),[e,i]=tn(t);this.calendar&&(this.calendar.innerHTML=((t,e,i)=>{const o=((t,e)=>new Date(t,e,0).getDate())(t,e),n=new Date(t,e-1,1).getDay();let r="<table>";r+=`<thead><tr>${i.reduce((t,e)=>`${t}<th><span class="weekday">${e}</span></th>`,"")}</tr></thead>`,r+="<tbody>",r+="<tr>";for(let t=0;t<n;t++)r+="<td></td>";let s=n;for(let t=1;t<=o;t++)7===s&&(s=0,r+="</tr><tr>"),r+=`\n <td\n data-date-day="${t}"\n class="day-entry">\n <span class="day" data-date-day=${t}>\n ${t}\n </span>\n </td>\n `,s++;for(;s<7;)r+="<td></td>",s++;return r+="</tr></tbody></table>",r})(e,i,this.weekdayNames.map(t=>t.substring(0,3)))),Array.from(this.calendar?.querySelectorAll(".day-entry .day")||[]).forEach(t=>t.addEventListener("click",this.onDayChange.bind(this))),this.updateInputs(),this.setSelectedDay(),this.setCurrentDay()}onDayChange(t){if(this.isDisabled)return;const e=$o(this.preview);e.setDate(Number(t.target.getAttribute("data-date-day"))),this.value=en(e.getTime(),Ro),this.dispatchEvent(new CustomEvent("day-changed",{detail:e}))}onYearChange(t){if(!t.target.value)return;const e=$o(this.preview);e.setFullYear(Number(t.target.value.trim())),this.preview=e.getTime(),this.renderCalendar(),this.dispatchEvent(new CustomEvent("year-changed",{detail:e}))}onMonthChange(t){if(!t.target.value)return;const e=$o(this.preview);e.setMonth(Number(t.target.value)-1),this.preview=e.getTime(),this.renderCalendar(),this.dispatchEvent(new CustomEvent("month-changed",{detail:e}))}onYearInputBlur(t){this.yearInput.baseElement.value=t.target.value||nn(this.preview)}onMonthInputBlur(t){this.monthInput.baseElement.value=t.target.value||rn(this.preview)}getSelectedDayEle(){const t=$o(this.epoch).getDate();return this.calendar?.querySelector(`[data-date-day="${t}"]`)}getCurrentDayEle(){return this.calendar?.querySelector(`[data-date-day="${$o().getDate()}"]`)}clearSelectedDays(){const t=this.calendar?.querySelectorAll("[data-selected]");t&&t.forEach(t=>t.removeAttribute("data-selected"))}setSelectedDay(){this.clearSelectedDays(),this.value&&this.isSelectedView&&this.getSelectedDayEle().setAttribute("data-selected","true")}setCurrentDay(){if(this.isTodayView){const t=this.getCurrentDayEle(),e=this.getAttribute("calendar-label-today")||"Today";t?.setAttribute("data-current-day","true"),t?.setAttribute("title",e)}}navPrevMonth(){if(this.isDisabled)return;const t=(t=>{const e=$o(t),i=e.getMonth();if(0===i){const t=e.getFullYear();e.setFullYear(t-1),e.setMonth(11)}else e.setMonth(i-1);return e})(this.preview);this.preview=t.getTime(),this.renderCalendar()}navNextMonth(){if(this.isDisabled)return;const t=(t=>{const e=$o(t),i=e.getMonth();if(11===i){const t=e.getFullYear();e.setFullYear(t+1),e.setMonth(0)}else e.setMonth(i+1);return e})(this.preview);this.preview=t.getTime(),this.renderCalendar()}clearValue(){this.epoch="",this.value="",this.removeAttribute("preview"),this.submitButton.setAttribute("disabled","true")}onInitialValueChange(t){if(this.value)return;const e=$o(t).getTime();Ko(e)?(this.epoch=e,this.preview=e):this.clearValue()}onYearsRangeChange(){setTimeout(()=>{this.yearInput&&(this.yearInput.innerHTML=(t=>{const[e,i]=t,o=[];for(let t=e;t<=i;t++)o.push(t);return o})(this.yearsRange).map(t=>ln({label:t,dataId:t,dataName:t})).join(""))})}onMonthNamesChange(){setTimeout(()=>{this.monthInput&&(this.monthInput.innerHTML=dn(this.monthNames))})}onSubmitLabelChange(t){this.submitButton&&(this.submitButton.textContent=t||"Done")}onCancelLabelChange(t){this.cancelButton&&(this.cancelButton.textContent=t||"Cancel")}onInitialMonthChange(t){const e=nn(this.preview);this.preview=$o(`${e}/${t}/1`).getTime()}onInitialYearChange(t){const e=rn(this.preview);this.preview=$o(`${t}/${e}/1`).getTime()}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),e!==i&&(gn.includes(t)?("calendar-label-submit"===t&&this.onSubmitLabelChange(i),"calendar-label-cancel"===t&&this.onCancelLabelChange(i)):(i&&"initial-value"===t&&this.onInitialValueChange(i),i&&"initial-month"===t&&this.onInitialMonthChange(i),i&&"initial-year"===t&&this.onInitialYearChange(i),"years-range"===t&&this.onYearsRangeChange(Number(i)),"calendar-months"===t&&this.onMonthNamesChange(),"calendar-label-today"===t&&this.setCurrentDay(i),"disabled"===t&&setTimeout(()=>{this.cancelButton?.setAttribute("disabled","true"===i)}),this.renderCalendar()))}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}});customElements.define(pn,fn);const{host:En,label:kn,placeholder:On,requiredIndicator:Vn,inputField:Un,input:Yn,inputMask:Wn,helperText:Rn,errorMessage:Qn,disabledPlaceholder:Pn,inputDisabled:Bn,inputIcon:Zn,externalInput:Fn,externalInputDisabled:Gn,externalPlaceholder:Hn,externalDisabledPlaceholder:Jn}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},placeholder:[{selector:"> input:placeholder-shown"},{selector:()=>":host::slotted(input:placeholder-shown)"}],disabledPlaceholder:{selector:"> input:disabled::placeholder"},inputField:{selector:"::part(input-field)"},input:{selector:"input"},inputMask:{selector:"::part(input-field)::before"},inputDisabled:{selector:"input:disabled"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},inputIcon:{selector:"vaadin-icon"},externalInput:{selector:()=>"::slotted(input)"},externalInputDisabled:{selector:()=>"::slotted(input:disabled)"},externalPlaceholder:{selector:()=>"::slotted(input:placeholder-shown)"},externalDisabledPlaceholder:{selector:()=>"::slotted(input:disabled::placeholder)"}};var $n={fontSize:[{},En],fontFamily:[kn,Un,Rn,Qn],labelFontSize:{...kn,property:"font-size"},labelFontWeight:{...kn,property:"font-weight"},inputValueFontWeight:[{...Yn,property:"font-weight"},{...Fn,property:"font-weight"}],inputPlaceholderFontWeight:[{selector:()=>":host input:placeholder-shown",property:"font-weight"},{...Hn,property:"font-weight"}],helperTextFontWeight:{...Rn,property:"font-weight"},errorMessageFontWeight:{...Qn,property:"font-weight"},labelTextColor:[{...kn,property:"color"},{...Vn,property:"color"},{...kn,property:"-webkit-text-fill-color"},{...Vn,property:"-webkit-text-fill-color"}],hostWidth:{...En,property:"width"},hostMinWidth:{...En,property:"min-width"},hostDirection:{...En,property:"direction"},inputDirection:{...Yn,property:"direction"},inputBackgroundColor:[{...Un,property:"background-color"},{...Wn,property:"background-color"}],errorMessageTextColor:{...Qn,property:"color"},errorMessageIcon:{...Qn,property:"background-image"},errorMessageIconSize:{...Qn,property:"background-size"},errorMessageIconPadding:{...Qn,property:"padding-inline-start"},errorMessageIconRepeat:{...Qn,property:"background-repeat"},errorMessageIconPosition:{...Qn,property:"background-position"},errorMessageFontSize:{...Qn,property:"font-size"},helperTextColor:{...Rn,property:"-webkit-text-fill-color"},inputValueTextColor:[{...Un,property:"color"},{...Bn,property:"-webkit-text-fill-color"},{...Gn,property:"-webkit-text-fill-color"}],inputCaretTextColor:[{...Yn,property:"caret-color"},{...Fn,property:"caret-color"}],labelRequiredIndicator:{...Vn,property:"content"},inputBorderColor:{...Un,property:"border-color"},inputBorderWidth:{...Un,property:"border-width"},inputBorderStyle:{...Un,property:"border-style"},inputBorderRadius:{...Un,property:"border-radius"},inputHeight:{...Un,property:"height"},inputHorizontalPadding:[{...Yn,property:"padding-left"},{...Yn,property:"padding-right"},{...Fn,property:"padding-left"},{...Fn,property:"padding-right"}],inputOutlineColor:{...Un,property:"outline-color"},inputOutlineStyle:{...Un,property:"outline-style"},inputOutlineWidth:{...Un,property:"outline-width"},inputOutlineOffset:{...Un,property:"outline-offset"},textAlign:{},inputTextAlign:[{...Yn,property:"text-align"},{...Fn,property:"text-align"}],inputPlaceholderColor:[{selector:()=>":host input:placeholder-shown",property:"color"},{...Hn,property:"color"},{...On,property:"color"},{...Pn,property:"-webkit-text-fill-color"},{...Jn,property:"-webkit-text-fill-color"}],labelPosition:{...kn,property:"position"},labelTopPosition:{...kn,property:"top"},labelHorizontalPosition:[{...kn,property:"left"},{...kn,property:"right"}],inputTransformY:{...kn,property:"transform"},inputTransition:{...kn,property:"transition"},marginInlineStart:{...kn,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...Hn,property:"opacity"}],inputVerticalAlignment:[{...Un,property:"align-items"},{...Fn,property:"align-items"}],valueInputHeight:[{...Yn,property:"height"},{...Fn,property:"height"}],valueInputMarginBottom:[{...Yn,property:"margin-bottom"},{...Fn,property:"margin-bottom"}],inputIconOffset:[{...Zn,property:"margin-right"},{...Zn,property:"margin-left"}],inputIconSize:{...Zn,property:"font-size"},inputIconColor:{...Zn,property:"color"},inputTextSecurity:[{...Yn,property:"-webkit-text-security"},{...Yn,property:"text-security"},{...Fn,property:"-webkit-text-security"},{...Fn,property:"text-security"}]};const _n=L("text-field"),qn=["type","label-type","copy-to-clipboard"],Xn=T(ut({mappings:$n}),pt,ft({proxyProps:["value","selectionStart","selectionEnd"],useProxyTargets:!0}),ht,t=>class extends t{static get observedAttributes(){return qn.concat(t.observedAttributes||[])}icon;init(){super.init?.()}renderCopyToClipboard(t){if(!t)return void this.icon?.remove();const e={icon:"vaadin:copy-o",title:"Copy",style:"cursor: pointer"},i={icon:"vaadin:check-circle-o",title:"Copied",style:"cursor: initial"};this.icon=Object.assign(document.createElement("vaadin-icon"),{slot:"suffix",...e}),this.baseElement.appendChild(this.icon),this.icon.addEventListener("click",()=>{navigator.clipboard.writeText(this.value),Object.assign(this.icon,i),setTimeout(()=>{Object.assign(this.icon,e)},5e3)})}onLabelClick(){this.focus()}attributeChangedCallback(t,e,i){super.attributeChangeCallback?.(t,e,i),"type"===t&&this.baseElement._setType(i),e!==i&&("label-type"===t?"floating"===i?this.addEventListener("click",this.onLabelClick):this.removeEventListener("click",this.onLabelClick):"copy-to-clipboard"===t&&this.renderCopyToClipboard("true"===i))}})(St({slots:["prefix","suffix"],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${Xn.cssVarList.inputOutlineWidth}) + var(${Xn.cssVarList.inputOutlineOffset}));\n box-sizing: border-box;\n\t\t\t}\n :host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) {\n opacity: 1;\n }\n\n vaadin-text-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-text-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n ${X("vaadin-text-field")}\n\t\t\t${J(Xn.cssVarList)}\n\t\t\t${((t,e)=>`\n ${(t=>`\n ${t} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`)(t)}\n ${$(t)}\n ${_(t)}\n ${(t=>`\n ${t}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`)(t)}\n ${((t,e)=>`\n ${t} input:-webkit-autofill,\n ${t} input:-webkit-autofill::first-line,\n ${t} input:-webkit-autofill:hover,\n ${t} input:-webkit-autofill:active,\n ${t} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${e.inputValueTextColor});\n box-shadow: 0 0 0 var(${e.inputHeight}) var(${e.inputBackgroundColor}) inset;\n }\n`)(t,e)}\n ${(t=>`\n ${t}::part(input-field)::after {\n background: none;\n }\n`)(t)}\n ${(t=>`\n ${t}::before {\n\t\theight: unset;\n\t}\n`)(t)}\n ${(t=>`\n ${t} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`)(t)}\n ${(t=>`\n ${t}::part(input-field)::after {\n border: none;\n }\n`)(t)}\n`)("vaadin-text-field",Xn.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-text-field vaadin-icon {\n align-self: center;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:_n}));customElements.define(_n,Xn);class Kn{#U=Object.freeze([]);constructor({id:t,min:e,max:i,placeholder:o},n){this.id=t,this.min=e,this.max=i,this.placeholder=o,this.onChange=n}get data(){return this.#U}set data(t){this.#U=Object.freeze(t),this.onChange?.()}get#at(){return this.data.length?this.numberValue:0}get numberValue(){return Number(this.stringValue)}get stringValue(){return(this.data.join("")||this.placeholder).padStart(this.length,"0")}get isFull(){return 10*this.numberValue>this.max||this.data.length===this.length}get isEmpty(){return this.stringValue===this.placeholder}get length(){return this.max.toString().length}set(t){this.data=t.toString().split("")}add(t){let{data:e}=this;return e=[...e,t],Number(e.join(""))>this.max?e=[t]:this.length<e.length&&(e=e.slice(1,e.length)),this.data=e,t}del(){this.data.filter(t=>"0"!==t).filter(Boolean).length?this.data=this.data.slice(0,this.data.length-1):this.data=[]}clear(){this.data=[]}inc(t){this.replaceValue(this.#at<this.max?Math.max(this.#at+(t||1),this.min):this.min)}dec(t){this.replaceValue(this.#at>this.min?Math.min(this.#at-(t||1),this.max):this.max)}isInRange(t){return t>=this.min&&t<=this.max}replaceValue(t){this.isInRange(t)&&(this.data=t.toString().padStart(this.length,0).split(""))}setMin(t){this.min=Number(t)}setMax(t){this.max=Number(t)}}const tr=Kt("date-field"),er=ui({componentName:tr,baseSelector:"vaadin-popover"}),ir=["format","opened","initial-value","readonly","disable-calendar","utc-time"],or=["years-range","calendar-months","calendar-weekdays"],nr=[...ir,...or],rr=Xn.cssVarList,{host:sr,input:ar,inputEleRTL:lr,toggleButton:dr,overlay:cr,backdrop:ur}={host:{selector:()=>":host"},input:{selector:()=>"descope-text-field"},inputEleRTL:{selector:()=>':host([st-host-direction="rtl"]) descope-text-field'},toggleButton:{selector:()=>".toggle-calendar"},overlay:{selector:"vaadin-popover-overlay::part(overlay)"},backdrop:{selector:"vaadin-popover-overlay::part(backdrop)"}},pr=Ft(Be({componentNameOverride:Kt("input-wrapper")}),Be({mappings:{iconMargin:{...dr,property:"margin-inline-end"},hostWidth:{...sr,property:"width"},hostDirection:{...sr,property:"direction"},textAlign:{...ar,property:"text-align"},rtlInputDirection:{...lr,property:rr.inputDirection},rtlInputAlignment:{...lr,property:rr.inputTextAlign},overlayGap:{property:()=>pr.cssVarList.overlayGap},overlayBackgroundColor:{property:()=>pr.cssVarList.overlayBackgroundColor},overlayPadding:{property:()=>pr.cssVarList.overlayPadding},overlayBoxShadow:{property:()=>pr.overlayBoxShadow},overlayOutlineWidth:{property:()=>pr.cssVarList.overlayOutlineWidth},overlayOutlineColor:{property:()=>pr.cssVarList.overlayOutlineColor},overlayOutlineStyle:{property:()=>pr.cssVarList.overlayOutlineStyle},errorMessageIcon:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIconSize},errorMessageIconPadding:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIconPadding},errorMessageIconRepeat:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIconRepeat},errorMessageIconPosition:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIconPosition},errorMessageFontSize:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageFontSize},labelFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.labelFontWeight},inputValueFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.helperTextFontWeight},errorMessageFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageFontWeight}}}),si({name:"overlay",selector:"",mappings:{marginTop:{...cr,property:"margin-top"},backgroundColor:{...cr},backdropBackgroundColor:{...ur,property:"background-color"},backdropPointerEvents:{...ur,property:"pointer-events"},padding:{...cr},boxShadow:{...cr},outlineWidth:{...cr},outlineColor:{...cr},outlineStyle:{...cr}}}),Ze,Fe)(class extends er{epoch="";format=Wo;selectedCounterIdx=0;updateCountersDisplay(){this.inputElement.value=this.countersValue}updateValue(){if(this.isCountersOutOfRange)this.resetEpoch();else{const t=Xo[this.format].getDate(this.inputElement.value);this.updateEpoch(sn(t,this.isUtcTime))}}onDateCounterChange=()=>{this.updateCountersDisplay(),this.updateValue(),this.#lt()};updateEpoch(t){this.epoch=sn(t,this.isUtcTime)}dateCounters=[new Kn(Zo,this.onDateCounterChange.bind(this)),new Kn(Fo,this.onDateCounterChange.bind(this)),new Kn(Go,this.onDateCounterChange.bind(this))];static get observedAttributes(){return[].concat(er.observedAttributes||[],nr)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <descope-text-field inputmode="numeric">\n <span slot="suffix" class="toggle-calendar">\n \n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M9 5H15V4.50468C15 4.21404 15.226 4 15.5047 4H16.4953C16.786 4 17 4.22595 17 4.50468V5H18.7568C19.3028 5 19.75 5.44725 19.75 5.99896V7.00104C19.75 7.55734 19.3053 8 18.7568 8H5.24317C4.69717 8 4.25 7.55275 4.25 7.00104V5.99896C4.25 5.44266 4.69466 5 5.24317 5H7V4.50468C7 4.21404 7.22596 4 7.50468 4H8.49532C8.78596 4 9 4.22595 9 4.50468V5ZM5.50468 9H6.49532C6.78596 9 7 9.22596 7 9.50468V10.4953C7 10.786 6.77404 11 6.49532 11H5.50468C5.21404 11 5 10.774 5 10.4953V9.50468C5 9.21404 5.22595 9 5.50468 9ZM8.50468 9H9.49532C9.78596 9 10 9.22596 10 9.50468V10.4953C10 10.786 9.77404 11 9.49532 11H8.50468C8.21404 11 8 10.774 8 10.4953V9.50468C8 9.21404 8.22596 9 8.50468 9ZM11.5047 9H12.4953C12.786 9 13 9.22596 13 9.50468V10.4953C13 10.786 12.774 11 12.4953 11H11.5047C11.214 11 11 10.774 11 10.4953V9.50468C11 9.21404 11.226 9 11.5047 9ZM5.50468 12H6.49532C6.78596 12 7 12.226 7 12.5047V13.4953C7 13.786 6.77404 14 6.49532 14H5.50468C5.21404 14 5 13.774 5 13.4953V12.5047C5 12.214 5.22595 12 5.50468 12ZM8.50468 12H9.49532C9.78596 12 10 12.226 10 12.5047V13.4953C10 13.786 9.77404 14 9.49532 14H8.50468C8.21404 14 8 13.774 8 13.4953V12.5047C8 12.214 8.22596 12 8.50468 12ZM11.5047 12H12.4953C12.786 12 13 12.226 13 12.5047V13.4953C13 13.786 12.774 14 12.4953 14H11.5047C11.214 14 11 13.774 11 13.4953V12.5047C11 12.214 11.226 12 11.5047 12ZM5.50468 15H6.49532C6.78596 15 7 15.226 7 15.5047V16.4953C7 16.786 6.77404 17 6.49532 17H5.50468C5.21404 17 5 16.774 5 16.4953V15.5047C5 15.214 5.22595 15 5.50468 15ZM8.50468 15H9.49532C9.78596 15 10 15.226 10 15.5047V16.4953C10 16.786 9.77404 17 9.49532 17H8.50468C8.21404 17 8 16.774 8 16.4953V15.5047C8 15.214 8.22596 15 8.50468 15ZM11.5047 15H12.4953C12.786 15 13 15.226 13 15.5047V16.4953C13 16.786 12.774 17 12.4953 17H11.5047C11.214 17 11 16.774 11 16.4953V15.5047C11 15.214 11.226 15 11.5047 15ZM14.5047 9H15.4953C15.786 9 16 9.22596 16 9.50468V10.4953C16 10.786 15.774 11 15.4953 11H14.5047C14.214 11 14 10.774 14 10.4953V9.50468C14 9.21404 14.226 9 14.5047 9ZM14.5047 12H15.4953C15.786 12 16 12.226 16 12.5047V13.4953C16 13.786 15.774 14 15.4953 14H14.5047C14.214 14 14 13.774 14 13.4953V12.5047C14 12.214 14.226 12 14.5047 12ZM14.5047 15H15.4953C15.786 15 16 15.226 16 15.5047V16.4953C16 16.786 15.774 17 15.4953 17H14.5047C14.214 17 14 16.774 14 16.4953V15.5047C14 15.214 14.226 15 14.5047 15ZM17.5047 15H18.4953C18.786 15 19 15.226 19 15.5047V16.4953C19 16.786 18.774 17 18.4953 17H17.5047C17.214 17 17 16.774 17 16.4953V15.5047C17 15.214 17.226 15 17.5047 15ZM5.50468 18H6.49532C6.78596 18 7 18.226 7 18.5047V19.4953C7 19.786 6.77404 20 6.49532 20H5.50468C5.21404 20 5 19.774 5 19.4953V18.5047C5 18.214 5.22595 18 5.50468 18ZM8.50468 18H9.49532C9.78596 18 10 18.226 10 18.5047V19.4953C10 19.786 9.77404 20 9.49532 20H8.50468C8.21404 20 8 19.774 8 19.4953V18.5047C8 18.214 8.22596 18 8.50468 18ZM11.5047 18H12.4953C12.786 18 13 18.226 13 18.5047V19.4953C13 19.786 12.774 20 12.4953 20H11.5047C11.214 20 11 19.774 11 19.4953V18.5047C11 18.214 11.226 18 11.5047 18ZM14.5047 18H15.4953C15.786 18 16 18.226 16 18.5047V19.4953C16 19.786 15.774 20 15.4953 20H14.5047C14.214 20 14 19.774 14 19.4953V18.5047C14 18.214 14.226 18 14.5047 18ZM17.5047 18H18.4953C18.786 18 19 18.226 19 18.5047V19.4953C19 19.786 18.774 20 18.4953 20H17.5047C17.214 20 17 19.774 17 19.4953V18.5047C17 18.214 17.226 18 17.5047 18ZM17.5047 12H18.4953C18.786 12 19 12.226 19 12.5047V13.4953C19 13.786 18.774 14 18.4953 14H17.5047C17.214 14 17 13.774 17 13.4953V12.5047C17 12.214 17.226 12 17.5047 12ZM17.5047 9H18.4953C18.786 9 19 9.22596 19 9.50468V10.4953C19 10.786 18.774 11 18.4953 11H17.5047C17.214 11 17 10.774 17 10.4953V9.50468C17 9.21404 17.226 9 17.5047 9Z" fill="#808080"/>\n</svg>\n\n </span>\n </descope-text-field>\n <vaadin-popover></vaadin-popover>\n </div>\n ',f('\n :host {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n max-width: 100%;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n .toggle-calendar {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n height: 100%;\n align-items: center;\n }\n\n :host([readonly="true"]) .toggle-calendar {\n pointer-events: none;\n }\n\n .hidden {\n display: none;\n }\n ',this),this.inputElement=this.shadowRoot.querySelector("descope-text-field"),this.popoverToggleButton=this.inputElement.querySelector(".toggle-calendar")}get validationTarget(){return this.inputElement}get opened(){return"true"===this.getAttribute("opened")}get displayValueEpoch(){const t=Xo[this.format].getDate(this.inputElement.value);return Ko(t?.getTime())?t.getTime():null}get sortedCounters(){return this.format.split(Qo).map(t=>this.dateCounters.find(e=>e.placeholder===t))}get activeCounter(){return this.sortedCounters[this.selectedCounterIdx]}get countersValue(){return this.sortedCounters.map(t=>t.stringValue).join(Qo)}get overlay(){return this.baseElement.shadowRoot?.querySelector("vaadin-popover-overlay")}get backdrop(){return this.overlay.shadowRoot?.querySelector("#backdrop")}get calendar(){return this.overlay?.querySelector("descope-calendar")}get isRTL(){const t=getComputedStyle(this.baseElement).getPropertyValue("direction");return t?"rtl"===t:"rtl"===this.getAttribute("st-host-direction")}get value(){return this.isInvalidDate()?"":this.epoch}set value(t){const e=parseInt(t,10);Number.isNaN(e)?(this.resetEpoch(),this.resetDateCounters(),this.clearInputEle()):(this.updateEpoch(e),this.updateDateCounters(new Date(e)))}resetEpoch(){this.epoch=""}get isCountersEmpty(){return this.dateCounters.every(t=>t.isEmpty)}get isCountersOutOfRange(){return this.dateCounters.some(t=>!t.isInRange(t.numberValue))}get disableCalendar(){return"true"===this.getAttribute("disable-calendar")}get isUtcTime(){return"true"===this.getAttribute("utc-time")}get isSelectAll(){const t=this.inputElement.baseElement.inputElement;return t.value.length===t.selectionStart+t.selectionEnd}reportValidity(){this.inputElement.reportValidity()}#lt(){this.inputElement.baseElement.dispatchEvent(new Event("input",{bubbles:!0}))}updateInputDisplay(){this.inputElement.value=en($o(this.countersValue).getTime(),this.format)}init(){super.init?.(),this.updateFormatPattern(),this.initPopover(),this.onDateCounterChange(),this.initInputElement(),setTimeout(()=>{this.#it()},0)}initInputElement(){this.inputElement.getValidity=this.getValidity.bind(this),this.inputElement.baseElement.checkValidity=this.checkValidity.bind(this),this.popoverToggleButton.addEventListener("click",this.onPopoverToggle.bind(this)),this.inputElement.addEventListener("focus",this.onFocus.bind(this)),this.inputElement.addEventListener("blur",this.onBlur.bind(this)),this.inputElement.addEventListener("click",this.handleMouseCaretPositionChange.bind(this)),this.inputElement.addEventListener("keydown",this.handleKeyboard.bind(this)),this.inputElement.addEventListener("beforeinput",this.handleInput.bind(this)),this.inputElement.addEventListener("pointerdown",this.onPointerDown.bind(this)),this.inputElement.addEventListener("paste",this.onPaste.bind(this)),ee(this,this.inputElement,{includeAttrs:["label","label-type","placeholder","disabled","readonly","bordered","required","full-width","st-host-direction","pattern","bordered","data-errormessage-value-missing","data-errormessage-pattern-mismatch","data-errormessage-range-underflow","data-errormessage-range-overflow","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]})}handleInput(t){var e;t.preventDefault(),this.handleSelectAll(),t.data&&(e=t.data,String(e||"").trim()&&!Number.isNaN(Number(e)))?(this.parseDigits(t.data),this.updateCountersDisplay()):t.inputType&&this.handleNavKeys(t)}initPopover(){this.baseElement.trigger=["click"],this.baseElement.withBackdrop=!0,this.baseElement.renderer=this.#dt.bind(this),this.baseElement.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation()})}handleSelectAll(){this.isSelectAll&&this.selectFirstCounter()}#ct;#dt(t){t.firstChild||(this.overlay.positionTarget=this.shadowRoot.querySelector(".toggle-calendar"),t.appendChild(this.#ut()),(t=>{const e=new CSSStyleSheet;e.insertRule(":host{display:block!important;}"),t?.shadowRoot?.adoptedStyleSheets?.push(e)})(this.baseElement),this.backdrop.addEventListener("click",this.closePopover.bind(this))),t.style.setProperty("visibility","hidden"),setTimeout(()=>{this.#pt(t),t.style.setProperty("visibility","visible"),this.updateCalendarView(t)},100)}#pt(){const t=this.shadowRoot.querySelector("vaadin-popover").shadowRoot;this.#ct?.replaceSync("vaadin-popover-overlay::part(overlay) { transform: none; }");const e=document.body.getBoundingClientRect(),i=this.getBoundingClientRect(),o=this.calendar.getBoundingClientRect(),n=this.isRTL?"right":"left",r=i[n]-o[n],s=o.left,a=e.width-o.right;let l;l=r>0?Math.min(r,a):-1*Math.min(Math.abs(r),s);const d=`\n vaadin-popover-overlay::part(overlay) {\n transform: translateX(${l}px);\n }\n `;this.#ct?this.#ct.replaceSync(d):this.#ct=f(d,t)}#ut(){const t=document.createElement("span");t.innerHTML="<descope-calendar></descope-calendar>";const e=t.querySelector("descope-calendar");return e.addEventListener("date-submit",this.onCalendarSubmit.bind(this)),e.addEventListener("cancel",this.closePopover.bind(this)),t}#it(){this.overlay._attachOverlay=()=>this.overlay.bringToFront(),this.overlay._detachOverlay=()=>{},this.overlay._enterModalState=()=>{}}onPopoverToggle(){this.opened?this.closePopover():this.openPopover()}openPopover(){this.disableCalendar||this.setAttribute("opened","true")}closePopover(){this.removeAttribute("opened"),this.inputElement.focus()}getCounterById(t){return this.dateCounters.find(e=>e.id===t)}onCalendarSubmit(){if(!this.isReadOnly){if(!this.calendar.value)return;const t=$o(this.calendar.value);this.value=sn(t,this.isUtcTime),this.getCounterById("year").replaceValue(t.getFullYear()),this.getCounterById("month").replaceValue(t.getMonth()+1),this.getCounterById("day").replaceValue(t.getDate()),this.#lt()}this.closePopover()}updateCalendarView(){const t=Ko($o(this.inputElement.value||"").getTime())&&Xo[this.format].validate(this.inputElement.value);this.displayValueEpoch||t?this.calendar.setAttribute("initial-value",en(this.displayValueEpoch||this.epoch,Ro)):(this.calendar.clearValue(),this.calendar.setAttribute("preview",en(on(),Ro))),ee(this,this.calendar,{includeAttrs:["st-host-direction","readonly","initial-month","initial-year","years-range","calendar-label-submit","calendar-label-cancel","calendar-months","calendar-weekdays","calendar-weekdays-short"]})}onPointerDown(t){setTimeout(()=>this.handleMouseCaretPositionChange(t),150)}onFocus(){this.isReadOnly||setTimeout(()=>this.resetDisplay())}resetDisplay(){this.inputElement.value||(this.inputElement.value=this.format),this.selectFirstCounter(),this.inputElement.setSelectionRange(0,this.sortedCounters[0].length)}onBlur(){this.opened||this.inputElement.value===this.format&&this.clearInputEle()}clearInputEle(){this.inputElement.value=""}onFormatUpdate(t){Object.keys(Xo).includes(t)&&(this.format=t,this.updateFormatPattern())}updateFormatPattern(){const t=this.getAttribute("format")||this.format||Wo;this.setAttribute("type","date"),this.setAttribute("pattern",Xo[t].pattern)}parseDigits(t){this.activeCounter.add(t),this.activeCounter.isFull&&this.selectNextCounter(),this.setInputSelectionRange()}getCounterIdx(t){const[e,i]=this.sortedCounters.map(t=>t.length);return[t<=e,t>=e&&t<=e+i+1,t>=e+i+2].indexOf(!0)}setSelectedCounterByCaretPosition(t){this.selectedCounterIdx=this.getCounterIdx(t.target?.selectionStart||this.inputElement.selectionStart)}selectFirstCounter(){this.selectedCounterIdx=0}selectNextCounter(){this.selectedCounterIdx<this.dateCounters.length&&(this.selectedCounterIdx=Math.min(this.selectedCounterIdx+1,2))}selectPrevCounter(){this.selectedCounterIdx>0&&(this.selectedCounterIdx=Math.min(this.selectedCounterIdx-1,1))}setInputSelectionRange(){this.selectedCounterIdx<0||setTimeout(()=>{const t=this.sortedCounters.slice(0,this.selectedCounterIdx).reduce((t,e)=>t+e.length,this.selectedCounterIdx);this.inputElement.setSelectionRange(t,t+this.sortedCounters[this.selectedCounterIdx].length)})}resetDateCounters(){this.dateCounters.forEach(t=>t.clear())}updateDateCounters(t){this.dateCounters.forEach(e=>{switch(e.id){case Zo.id:e.set(this.isUtcTime?t.getUTCMonth()+1:t.getMonth()+1);break;case Go.id:e.set(this.isUtcTime?t.getUTCFullYear():t.getFullYear());break;case Fo.id:e.set(this.isUtcTime?t.getUTCDate():t.getDate())}})}handleKeyboard(t){t.metaKey||t.ctrlKey?"x"===t.key.toLowerCase()&&this.onCut(t):(this.handleSelectAll(),"ArrowUp"===t.key?this.activeCounter.inc():"ArrowDown"===t.key?this.activeCounter.dec():"ArrowRight"===t.key?this.selectNextCounter():"ArrowLeft"===t.key&&this.selectPrevCounter(),this.setInputSelectionRange())}handleNavKeys(t){this.isReadOnly||(this.opened&&this.closePopover(),this.activeCounter&&("deleteContentBackward"===t.inputType&&this.handleBackspace(),this.setInputSelectionRange()))}handleBackspace(){if(this.isSelectAll)return void this.resetToInitialState();const t=this.activeCounter;t.isEmpty?(this.selectPrevCounter(),this.setInputSelectionRange()):t.set(""),setTimeout(()=>{this.updateCountersDisplay(),this.setInputSelectionRange()})}handleMouseCaretPositionChange(t){this.opened||(t.preventDefault(),this.setSelectedCounterByCaretPosition(t),this.setInputSelectionRange())}onInitialValueChange(t){this.value||setTimeout(()=>{Number.isNaN(parseInt(t,10))||(this.value=Number(t))})}togglePopoverAccess(t){t?this.popoverToggleButton.classList.remove("hidden"):this.popoverToggleButton.classList.add("hidden")}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("disable-calendar"===t&&this.togglePopoverAccess("true"!==i),ir.includes(t)?(i&&"format"===t&&this.onFormatUpdate(i),"initial-value"===t&&this.onInitialValueChange(i)):or.includes(t)&&(i?this.calendar?.setAttribute(t,i):this.calendar?.removeAttribute(t)))}isInvalidDate(){const t=this.getCounterById("year"),e=t.numberValue>Jo||t.numberValue<Ho,i=Object.entries(this.getDateVals()).some(([t,e])=>{const i=this.getCounterById(t);return!e||i.numberValue!==e});return e||i}getValidity(){return this.isRequired&&this.isCountersEmpty?{valueMissing:!0}:this.isCountersOutOfRange||this.isInvalidDate()?{patternMismatch:!0}:{}}getDateVals(){const t={day:"",month:"",year:""};if(Number.isNaN(this.epoch))return t;try{const e=new Date(this.epoch);this.isUtcTime?(t.month=e.getUTCMonth()+1,t.day=e.getUTCDate(),t.year=e.getUTCFullYear()):(t.month=e.getMonth()+1,t.day=e.getDate(),t.year=e.getFullYear())}catch(t){}return t}resetToInitialState(){this.resetDateCounters(),this.selectFirstCounter(),this.resetDisplay()}onCut(t){t.preventDefault(),this.isSelectAll?(this.#ht(this.countersValue),this.resetToInitialState()):(this.#ht(this.activeCounter.stringValue),this.activeCounter.set("")),this.setInputSelectionRange()}#ht(t){try{navigator.clipboard.writeText(t)}catch(t){console.error("Failed to copy date value:",t)}}onPaste(t){t.preventDefault();const e=(t.clipboardData||window.clipboardData).getData("Text"),i=((t,e)=>{const i=t.trim?.();return i?Xo[e].getDate(i):null})(e,this.format);if(i)this.value=sn(i,this.isUtcTime),this.onDateCounterChange(),setTimeout(()=>this.inputElement.setSelectionRange(0,this.inputElement.value.length));else{const t=Number(e);t&&this.activeCounter.min<=t&&this.activeCounter.max>=t&&(this.activeCounter.set(String(t)),setTimeout(()=>this.setInputSelectionRange()))}}});customElements.define(tr,pr);const hr=Kt("divider");class gr extends(_e({componentName:hr,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t\t<div>\n\t\t\t\t<descope-text>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</descope-text>\n\t\t\t</div>\n\t\t",f("\n \t:host {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\theight: 100%;\n\t\t\t\t\twidth: 100%;\n\t\t\t\t}\n\t\t\t\t:host > div::before,\n\t\t\t\t:host > div::after {\n\t\t\t\t\tcontent: '';\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t\tdescope-text {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t\tflex-shrink: 0;\n\t\t\t\t}\n\t\t\t\t:host(:empty) descope-text {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t:host([vertical=\"true\"]) div {\n\t\t\t\t\twidth: fit-content;\n\t\t\t\t}\n ",this),this.textComponent=this.shadowRoot.querySelector("descope-text"),ee(this,this.textComponent,{includeAttrs:["mode","variant","italic"]})}}const Mr=Ai.cssVarList,{host:mr,before:yr,after:br,text:Nr}={host:{selector:()=>":host"},before:{selector:"::before"},after:{selector:"::after"},text:{selector:"descope-text"}},Ir=Ft(Be({mappings:{hostWidth:{...mr,property:"width"},hostPadding:{...mr,property:"padding"},hostDirection:{...Nr,property:"direction"},minHeight:{},alignItems:{},alignSelf:{},flexDirection:{},textAlign:{...Nr,property:Mr.textAlign},labelTextWidth:{...Nr,property:"width"},labelTextMaxWidth:{...Nr,property:"max-width"},labelTextVerticalSpacing:[{...Nr,property:"padding-top"},{...Nr,property:"padding-bottom"}],labelTextHorizontalSpacing:[{...Nr,property:"padding-right"},{...Nr,property:"padding-left"}],stripeColor:[{...yr,property:"background-color"},{...br,property:"background-color"}],stripeHorizontalThickness:[{...yr,property:"height"},{...br,property:"height"}],stripeVerticalThickness:[{...yr,property:"width"},{...br,property:"width"}],stripeColorOpacity:[{...yr,property:"opacity"},{...br,property:"opacity"}]}}),Ze,Fe)(gr);customElements.define(hr,Ir);const xr=Kt("email-field"),jr=Ft(Be({mappings:$n}),Ze,di({inputType:"email",inputName:"email",autocompleteType:"username",includeAttrs:["disabled","readonly","pattern"]}),ri({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Fe,t=>class extends t{init(){super.init?.(),this.baseElement.setAttribute("pattern","^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$"),this.getAttribute("autocomplete")||this.setAttribute("autocomplete","username"),this.createExternalInput()}})(Xe({slots:["","suffix"],wrappedEleName:"vaadin-email-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${jr.cssVarList.inputOutlineWidth}) + var(${jr.cssVarList.inputOutlineOffset}));\n box-sizing: border-box;\n\t\t\t}\n ${je("vaadin-email-field")}\n\t\t\t${Me(jr.cssVarList)}\n\t\t\t${xe("vaadin-email-field",jr.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-email-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-email-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n :host ::slotted(*) {\n -webkit-mask-image: none;\n }\n\n vaadin-email-field[external-input="true"] > input:not(:placeholder-shown) {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:xr}));customElements.define(xr,jr);const Tr=({componentName:t,varName:e,fallbackVarName:i})=>{let o;class n extends(_e({componentName:t,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t\t<div></div>\n\t\t\t",f(`\n\t\t\t\t:host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t:host([draggable="true"]) > div {\n\t\t\t\t\tpointer-events: none\n\t\t\t\t}\n\t\t\t\t:host > div {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tmax-width: 100%;\n\t\t\t\t\tmax-height: 100%;\n\t\t\t\t\tobject-fit: contain;\n\t\t\t\t\tmargin: auto;\n\t\t\t\t\t${o}\n\t\t\t\t}\n `,this)}}const r=Ft(Be({mappings:{height:{selector:()=>":host > div"},width:{selector:()=>":host > div"},[e]:{property:"content"},[i]:{property:"content"}}}),Ze,Fe)(n);return o=`content: var(${r.cssVarList[e]}, var(${r.cssVarList[i]}));`,r},Dr=Kt("logo"),zr=Tr({componentName:Dr,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(Dr,zr);const vr=Kt("totp-image"),Cr=Tr({componentName:vr,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(vr,Cr);const Sr=Kt("notp-image"),Lr=Tr({componentName:Sr,varName:"url",fallbackVarName:"fallbackUrl"});customElements.define(Sr,Lr);const Ar=Kt("number-field"),wr=Ft(Be({mappings:$n}),Ze,ri({proxyProps:["value","selectionStart"]}),Fe)(Xe({slots:["","prefix","suffix"],wrappedEleName:"vaadin-number-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tpadding: calc(var(${wr.cssVarList.inputOutlineWidth}) + var(${wr.cssVarList.inputOutlineOffset}));\n\t\t\t}\n ${je("vaadin-number-field")}\n\t\t\t${Me(wr.cssVarList)}\n\t\t\t${xe("vaadin-number-field",wr.cssVarList)}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-number-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-number-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:Ar}));customElements.define(Ar,wr);const fr="--descope-input-mask-content",Er="--descope-input-mask-display",kr="--descope-input-mask-fallback",Or=t=>{t?.focus(),t?.setSelectionRange?.(1,1)},Vr=t=>t.replace(/\D/g,"")||"",Ur=(t,e)=>{e?(t.style.setProperty(fr,`"${e}"`),t.style.setProperty(Er,"flex")):(t.style.removeProperty(fr),t.style.removeProperty(Er))},Yr=Kt("passcode-internal"),Wr=["digits","loading"],Rr=["disabled","bordered","size","invalid","readonly","aria-labelledby"],Qr=ui({componentName:Yr,baseSelector:"div"}),Pr=Kt("passcode"),Br=["digits"],{host:Zr,digitField:Fr,label:Gr,requiredIndicator:Hr,internalWrapper:Jr,focusedDigitField:$r,errorMessage:_r}={host:{selector:()=>":host"},focusedDigitField:{selector:()=>`${Xn.componentName}[focused="true"]`},digitField:{selector:()=>Xn.componentName},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:"descope-passcode-internal .wrapper"},errorMessage:{selector:"::part(error-message)"}},qr=Xn.cssVarList,Xr=no.cssVarList,Kr=Ft(Be({mappings:{fontSize:[{...Fr,property:qr.fontSize},Zr],hostWidth:{property:"width"},hostDirection:{...Zr,property:"direction"},fontFamily:[Zr,{...Gr}],labelFontWeight:{...Gr,property:"font-weight"},errorMessageFontWeight:{..._r,property:"font-weight"},digitValueFontWeight:{selector:Xn.componentName,property:qr.inputValueFontWeight},labelTextColor:[{...Gr,property:"color"},{...Gr,property:"-webkit-text-fill-color"},{...Hr,property:"color"},{...Hr,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...Hr,property:"content"},errorMessageTextColor:{..._r,property:"color"},errorMessageIcon:{..._r,property:"background-image"},errorMessageIconSize:{..._r,property:"background-size"},errorMessageIconPadding:{..._r,property:"padding-inline-start"},errorMessageIconRepeat:{..._r,property:"background-repeat"},errorMessageIconPosition:{..._r,property:"background-position"},errorMessageFontSize:{..._r,property:"font-size"},digitValueTextColor:{selector:Xn.componentName,property:qr.inputValueTextColor},digitSize:[{...Fr,property:"height"},{...Fr,property:"width"}],digitPadding:{...Fr,property:qr.inputHorizontalPadding},digitTextAlign:{...Fr,property:qr.inputTextAlign},digitCaretTextColor:{...Fr,property:qr.inputCaretTextColor},digitSpacing:{...Jr,property:"gap"},digitOutlineColor:{...Fr,property:qr.inputOutlineColor},digitOutlineWidth:{...Fr,property:qr.inputOutlineWidth},focusedDigitFieldOutlineColor:{...$r,property:qr.inputOutlineColor},overlayOpacity:{...Jr,property:"opacity"},spinnerSize:{selector:no.componentName,property:Xr.spinnerSize}}}),Ze,ci,ri({proxyProps:["value","selectionStart"]}),Fe,t=>class extends t{static get observedAttributes(){return Br.concat(t.observedAttributes||[])}get digits(){return Number.parseInt(this.getAttribute("digits"),10)||6}init(){super.init?.(),f("\n .wrapper {\n display: flex;\n width: 100%;\n justify-content: space-between;\n direction: ltr;\n position: relative;\n }\n\n descope-text-field {\n direction: ltr;\n }\n\n .loader-container {\n display: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n ",this);const t=document.createElement("template");t.innerHTML=`\n <${Yr}\n bordered="true"\n name="code"\n tabindex="-1"\n slot="input"\n role="textbox"\n ><slot></slot></${Yr}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Yr),ee(this,this.inputElement,{includeAttrs:["digits","size","loading","disabled"]})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"digits"===t&&(this.style["--passcode-digits-count"]=i)}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: calc(var(--passcode-digits-count) * 2em);\n\t\t\t}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n :host([loading="true"]) descope-passcode-internal .loader-container {\n display: block;\n }\n\n\t\t\tdescope-passcode-internal {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n\t\t\tdescope-passcode-internal .wrapper {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tmin-height: initial;\n\t\t\t\theight: 100%;\n\t\t\t\tjustify-content: space-between;\n\t\t\t}\n\n\t\t\tdescope-passcode-internal descope-text-field {\n\t\t\t\tmin-width: 2em;\n\t\t\t\tmax-width: var(${qr.inputHeight});\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n /* safari */\n\t\t\tvaadin-text-field::part(input-field)::after {\n opacity: 0;\n }\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${je("vaadin-text-field")}\n\t\t\t${be("vaadin-text-field")}\n \t`,excludeAttrsSync:["tabindex","style"],componentName:Pr}));customElements.define(Yr,class extends Qr{static get observedAttributes(){return Wr.concat(Qr.observedAttributes||[])}constructor(){super(),this.innerHTML='\n\t\t<div class="wrapper"></div>\n\t\t<div class="loader-container">\n <descope-loader-radial size="xs" mode="primary"></descope-loader-radial>\n </div>\n\t\t',this.wrapperEle=this.querySelector(".wrapper"),this.loaderContainer=this.querySelector(".loader-container")}renderInputs(){const t=[...Array(this.digits).keys()].map(t=>`\n\t\t<descope-text-field\n\t\t\tdata-id=${t}\n\t\t\ttype="tel"\n\t\t\tautocomplete="one-time-code"\n\t\t\tinputMode="numeric"\n\t\t></descope-text-field>\n\t`);this.wrapperEle.innerHTML=t.join(""),this.inputs=Array.from(this.querySelectorAll("descope-text-field")),this.initInputs()}handleLoadingState(t){t?this.setAttribute("inert","true"):this.removeAttribute("inert")}get digits(){return Number.parseInt(this.getAttribute("digits"),10)||6}get value(){return this.inputs?.map(({value:t})=>t).join("")||""}set value(t){t!==this.value&&this.parseInputValue(this.inputs[0],Vr(t))}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:this.pattern&&!new RegExp(this.pattern).test(this.value)?{patternMismatch:!0}:{}}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.inputs[0].focus()}),super.init?.(),this.renderInputs()}getInputIdx(t){return Number.parseInt(t.getAttribute("data-id"),10)}getNextInput(t){const e=this.getInputIdx(t),i=Math.min(e+1,this.inputs.length-1);return this.inputs[i]}getPrevInput(t){const e=this.getInputIdx(t),i=Math.max(e-1,0);return this.inputs[i]}fillDigits(t,e){for(let i=0;i<t.length;i+=1){e.value=t[i]??"";const o=this.getNextInput(e);if(o===e)break;e=o}Or(e)}parseInputValue(t,e=""){const i=e.split("");i.length?this.fillDigits(i,t):t.value=""}initInputs(){this.inputs.forEach(t=>{f(`\n vaadin-text-field::part(input-field)::before {\n ${kr}: '';\n content: var(${fr}, var(${kr}));\n position: absolute;\n width: 100%;\n height: 100%;\n display: var(${Er}, none);\n align-items: center;\n justify-content: center;\n }`,t);const e=r()(e=>{this.parseInputValue(t,e),Ur(t)},0,{trailing:!0});t.addEventListener("input",i=>{t.value=Vr(t.value),t.value&&Ur(t,t.value[0]),setTimeout(()=>{"deleteContentBackward"===i?.inputType&&Or(this.getPrevInput(t))}),e(t.value)}),t.onkeydown=({key:e})=>{"Backspace"===e?t.value?t.setSelectionRange(1,1):setTimeout(()=>Or(this.getPrevInput(t)),0):1===e.length&&(t.value="")},ee(this,t,{includeAttrs:Rr}),t.shadowRoot.querySelector("input").setAttribute("aria-label","passcode digit")}),this.handleFocusEventsDispatching(this.inputs),this.handleInputEventDispatching()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&Wr.includes(t)&&("digits"===t&&this.renderInputs(),"loading"===t&&this.handleLoadingState("true"===i))}get pattern(){return`^$|^\\d{${this.digits},}$`}}),customElements.define(Pr,Kr);const ts=Kt("password"),{host:es,inputField:is,inputElement:os,inputElementPlaceholder:ns,revealButtonContainer:rs,revealButtonIcon:ss,label:as,requiredIndicator:ls,errorMessage:ds,helperText:cs}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"> input"},inputElementPlaceholder:{selector:()=>":host input:placeholder-shown"},revealButtonContainer:{selector:"::part(reveal-button)"},revealButtonIcon:{selector:"::part(reveal-button)::before"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},us=Ft(Be({mappings:{hostWidth:{...es,property:"width"},hostMinWidth:{...es,property:"min-width"},hostDirection:{...es,property:"direction"},fontSize:[{},es],fontFamily:[as,is,ds,cs],inputHeight:{...is,property:"height"},inputHorizontalPadding:[{...os,property:"padding-left"},{...os,property:"padding-right"}],inputBackgroundColor:{...is,property:"background-color"},inputBorderStyle:{...is,property:"border-style"},inputBorderWidth:{...is,property:"border-width"},inputBorderColor:{...is,property:"border-color"},inputBorderRadius:{...is,property:"border-radius"},inputOutlineColor:{...is,property:"outline-color"},inputOutlineStyle:{...is,property:"outline-style"},inputOutlineOffset:{...is,property:"outline-offset"},inputOutlineWidth:{...is,property:"outline-width"},labelFontSize:{...as,property:"font-size"},labelFontWeight:{...as,property:"font-weight"},inputValueFontWeight:[{...os,property:"font-weight"},{selector:()=>":host ::slotted(input)",property:"font-weight"}],inputPlaceholderFontWeight:[{...ns,property:"font-weight"},{selector:()=>":host ::slotted(input:placeholder-shown)",property:"font-weight"}],helperTextFontWeight:{...cs,property:"font-weight"},errorMessageFontWeight:{...ds,property:"font-weight"},labelTextColor:[{...as,property:"color"},{...as,property:"-webkit-text-fill-color"},{...ls,property:"color"},{...ls,property:"-webkit-text-fill-color"}],labelRequiredIndicator:{...ls,property:"content"},errorMessageTextColor:{...ds,property:"color"},errorMessageIcon:{...ds,property:"background-image"},errorMessageIconSize:{...ds,property:"background-size"},errorMessageIconPadding:{...ds,property:"padding-inline-start"},errorMessageIconRepeat:{...ds,property:"background-repeat"},errorMessageIconPosition:{...ds,property:"background-position"},errorMessageFontSize:{...ds,property:"font-size"},inputPlaceholderTextColor:[{...ns,property:"color"},{selector:()=>":host ::slotted(input:placeholder-shown)",property:"color"}],inputValueTextColor:[{...os,property:"color"},{selector:()=>":host ::slotted(input)",property:"color"}],revealButtonOffset:[{...rs,property:"margin-right"},{...rs,property:"margin-left"}],revealButtonSize:{...rs,property:"font-size"},revealButtonColor:{...ss,property:"color"},labelPosition:{...as,property:"position"},labelTopPosition:{...as,property:"top"},labelHorizontalPosition:[{...as,property:"left"},{...as,property:"right"}],inputTransformY:{...as,property:"transform"},inputTransition:{...as,property:"transition"},marginInlineStart:{...as,property:"margin-inline-start"},placeholderOpacity:[{selector:"> input:placeholder-shown",property:"opacity"},{...os,property:"opacity"}],inputVerticalAlignment:{...is,property:"align-items"},valueInputHeight:{...os,property:"height"}}}),Ze,di({inputType:"password",inputName:"password",includeAttrs:["disabled","readonly","pattern","type","autocomplete"],noBlurDispatch:!0}),ri({proxyProps:["value","selectionStart"],useProxyTargets:!0}),Fe,t=>class extends t{get isReadOnly(){return this.hasAttribute("readonly")&&"false"!==this.getAttribute("readonly")}init(){super.init?.();const t=this.querySelector("input");t?.addEventListener("mousedown",e=>{if(this.isDraggable&&this.isReadOnly){t.setAttribute("inert","true");const i=e.target,o=i.getAttribute("type");i.setAttribute("type","text"),setTimeout(()=>{i.focus()});const n=e=>{i.setAttribute("type",o),t.removeAttribute("inert"),this.removeEventListener("mouseup",n),this.removeEventListener("dragend",n)};this.addEventListener("dragend",n,{once:!0}),this.addEventListener("mouseup",n,{once:!0})}})}},t=>class extends t{static get observedAttributes(){return["manual-visibility-toggle"]}get manualToggleVisibility(){return"true"===this.getAttribute("manual-visibility-toggle")}init(){super.init?.(),this.handleCaretOnVisibilityChange(),this.origSetPasswordVisible=this.baseElement._setPasswordVisible,this.origSetFocused=this.baseElement._setFocused,this.baseElement._setFocused=this.setFocus.bind(this),this.initExternalInput()}initExternalInput(){const t=this.createExternalInput();t&&this.handlePasswordVisibility(t)}get caretPosition(){return this.value?.length||0}handleCaretOnVisibilityChange(){const t=this.baseElement._togglePasswordVisibility.bind(this.baseElement);this.baseElement._togglePasswordVisibility=()=>{setTimeout(()=>(t(),this.inputElement.setSelectionRange(this.caretPosition,this.caretPosition),!1))}}setFocus(t){this.manualToggleVisibility&&(this.baseElement._setPasswordVisible=()=>{}),this.origSetFocused.call(this.baseElement,t),this.baseElement._setPasswordVisible=this.origSetPasswordVisible.bind(this.baseElement)}resetPasswordVisibilityToggle(){this.baseElement._setPasswordVisible=this.origSetPasswordVisible,this.baseElement._setFocused=this.origSetFocus}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i)}handlePasswordVisibility(t){const e=this.baseElement.__boundRevealButtonMouseDown;this.baseElement.querySelector("vaadin-password-field-button").removeEventListener("mousedown",e),this.baseElement._passwordVisibleChanged=()=>{},this.baseElement._togglePasswordVisibility=()=>{"password"===t.getAttribute("type")?this.showPasswordVisibility(t):this.hidePasswordVisibility(t)}}showPasswordVisibility(t){t.setAttribute("type","text"),this.setAttribute("password-visible","true")}hidePasswordVisibility(t){t.setAttribute("type","password"),this.setAttribute("password-visible","false")}})(Xe({slots:["","suffix"],wrappedEleName:"vaadin-password-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: 10em;\n box-sizing: border-box;\n position: relative;\n\t\t\t}\n\t\t\t${Me(us.cssVarList)}\n\t\t\t${be("vaadin-password-field")}\n ${je("vaadin-password-field")}\n\n\t\t\tvaadin-password-field {\n\t\t\t\twidth: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-password-field > input {\n -webkit-mask-image: none;\n\t\t\t\tbox-sizing: border-box;\n opacity: 1;\n\t\t\t}\n\t\t\tvaadin-password-field::part(input-field) {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-password-field[focus-ring]::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n :host ::slotted(input) {\n\t\t\t\tmin-height: 0;\n }\n :host([readonly]) ::slotted(input:placeholder-shown) {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\tvaadin-password-field::before {\n\t\t\t\theight: initial;\n\t\t\t}\n\t\t\tvaadin-password-field::part(input-field)::after {\n\t\t\t\topacity: 0;\n\t\t\t}\n\t\t\tvaadin-password-field-button {\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t\t:host([readonly]) vaadin-password-field-button {\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\t\t\tvaadin-password-field-button[focus-ring] {\n\t\t\t\tbox-shadow: 0 0 0 2px var(${us.cssVarList.inputOutlineColor});\n\t\t\t}\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n ::part(reveal-button) {\n align-self: center;\n }\n\n vaadin-password-field[external-input="true"] > input:not(:placeholder-shown) {\n opacity: 0;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:ts}));customElements.define(ts,us);const ps=Kt("text-area"),{host:hs,label:gs,placeholder:Ms,inputField:ms,textArea:ys,requiredIndicator:bs,helperText:Ns,errorMessage:Is}={host:{selector:()=>":host"},label:{selector:"::part(label)"},placeholder:{selector:"textarea:placeholder-shown"},inputField:{selector:"::part(input-field)"},textArea:{selector:"> textarea"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},xs=Ft(Be({mappings:{hostWidth:{...hs,property:"width"},hostMinWidth:{...hs,property:"min-width"},hostDirection:{...hs,property:"direction"},fontSize:[hs,ys],fontFamily:[gs,ms,Ns,Is],labelFontSize:{...gs,property:"font-size"},labelFontWeight:{...gs,property:"font-weight"},inputValueFontWeight:{...ys,property:"font-weight"},inputPlaceholderFontWeight:{...Ms,property:"font-weight"},helperTextFontWeight:{...Ns,property:"font-weight"},errorMessageFontWeight:{...Is,property:"font-weight"},labelTextColor:[{...gs,property:"color"},{...gs,property:"-webkit-text-fill-color"},{...bs,property:"color"}],labelRequiredIndicator:{...bs,property:"content"},errorMessageTextColor:{...Is,property:"color"},errorMessageIcon:{...Is,property:"background-image"},errorMessageIconSize:{...Is,property:"background-size"},errorMessageIconPadding:{...Is,property:"padding-inline-start"},errorMessageIconRepeat:{...Is,property:"background-repeat"},errorMessageIconPosition:{...Is,property:"background-position"},errorMessageFontSize:{...Is,property:"font-size"},inputBackgroundColor:{...ms,property:"background-color"},inputValueTextColor:{...ys,property:"color"},inputPlaceholderTextColor:{...Ms,property:"color"},inputBorderWidth:{...ms,property:"border-width"},inputBorderStyle:{...ms,property:"border-style"},inputBorderColor:{...ms,property:"border-color"},inputBorderRadius:{...ms,property:"border-radius"},inputOutlineStyle:{...ms,property:"outline-Style"},inputOutlineColor:{...ms,property:"outline-color"},inputOutlineOffset:{...ms,property:"outline-offset"},inputOutlineWidth:{...ms,property:"outline-width"},inputResizeType:{...ys,property:"resize"},inputMinHeight:{...ys,property:"min-height"},inputTextAlign:{...ys,property:"text-align"}}}),Ze,ri({proxyProps:["value","selectionStart"]}),Fe)(Xe({slots:[],wrappedEleName:"vaadin-text-area",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmax-width: 100%;\n box-sizing: border-box;\n\t\t\t}\n\t\t\ttextarea {\n\t\t\t\theight: 100%;\n\t\t\t}\n ${je("vaadin-text-area")}\n\t\t\t${Me(xs.cssVarList)}\n\t\t\t${me("vaadin-text-area")}\n\t\t\t${ye("vaadin-text-area")}\n\t\t\t${Ne("vaadin-text-area","textarea")}\n\t\t\t${be("vaadin-text-area")}\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:ps}));customElements.define(ps,xs);var js=[{name:"United States",dialCode:"+1",code:"US"},...[{name:"Afghanistan",dialCode:"+93",code:"AF"},{name:"Aland Islands",dialCode:"+358",code:"AX"},{name:"Albania",dialCode:"+355",code:"AL"},{name:"Algeria",dialCode:"+213",code:"DZ"},{name:"AmericanSamoa",dialCode:"+1684",code:"AS"},{name:"Andorra",dialCode:"+376",code:"AD"},{name:"Angola",dialCode:"+244",code:"AO"},{name:"Anguilla",dialCode:"+1264",code:"AI"},{name:"Antarctica",dialCode:"+672",code:"AQ"},{name:"Antigua and Barbuda",dialCode:"+1268",code:"AG"},{name:"Argentina",dialCode:"+54",code:"AR"},{name:"Armenia",dialCode:"+374",code:"AM"},{name:"Aruba",dialCode:"+297",code:"AW"},{name:"Australia",dialCode:"+61",code:"AU"},{name:"Austria",dialCode:"+43",code:"AT"},{name:"Azerbaijan",dialCode:"+994",code:"AZ"},{name:"Bahamas",dialCode:"+1242",code:"BS"},{name:"Bahrain",dialCode:"+973",code:"BH"},{name:"Bangladesh",dialCode:"+880",code:"BD"},{name:"Barbados",dialCode:"+1246",code:"BB"},{name:"Belarus",dialCode:"+375",code:"BY"},{name:"Belgium",dialCode:"+32",code:"BE"},{name:"Belize",dialCode:"+501",code:"BZ"},{name:"Benin",dialCode:"+229",code:"BJ"},{name:"Bermuda",dialCode:"+1441",code:"BM"},{name:"Bhutan",dialCode:"+975",code:"BT"},{name:"Bolivia, Plurinational State of",dialCode:"+591",code:"BO"},{name:"Bosnia and Herzegovina",dialCode:"+387",code:"BA"},{name:"Botswana",dialCode:"+267",code:"BW"},{name:"Brazil",dialCode:"+55",code:"BR"},{name:"British Indian Ocean Territory",dialCode:"+246",code:"IO"},{name:"Brunei Darussalam",dialCode:"+673",code:"BN"},{name:"Bulgaria",dialCode:"+359",code:"BG"},{name:"Burkina Faso",dialCode:"+226",code:"BF"},{name:"Burundi",dialCode:"+257",code:"BI"},{name:"Cambodia",dialCode:"+855",code:"KH"},{name:"Cameroon",dialCode:"+237",code:"CM"},{name:"Canada",dialCode:"+1",code:"CA"},{name:"Cape Verde",dialCode:"+238",code:"CV"},{name:"Cayman Islands",dialCode:"+345",code:"KY"},{name:"Central African Republic",dialCode:"+236",code:"CF"},{name:"Chad",dialCode:"+235",code:"TD"},{name:"Chile",dialCode:"+56",code:"CL"},{name:"China",dialCode:"+86",code:"CN"},{name:"Christmas Island",dialCode:"+61",code:"CX"},{name:"Cocos (Keeling) Islands",dialCode:"+61",code:"CC"},{name:"Colombia",dialCode:"+57",code:"CO"},{name:"Comoros",dialCode:"+269",code:"KM"},{name:"Congo",dialCode:"+242",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dialCode:"+243",code:"CD"},{name:"Cook Islands",dialCode:"+682",code:"CK"},{name:"Costa Rica",dialCode:"+506",code:"CR"},{name:"Cote d'Ivoire",dialCode:"+225",code:"CI"},{name:"Croatia",dialCode:"+385",code:"HR"},{name:"Cuba",dialCode:"+53",code:"CU"},{name:"Cyprus",dialCode:"+357",code:"CY"},{name:"Czech Republic",dialCode:"+420",code:"CZ"},{name:"Denmark",dialCode:"+45",code:"DK"},{name:"Djibouti",dialCode:"+253",code:"DJ"},{name:"Dominica",dialCode:"+1767",code:"DM"},{name:"Dominican Republic",dialCode:"+1849",code:"DO"},{name:"Ecuador",dialCode:"+593",code:"EC"},{name:"Egypt",dialCode:"+20",code:"EG"},{name:"El Salvador",dialCode:"+503",code:"SV"},{name:"Equatorial Guinea",dialCode:"+240",code:"GQ"},{name:"Eritrea",dialCode:"+291",code:"ER"},{name:"Estonia",dialCode:"+372",code:"EE"},{name:"Ethiopia",dialCode:"+251",code:"ET"},{name:"Falkland Islands (Malvinas)",dialCode:"+500",code:"FK"},{name:"Faroe Islands",dialCode:"+298",code:"FO"},{name:"Fiji",dialCode:"+679",code:"FJ"},{name:"Finland",dialCode:"+358",code:"FI"},{name:"France",dialCode:"+33",code:"FR"},{name:"French Guiana",dialCode:"+594",code:"GF"},{name:"French Polynesia",dialCode:"+689",code:"PF"},{name:"Gabon",dialCode:"+241",code:"GA"},{name:"Gambia",dialCode:"+220",code:"GM"},{name:"Georgia",dialCode:"+995",code:"GE"},{name:"Germany",dialCode:"+49",code:"DE"},{name:"Ghana",dialCode:"+233",code:"GH"},{name:"Gibraltar",dialCode:"+350",code:"GI"},{name:"Greece",dialCode:"+30",code:"GR"},{name:"Greenland",dialCode:"+299",code:"GL"},{name:"Grenada",dialCode:"+1473",code:"GD"},{name:"Guadeloupe",dialCode:"+590",code:"GP"},{name:"Guam",dialCode:"+1671",code:"GU"},{name:"Guatemala",dialCode:"+502",code:"GT"},{name:"Guernsey",dialCode:"+44",code:"GG"},{name:"Guinea",dialCode:"+224",code:"GN"},{name:"Guinea-Bissau",dialCode:"+245",code:"GW"},{name:"Guyana",dialCode:"+592",code:"GY"},{name:"Haiti",dialCode:"+509",code:"HT"},{name:"Holy See (Vatican City State)",dialCode:"+379",code:"VA"},{name:"Honduras",dialCode:"+504",code:"HN"},{name:"Hong Kong",dialCode:"+852",code:"HK"},{name:"Hungary",dialCode:"+36",code:"HU"},{name:"Iceland",dialCode:"+354",code:"IS"},{name:"India",dialCode:"+91",code:"IN"},{name:"Indonesia",dialCode:"+62",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dialCode:"+98",code:"IR"},{name:"Iraq",dialCode:"+964",code:"IQ"},{name:"Ireland",dialCode:"+353",code:"IE"},{name:"Isle of Man",dialCode:"+44",code:"IM"},{name:"Israel",dialCode:"+972",code:"IL"},{name:"Italy",dialCode:"+39",code:"IT"},{name:"Jamaica",dialCode:"+1876",code:"JM"},{name:"Japan",dialCode:"+81",code:"JP"},{name:"Jersey",dialCode:"+44",code:"JE"},{name:"Jordan",dialCode:"+962",code:"JO"},{name:"Kazakhstan",dialCode:"+77",code:"KZ"},{name:"Kenya",dialCode:"+254",code:"KE"},{name:"Kiribati",dialCode:"+686",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dialCode:"+850",code:"KP"},{name:"Korea, Republic of South Korea",dialCode:"+82",code:"KR"},{name:"Kuwait",dialCode:"+965",code:"KW"},{name:"Kyrgyzstan",dialCode:"+996",code:"KG"},{name:"Laos",dialCode:"+856",code:"LA"},{name:"Latvia",dialCode:"+371",code:"LV"},{name:"Lebanon",dialCode:"+961",code:"LB"},{name:"Lesotho",dialCode:"+266",code:"LS"},{name:"Liberia",dialCode:"+231",code:"LR"},{name:"Libyan Arab Jamahiriya",dialCode:"+218",code:"LY"},{name:"Liechtenstein",dialCode:"+423",code:"LI"},{name:"Lithuania",dialCode:"+370",code:"LT"},{name:"Luxembourg",dialCode:"+352",code:"LU"},{name:"Macao",dialCode:"+853",code:"MO"},{name:"Macedonia",dialCode:"+389",code:"MK"},{name:"Madagascar",dialCode:"+261",code:"MG"},{name:"Malawi",dialCode:"+265",code:"MW"},{name:"Malaysia",dialCode:"+60",code:"MY"},{name:"Maldives",dialCode:"+960",code:"MV"},{name:"Mali",dialCode:"+223",code:"ML"},{name:"Malta",dialCode:"+356",code:"MT"},{name:"Marshall Islands",dialCode:"+692",code:"MH"},{name:"Martinique",dialCode:"+596",code:"MQ"},{name:"Mauritania",dialCode:"+222",code:"MR"},{name:"Mauritius",dialCode:"+230",code:"MU"},{name:"Mayotte",dialCode:"+262",code:"YT"},{name:"Mexico",dialCode:"+52",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dialCode:"+691",code:"FM"},{name:"Moldova",dialCode:"+373",code:"MD"},{name:"Monaco",dialCode:"+377",code:"MC"},{name:"Mongolia",dialCode:"+976",code:"MN"},{name:"Montenegro",dialCode:"+382",code:"ME"},{name:"Montserrat",dialCode:"+1664",code:"MS"},{name:"Morocco",dialCode:"+212",code:"MA"},{name:"Mozambique",dialCode:"+258",code:"MZ"},{name:"Myanmar",dialCode:"+95",code:"MM"},{name:"Namibia",dialCode:"+264",code:"NA"},{name:"Nauru",dialCode:"+674",code:"NR"},{name:"Nepal",dialCode:"+977",code:"NP"},{name:"Netherlands",dialCode:"+31",code:"NL"},{name:"Netherlands Antilles",dialCode:"+599",code:"AN"},{name:"New Caledonia",dialCode:"+687",code:"NC"},{name:"New Zealand",dialCode:"+64",code:"NZ"},{name:"Nicaragua",dialCode:"+505",code:"NI"},{name:"Niger",dialCode:"+227",code:"NE"},{name:"Nigeria",dialCode:"+234",code:"NG"},{name:"Niue",dialCode:"+683",code:"NU"},{name:"Norfolk Island",dialCode:"+672",code:"NF"},{name:"Northern Mariana Islands",dialCode:"+1670",code:"MP"},{name:"Norway",dialCode:"+47",code:"NO"},{name:"Oman",dialCode:"+968",code:"OM"},{name:"Pakistan",dialCode:"+92",code:"PK"},{name:"Palau",dialCode:"+680",code:"PW"},{name:"Palestinian Territory, Occupied",dialCode:"+970",code:"PS"},{name:"Panama",dialCode:"+507",code:"PA"},{name:"Papua New Guinea",dialCode:"+675",code:"PG"},{name:"Paraguay",dialCode:"+595",code:"PY"},{name:"Peru",dialCode:"+51",code:"PE"},{name:"Philippines",dialCode:"+63",code:"PH"},{name:"Pitcairn",dialCode:"+872",code:"PN"},{name:"Poland",dialCode:"+48",code:"PL"},{name:"Portugal",dialCode:"+351",code:"PT"},{name:"Qatar",dialCode:"+974",code:"QA"},{name:"Romania",dialCode:"+40",code:"RO"},{name:"Russia",dialCode:"+7",code:"RU"},{name:"Rwanda",dialCode:"+250",code:"RW"},{name:"Reunion",dialCode:"+262",code:"RE"},{name:"Saint Barthelemy",dialCode:"+590",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dialCode:"+290",code:"SH"},{name:"Saint Kitts and Nevis",dialCode:"+1869",code:"KN"},{name:"Saint Lucia",dialCode:"+1758",code:"LC"},{name:"Saint Martin",dialCode:"+590",code:"MF"},{name:"Saint Pierre and Miquelon",dialCode:"+508",code:"PM"},{name:"Saint Vincent and the Grenadines",dialCode:"+1784",code:"VC"},{name:"Samoa",dialCode:"+685",code:"WS"},{name:"San Marino",dialCode:"+378",code:"SM"},{name:"Sao Tome and Principe",dialCode:"+239",code:"ST"},{name:"Saudi Arabia",dialCode:"+966",code:"SA"},{name:"Senegal",dialCode:"+221",code:"SN"},{name:"Serbia",dialCode:"+381",code:"RS"},{name:"Seychelles",dialCode:"+248",code:"SC"},{name:"Sierra Leone",dialCode:"+232",code:"SL"},{name:"Singapore",dialCode:"+65",code:"SG"},{name:"Slovakia",dialCode:"+421",code:"SK"},{name:"Slovenia",dialCode:"+386",code:"SI"},{name:"Solomon Islands",dialCode:"+677",code:"SB"},{name:"Somalia",dialCode:"+252",code:"SO"},{name:"South Africa",dialCode:"+27",code:"ZA"},{name:"South Sudan",dialCode:"+211",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dialCode:"+500",code:"GS"},{name:"Spain",dialCode:"+34",code:"ES"},{name:"Sri Lanka",dialCode:"+94",code:"LK"},{name:"Sudan",dialCode:"+249",code:"SD"},{name:"Suriname",dialCode:"+597",code:"SR"},{name:"Svalbard and Jan Mayen",dialCode:"+47",code:"SJ"},{name:"Swaziland",dialCode:"+268",code:"SZ"},{name:"Sweden",dialCode:"+46",code:"SE"},{name:"Switzerland",dialCode:"+41",code:"CH"},{name:"Syrian Arab Republic",dialCode:"+963",code:"SY"},{name:"Taiwan",dialCode:"+886",code:"TW"},{name:"Tajikistan",dialCode:"+992",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dialCode:"+255",code:"TZ"},{name:"Thailand",dialCode:"+66",code:"TH"},{name:"Timor-Leste",dialCode:"+670",code:"TL"},{name:"Togo",dialCode:"+228",code:"TG"},{name:"Tokelau",dialCode:"+690",code:"TK"},{name:"Tonga",dialCode:"+676",code:"TO"},{name:"Trinidad and Tobago",dialCode:"+1868",code:"TT"},{name:"Tunisia",dialCode:"+216",code:"TN"},{name:"Turkey",dialCode:"+90",code:"TR"},{name:"Turkmenistan",dialCode:"+993",code:"TM"},{name:"Turks and Caicos Islands",dialCode:"+1649",code:"TC"},{name:"Tuvalu",dialCode:"+688",code:"TV"},{name:"Uganda",dialCode:"+256",code:"UG"},{name:"Ukraine",dialCode:"+380",code:"UA"},{name:"United Arab Emirates",dialCode:"+971",code:"AE"},{name:"United Kingdom",dialCode:"+44",code:"GB"},{name:"Uruguay",dialCode:"+598",code:"UY"},{name:"Uzbekistan",dialCode:"+998",code:"UZ"},{name:"Vanuatu",dialCode:"+678",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dialCode:"+58",code:"VE"},{name:"Vietnam",dialCode:"+84",code:"VN"},{name:"Virgin Islands, British",dialCode:"+1284",code:"VG"},{name:"Virgin Islands, U.S.",dialCode:"+1340",code:"VI"},{name:"Wallis and Futuna",dialCode:"+681",code:"WF"},{name:"Yemen",dialCode:"+967",code:"YE"},{name:"Zambia",dialCode:"+260",code:"ZM"},{name:"Zimbabwe",dialCode:"+263",code:"ZW"}].sort((t,e)=>t.name<e.name?-1:1)];const Ts=({code:t,dialCode:e,name:i})=>`\n\t<div\n\t\tdata-id="${e}"\n\t\tdata-name="${t} ${e} ${i}"\n\t\tdata-country-code="${t}"\n\t>\n\t\t<div>\n\t\t\t<span>\n\t\t\t\t<img src="${(t=>`https://static.descope.com/npm/svg-country-flags@1.2.10/svg/${t.toLowerCase()}.svg`)(t)}" width="20"/>\n\t\t\t</span>\n\t\t\t<span>${i}</span>\n\t\t</div>\n\t\t<div>\n\t\t\t<span>${t}</span>\n\t\t\t<span>${e}</span>\n\t\t</div>\n\t</div>\n`,Ds=Kt("phone-field-internal"),zs=["disabled","size","bordered","readonly"],vs=["country-input-placeholder","default-code","restrict-countries"],Cs=["phone-input-placeholder","maxlength","autocomplete","name","phone-input-type"],Ss=["label-type","country-input-label","label"],Ls={"country-input-label":"label","country-input-placeholder":"placeholder","phone-input-placeholder":"placeholder","phone-input-type":"type"},As=[].concat(zs,vs,Cs,Ss),ws=ui({componentName:Ds,baseSelector:"div"});customElements.define(Ds,class extends ws{static get observedAttributes(){return[].concat(ws.observedAttributes||[],As)}#gt;constructor(){super(),this.innerHTML=`\n <div class="wrapper">\n <descope-combo-box\n item-label-path="data-name"\n item-value-path="data-id"\n >\n ${js.map(t=>Ts(t)).join("")}\n </descope-combo-box>\n <div class="separator"></div>\n <descope-text-field type="tel"></descope-text-field>\n </div>\n `,this.comboBox=this.querySelector("descope-combo-box"),this.textField=this.querySelector("descope-text-field"),this.inputs=[this.comboBox,this.textField],ee(this,this.comboBox,{includeAttrs:["label-type"]}),ee(this,this.textField,{includeAttrs:["label-type","required","phone-input-type"],mapAttrs:{"phone-input-type":"type"}}),this.comboBox.customValueTransformFn=t=>{const[,e]=t?.split?.(" ")||[];return e}}get countryCodeInputData(){return this.comboBox.items}get countryCodeValue(){return this.comboBox.shadowRoot.querySelector("input").value}get phoneNumberInputEle(){return this.textField.shadowRoot.querySelector("input")}get allowAlphanumericInput(){return"true"===this.getAttribute("allow-alphanumeric-input")}get defaultCode(){return this.getAttribute("default-code")}get selectionStart(){return this.textField.selectionStart}get minLength(){return parseInt(this.getAttribute("minlength"),10)||0}get selectedCountryCode(){return this.comboBox?.selectedItem?.getAttribute("data-country-code")}get restrictCountries(){const t=this.getAttribute("restrict-countries");return t?.split(",").filter(Boolean)||[]}get isFormatValue(){return"true"===this.getAttribute("format-value")}get isStrictValidation(){return"true"===this.getAttribute("strict-validation")}get value(){return this.comboBox.value&&this.textField.value?this.allowAlphanumericInput?`${this.comboBox.value}-${this.textField.value}`:`${this.comboBox.value}-${this.textField.value.replace(/\D+/g,"")}`:""}#Mt(){this.comboBox.selectedItem=void 0,this.textField.value=""}set value(t){this.#mt(t)}#mt(t){if(!t||!/\d/.test(t))return void this.#Mt();t.startsWith("+")||(t=`+${t}`);let e="",i="";if(t.includes("-")){const o=t.indexOf("-");e=t.slice(0,o),i=t.slice(o+1).replace(/\D+/g,"")}else{const o=(0,u.l)(t);o?.countryCallingCode&&(e=`+${o.countryCallingCode}`,i=t.slice(e.length).replace(/\D+/g,""))}if(!/\d/.test(e))return void this.#Mt();const o=js.filter(t=>t.dialCode===e).map(t=>t.code),n=this.selectedCountryCode;if(!o.includes(n)){const t=this.comboBox.items?.find(t=>o.includes(t.getAttribute("data-country-code")));t&&(this.comboBox.selectedItem=t)}this.isFormatValue?this.textField.value=this.#yt(i):this.textField.value=i}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.inputs[1].focus()}),super.init?.(),this.#bt()}getValidity(){const t=this.comboBox.value,e=this.textField.value,i=!t||!e,o=e&&e.length>=this.minLength;if(this.isRequired&&i)return{valueMissing:!0};if(this.value){if(!o)return{tooShort:!0};if(this.isStrictValidation&&!this.#Nt())return{patternMismatch:!0}}return{}}setSelectionRange(...t){this.textField.setSelectionRange(...t)}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),e!==i){if("default-code"===t&&i&&!this.selectedCountryCode)this.#It(i);else if(As.includes(t)){const e=Ls[t]||t;zs.includes(t)?i?this.inputs.forEach(t=>t.setAttribute(e,i)):this.inputs.forEach(t=>t.removeAttribute(e)):vs.includes(t)?this.comboBox.setAttribute(e,i):Cs.includes(t)&&this.textField.setAttribute(e,i)}Ss.includes(t)&&this.#xt(t,i),"restrict-countries"===t&&this.#jt(this.restrictCountries)}}#bt(){this.textField.addEventListener("input",this.#Tt.bind(this)),this.comboBox.addEventListener("change",this.#Dt.bind(this)),this.handleFocusEventsDispatching(this.inputs),this.handleInputEventDispatching()}#Tt(){const t=this.allowAlphanumericInput?this.textField.value:this.textField.value.replace(/\D+/g,"");this.textField.value=this.isFormatValue?this.#yt(t):t}#Dt(){if(!this.isFormatValue)return;const t=this.textField.value.replace(/\D+/g,"");this.textField.value=this.#yt(t)}#yt(t=""){return this.#gt&&this.#gt.country===this.selectedCountryCode||(this.#gt=new p.Q(this.selectedCountryCode)),this.#gt.reset(),this.#gt.input(t)||t}#Nt(){const t=(0,u.l)(this.value);return!!(t&&t.isValid?.()&&t.country&&this.#zt(t.country))}#zt(t){return!this.restrictCountries.length||this.restrictCountries.includes(t)}#vt(t){return this.comboBox.items?.find(e=>e.getAttribute("data-country-code")===t)}#jt(t){const e=t.length?js.filter(e=>t.includes(e.code)):js;this.querySelector("descope-combo-box").innerHTML=e.map(t=>Ts(t)).join("")}#It(t){if(!this.comboBox.value){const e=this.#vt(t);e&&setTimeout(()=>{this.comboBox.selectedItem=e})}}#xt(t,e){const i=Ls[t]||t;"label-type"===t?this.#Ct(e):"floating"===this.getAttribute("label-type")&&("country-input-label"===t?this.comboBox.setAttribute(i,e):"label"===t&&this.textField.setAttribute(i,e))}#Ct(t){"floating"===t?(this.comboBox.setAttribute("label",this.getAttribute("country-input-label")||""),this.comboBox.setAttribute("placeholder",this.getAttribute("country-input-placeholder")||""),this.textField.setAttribute("label",this.getAttribute("label")||""),this.textField.setAttribute("placeholder",this.getAttribute("phone-input-placeholder")||"")):this.inputs.forEach(t=>t.removeAttribute("label"))}});const fs=Xn.cssVarList,Es=jo.cssVarList,ks=Kt("phone-field"),{host:Os,label:Vs,requiredIndicator:Us,inputField:Ys,internalAfter:Ws,countryCodeInput:Rs,phoneInput:Qs,separator:Ps,errorMessage:Bs,helperText:Zs}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},inputField:{selector:"::part(input-field)"},internalAfter:{selector:"descope-phone-field-internal::after"},phoneInput:{selector:()=>"descope-text-field"},countryCodeInput:{selector:()=>"descope-combo-box"},separator:{selector:"descope-phone-field-internal .separator"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},Fs=Ft(Be({mappings:{fontSize:[Os,Ys,{selector:Xn.componentName,property:Xn.cssVarList.fontSize},{selector:jo.componentName,property:jo.cssVarList.fontSize}],fontFamily:[Vs,Bs,Zs,{...Rs,property:jo.cssVarList.overlay.fontFamily}],hostWidth:[{...Os,property:"width"},{...Qs,property:"width"},{...Rs,property:"--vaadin-combo-box-overlay-width"}],hostDirection:{...Os,property:"direction"},inputBorderStyle:[{...Ws,property:"border-style"},{...Ps,property:"border-left-style"}],inputBorderWidth:[{...Ws,property:"border-width"},{...Ps,property:"border-left-width"}],inputBorderColor:[{...Ws,property:"border-color"},{...Ps,property:"border-left-color"}],inputBorderRadius:[{...Ys,property:"border-radius"},{...Ws,property:"border-radius"}],countryCodeInputWidth:{...Rs,property:Es.hostWidth},countryCodeDropdownWidth:{...Rs,property:"--vaadin-combo-box-overlay-width"},phoneInputWidth:{...Qs,property:"width"},horizontalPadding:[{...Qs,property:"padding-left"},{...Qs,property:"padding-right"},{...Rs,property:"padding-left"},{...Rs,property:"padding-right"}],labelFontSize:{...Vs,property:"font-size"},labelFontWeight:{...Vs,property:"font-weight"},inputValueFontWeight:[{...Qs,property:fs.inputValueFontWeight},{...Rs,property:Es.inputValueFontWeight}],inputPlaceholderFontWeight:{...Qs,property:fs.inputPlaceholderFontWeight},helperTextFontWeight:{...Zs,property:"font-weight"},errorMessageFontWeight:{...Bs,property:"font-weight"},labelTextColor:[{...Vs,property:"color"},{...Vs,property:"-webkit-text-fill-color"},{...Us,property:"color"}],labelRequiredIndicator:{...Us,property:"content"},errorMessageTextColor:{...Bs,property:"color"},errorMessageIcon:{...Bs,property:"background-image"},errorMessageIconSize:{...Bs,property:"background-size"},errorMessageIconPadding:{...Bs,property:"padding-inline-start"},errorMessageIconRepeat:{...Bs,property:"background-repeat"},errorMessageIconPosition:{...Bs,property:"background-position"},errorMessageFontSize:{...Bs,property:"font-size"},inputValueTextColor:[{...Qs,property:fs.inputValueTextColor},{...Rs,property:Es.inputValueTextColor}],inputPlaceholderTextColor:{...Qs,property:fs.inputPlaceholderColor},overlayItemBackgroundColor:{selector:"descope-combo-box",property:Es.overlayItemBackgroundColor},inputOutlineStyle:{...Ys,property:"outline-style"},inputOutlineColor:{...Ys,property:"outline-color"},inputOutlineWidth:{...Ys,property:"outline-width"},inputOutlineOffset:{...Ys,property:"outline-offset"},valueInputHeight:[{...Rs,property:Es.valueInputHeight}],valueInputMarginBottom:[{...Qs,property:fs.valueInputMarginBottom}],marginInlineStart:[{...Qs,property:fs.marginInlineStart},{...Rs,property:Es.marginInlineStart}]}}),Ze,ci,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{static get CountryCodes(){return js}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${Ds}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${Ds}>\n \t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.baseElement._forwardInputValue=()=>{},this.inputElement=this.shadowRoot.querySelector(Ds),ee(this.shadowRoot.host,this.inputElement,{includeAttrs:["size","bordered","minlength","maxlength","default-code","country-input-placeholder","phone-input-placeholder","disabled","restrict-countries","country-input-label","readonly","label","label-type","allow-alphanumeric-input","format-value","strict-validation","phone-input-type"]})}get countryCodeItems(){return this.inputElement?.countryCodeValue}get phoneNumberInputEle(){return this.inputElement?.phoneNumberInputEle}get countryCodeInputData(){return this.inputElement?.countryCodeInputData}get countryCodes(){return Array.from(this.inputElement.countryCodeInputData).map(t=>t.getAttribute("data-country-code"))}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t\tmin-width: 15em;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t}\n\t\t\t${Me(Fs.cssVarList)}\n\t\t\t${be("vaadin-text-field")}\n\t\t\t${Ie("vaadin-text-field")}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n\t\t\tdiv {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n\t\t\tvaadin-text-field {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\tvaadin-text-field[focus-ring]::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\t\t\tvaadin-text-field::part(label) {\n margin-left: 0;\n margin-right: 0;\n }\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tpadding: 0;\n\t\t\t\tbackground: transparent;\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\t\t\tdescope-phone-field-internal {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n direction: ltr;\n position: relative;\n\t\t\t}\n descope-phone-field-internal::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n outline-offset: calc(var(${Fs.cssVarList.inputBorderWidth}) * -1);\n pointer-events: none;\n }\n\t\t\tdescope-phone-field-internal > div {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t\tdescope-phone-field-internal .separator {\n\t\t\t\tflex: 0;\n\t\t\t\tborder: none;\n\t\t\t}\n\n\t\t\tdescope-combo-box {\n\t\t\t\tflex-shrink: 0;\n min-width: 5.75em;\n\t\t\t\t${Es.inputOutlineWidth}: 0;\n\t\t\t\t${Es.inputOutlineOffset}: 0;\n\t\t\t\t${Es.inputBorderWidth}: 0;\n\t\t\t\t${Es.inputBorderRadius}: 0;\n\t\t\t}\n\t\t\tdescope-text-field {\n\t\t\t\tflex-grow: 1;\n\t\t\t\t${fs.inputOutlineWidth}: 0;\n\t\t\t\t${fs.inputOutlineOffset}: 0;\n\t\t\t\t${fs.inputBorderWidth}: 0;\n\t\t\t\t${fs.inputBorderRadius}: 0;\n }\n\n :host([label-type="floating"]) vaadin-text-field::part(label) {\n display: none;\n }\n descope-text-field[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n descope-text-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n\t\t\tvaadin-text-field::part(input-field)::after {\n\t\t\t\tborder: none;\n\t\t\t}\n ${je("vaadin-text-field")}\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:ks}));customElements.define(ks,Fs);const Gs=Kt("phone-field-internal-input-box"),Hs=["disabled","size","readonly","phone-input-placeholder","name","maxlength","autocomplete","label-type","phone-input-type"],Js={"phone-input-placeholder":"placeholder","phone-input-type":"type"},$s=ui({componentName:Gs,baseSelector:"div"});customElements.define(Gs,class extends $s{static get observedAttributes(){return[].concat($s.observedAttributes||[],Hs)}#gt;constructor(){super(),this.innerHTML='\n <div>\n <descope-text-field tabindex="1" type="tel" bordered="false"></descope-text-field>\n </div>\n ',this.textField=this.querySelector("descope-text-field")}get phoneNumberInputEle(){return this.textField.shadowRoot.querySelector("input")}get defaultDialCode(){return t=this.getAttribute("default-code"),js.find(e=>e.code===t)?.dialCode;var t}get defaultCode(){return this.getAttribute("default-code")}get allowAlphanumericInput(){return"true"===this.getAttribute("allow-alphanumeric-input")}get minLength(){return parseInt(this.getAttribute("minlength"),10)||0}get maxLength(){return parseInt(this.getAttribute("maxlength"),10)||50}get restrictCountries(){return this.getAttribute("restrict-countries")?.split(",").filter(Boolean)||[]}get isFormatValue(){return"true"===this.getAttribute("format-value")}get isStrictValidation(){return"true"===this.getAttribute("strict-validation")}get value(){if(!this.textField.value)return"";if(!this.isStrictValidation)return this.#St();const t=this.#Lt();return t?.country&&t?.countryCallingCode&&t?.nationalNumber?`+${[t?.countryCallingCode,t?.nationalNumber].join("-")}`:this.textField.value}set value(t){this.textField.value=t}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.textField.focus()}),super.init?.(),this.textField.addEventListener("input",this.#At.bind(this)),this.handleFocusEventsDispatching([this.textField]),w(this.textField,this,{includeAttrs:["has-value"]}),w(this,this.textField,{includeAttrs:["phone-input-type"],mapAttrs:{"phone-input-type":"type"}})}getValidity(){const t=/^\+?\d{1,4}-?(?:\d-?){1,15}$/,e=this.#wt(this.textField.value||"");if(this.isRequired&&!this.textField.value)return{valueMissing:!0};if(this.textField.value){if(e.length<this.minLength)return{tooShort:!0};if(this.isStrictValidation&&this.textField.value&&!this.#Nt()||!this.isStrictValidation&&this.textField.value&&!t.test(this.value))return{patternMismatch:!0}}return{}}setSelectionRange(...t){this.textField.setSelectionRange(...t)}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback(t,e,i),e!==i&&Hs.includes(t)){const e=Js[t]||t;this.textField.setAttribute(e,i)}}#At(t){let e=this.#ft(t.target.value);this.isFormatValue&&this.#Et(e)&&(e=this.#kt(e)),t.target.value=e}#St(){if(!this.defaultDialCode)return this.textField.value;const t=this.#Ot(this.textField.value),e=this.#wt(t);return[this.defaultDialCode,e].join("-")}#Lt(){return this.defaultDialCode?(0,u.l)([this.defaultDialCode,this.#wt(this.textField.value)].filter(Boolean).join("")):(0,u.l)(this.textField.value)}#wt(t){return t.replace(/\D/g,"")}#Ot(t){if("+"===this.textField.value?.[0]){const e=new RegExp(`^\\${this.defaultDialCode}`);return t.replace(e,"")}return t}#Nt(){const t=(0,u.l)(this.value);return!(!t||!t.isValid?.()||!t.country||!this.#zt(t.country)||this.defaultCode&&this.defaultCode!==t.country)}#zt(t){return!this.restrictCountries.length||this.restrictCountries.includes(t)}#ft(t){if(t=t.replace(/^-+/,"").replace(/(?!^)\+/g,"").replace("--","-").replace("+-","+"),!this.allowAlphanumericInput){const e=/^[+\d-\(\)]+$/;t=t.split("").filter(t=>e.test(t)).join("")}return t}#kt(t=""){const e=this.defaultCode||this.#Vt(t);return e?(this.#gt&&this.#gt.country===e||(this.#gt=new p.Q(e)),this.#gt.reset(),this.#gt.input(t)||t):t}#Vt(t){const e=(0,u.l)(t);return e?.country||""}#Et(t){return!!(t=>{const e=t.match(/\(/g),i=t.match(/\)/g);return e?.length===i?.length})(t)}});const _s=Xn.cssVarList,qs=Kt("phone-input-box-field"),{host:Xs,label:Ks,inputElement:ta,requiredIndicator:ea,inputField:ia,internalComponent:oa,internalComponentAfter:na,phoneInput:ra,errorMessage:sa,helperText:aa}={host:{selector:()=>":host"},label:{selector:"::part(label)"},inputElement:{selector:"input"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},inputField:{selector:()=>"vaadin-text-field::part(input-field)"},internalComponent:{selector:"descope-phone-field-internal-input-box"},internalComponentAfter:{selector:"descope-phone-field-internal-input-box::after"},phoneInput:{selector:()=>"descope-text-field"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"}},la=Ft(Be({mappings:{fontSize:[Xs,ia,{selector:Xn.componentName,property:Xn.cssVarList.fontSize}],fontFamily:[Ks,sa,aa],hostWidth:{...Xs,property:"width"},hostMinWidth:{...Xs,property:"min-width"},hostDirection:{...Xs,property:"direction"},inputHorizontalPadding:[{...ra,property:"padding-left"},{...ra,property:"padding-right"}],labelFontSize:{...Ks,property:"font-size"},labelFontWeight:{...Ks,property:"font-weight"},inputValueFontWeight:{...ra,property:_s.inputValueFontWeight},inputPlaceholderFontWeight:{...ra,property:_s.inputPlaceholderFontWeight},helperTextFontWeight:{...aa,property:"font-weight"},errorMessageFontWeight:{...sa,property:"font-weight"},labelTextColor:[{...Ks,property:"color"},{...Ks,property:"-webkit-text-fill-color"},{...ea,property:"color"}],labelRequiredIndicator:{...ea,property:"content"},errorMessageTextColor:{...sa,property:"color"},errorMessageIcon:{...sa,property:"background-image"},errorMessageIconSize:{...sa,property:"background-size"},errorMessageIconPadding:{...sa,property:"padding-inline-start"},errorMessageIconRepeat:{...sa,property:"background-repeat"},errorMessageIconPosition:{...sa,property:"background-position"},errorMessageFontSize:{...sa,property:"font-size"},inputValueTextColor:{...ra,property:_s.inputValueTextColor},inputPlaceholderTextColor:{...ra,property:_s.inputPlaceholderColor},inputBorderStyle:{...na,property:"border-style"},inputBorderWidth:{...na,property:"border-width"},inputBorderColor:{...na,property:"border-color"},inputBorderRadius:[{...oa,property:"border-radius"},{...na,property:"border-radius"}],inputOutlineStyle:{...oa,property:"outline-style"},inputOutlineColor:{...oa,property:"outline-color"},inputOutlineWidth:{...oa,property:"outline-width"},inputOutlineOffset:{...oa,property:"outline-offset"},labelPosition:{...Ks,property:"position"},labelTopPosition:{...Ks,property:"top"},labelHorizontalPosition:[{...Ks,property:"left"},{...Ks,property:"right"}],inputTransformY:{...Ks,property:"transform"},inputTransition:{...Ks,property:"transition"},marginInlineStart:{...Ks,property:"margin-inline-start"},valueInputHeight:{...ta,property:"height"},valueInputMarginBottom:{selector:Xn.componentName,property:_s.valueInputMarginBottom}}}),Ze,ci,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{static get CountryCodes(){return js}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n\t\t\t\t<${Gs}\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\tslot="input"\n\t\t\t\t></${Gs}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Gs),S(this,this.inputElement,{includeAttrs:["has-value"]}),ee(this.shadowRoot.host,this.inputElement,{includeAttrs:["size","minlength","maxlength","default-code","disabled","phone-input-placeholder","label","label-type","allow-alphanumeric-input","restrict-countries","format-value","strict-validation","data-errormessage-type-mismatch","phone-input-type"]})}get phoneNumberInputEle(){return this.inputElement?.phoneNumberInputEle}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n box-sizing: border-box;\n }\n ${Me(la.cssVarList)}\n ${be("vaadin-text-field")}\n ${Ie("vaadin-text-field")}\n \n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\n vaadin-text-field {\n width: 100%;\n box-sizing: border-box;\n padding: 0;\n }\n vaadin-text-field[focus-ring]::part(input-field) {\n box-shadow: none;\n }\n vaadin-text-field::before {\n height: 0;\n }\n vaadin-text-field::part(input-field) {\n padding: 0;\n background: transparent;\n -webkit-mask-image: none;\n }\n descope-phone-field-internal-input-box {\n -webkit-mask-image: none;\n padding: 0;\n width: 100%;\n }\n descope-phone-field-internal-input-box > div {\n width: 100%;\n }\n descope-phone-field-internal-input-box descope-text-field {\n ${_s.inputOutlineWidth}: 0;\n ${_s.inputOutlineOffset}: 0;\n }\n descope-phone-field-internal-input-box::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n pointer-events: none;\n }\n descope-text-field {\n flex-grow: 1;\n width: 100%;\n direction: ltr;\n }\n vaadin-text-field[readonly] > input:placeholder-shown {\n opacity: 1;\n }\n vaadin-text-field::part(input-field)::after {\n border: none;\n }\n\n vaadin-text-field[label-type="floating"]:not([focused])[readonly] input:placeholder-shown {\n opacity: 0;\n }\n vaadin-text-field[label-type="floating"]:not([focused])[disabled] input:placeholder-shown {\n opacity: 0;\n }\n\n ${je("vaadin-text-field")}\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:qs}));customElements.define(qs,la);const da=Kt("new-password-internal"),ca=(t,e)=>t.replace(/{{(\w+)+}}/g,(t,i)=>e?.[i]||t),ua=Kt("policy-validation"),pa=["data","active-policies","overrides","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-actual-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email"],ha=["label","value",...pa];class ga extends(_e({componentName:ua,baseSelector:":host > div"})){#Ut;#Yt=[];#Wt;static get observedAttributes(){return ha}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <div class="label"></div>\n <ul></ul>\n </div>\n\t\t',f("\n :host > div {\n width: 100%;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n }\n .label {\n max-width: 100%;\n text-wrap: wrap;\n overflow-wrap: break-word;\n }\n .hide-label .label {\n display: none;\n }\n ul {\n display: flex;\n flex-direction: column;\n padding: 0;\n margin: 0;\n }\n ul, li {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n li::before {\n display: inline-block;\n width: 1em;\n text-align: center;\n }\n ",this),this.panel=this.shadowRoot.querySelector(":host > div"),this.label=this.shadowRoot.querySelector(".label"),this.list=this.shadowRoot.querySelector("ul")}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i){if("label"===t&&this.updateLabel(i),pa.includes(t)){if("data"===t)try{this.availablePolicies=JSON.parse(i)}catch{console.error("Failed to set available policies")}if("active-policies"===t&&(this.#Yt=(i||"").split(",")),"data-password-policy-value-minlength"===t){const t=Number(i);!Number.isNaN(t)&&t>0&&(this.#Wt={...this.#Wt,minlength:{value:`${t}`}})}if("data-password-policy-value-passwordstrength"===t){const t=parseInt(i);!Number.isNaN(t)&&t>=0&&(this.#Wt={...this.#Wt,passwordstrength:{...this.#Wt?.passwordstrength,expected:t}})}if("data-password-policy-actual-passwordstrength"===t){const t=Number(i);!Number.isNaN(t)&&t>=0&&(this.#Wt={...this.#Wt,passwordstrength:{...this.#Wt?.passwordstrength,actual:t}})}if("data-password-policy-value-disallowedchars"===t)if(i)this.#Wt={...this.#Wt,disallowedchars:{...this.#Wt?.disallowedchars,value:i}};else if(this.#Wt?.disallowedchars){const{disallowedchars:t,...e}=this.#Wt;this.#Wt=e}if("data-password-policy-value-email"===t)if(i)this.#Wt={...this.#Wt,disallowemail:{...this.#Wt?.disallowemail,expected:i}};else if(this.#Wt?.disallowemail){const{disallowemail:t,...e}=this.#Wt;this.#Wt=e}}this.renderItems(this.#Ut,this.#Yt,this.#Wt)}}get availablePolicies(){return this.#Ut||[]}set availablePolicies(t){this.#Ut=t}get value(){return this.getAttribute("value")||""}getStrengthScore(){return this.value.length}compareValues(t,e,i){switch(t.toUpperCase()){case"GTE":return i>=e;case"GT":return i>e;case"LTE":return i<=e;case"LT":return i<e;case"EQ":return i===e;case"NEQ":return i!==e;default:throw new Error(`Invalid comparison type: ${t}`)}}validate(){let t=this.#Ut;return this.#Wt&&(t=this.#Ut.map(t=>{const e=this.#Wt[t.id];return e?{...t,data:e}:t})),this.#Yt.reduce((e,i)=>{const o=t.find(t=>t.id===i);if(!o)return e;const{pattern:n,message:r,data:s,compare:a}=o,l="string"==typeof a?a.toUpperCase():a;if(!n&&!a||!r)return e;const d={message:ca(r,s),id:i};if(n){const t=new RegExp(ca(n,s));d.valid=t.test(this.value)}else if("STR_NEQ_CI"===l){const t=(s?.expected??"").toLowerCase(),e=(this.value??"").toLowerCase();if(t&&e){const i=t.indexOf("@"),o=i>0?t.slice(0,i):t;d.valid=e!==t&&e!==o}else d.valid=!0}else a&&(d.valid=this.compareValues(l,s?.expected??-1,s?.actual??-1));return e.push(d),e},[])}get isValid(){return!this.validate().some(({valid:t})=>!1===t)}buildValidationItem({valid:t,message:e}){const i=this.value?t:"none",o=document.createElement("li");o.className="item",o.dataset.valid=i;const n=document.createElement("span");return n.className="message",n.textContent=e??"",o.appendChild(n),o}renderItems(t,e){t&&e.length&&this.list.replaceChildren(...this.validate().map(this.buildValidationItem.bind(this)))}updateLabel(t){t?(this.label.textContent=t,this.classList.remove("hide-label")):(this.classList.add("hide-label"),this.label.textContent="")}}const{host:Ma,item:ma,symbolDefault:ya,symbolSuccess:ba,symbolError:Na}={host:{selector:()=>":host > div"},item:{selector:()=>".item"},symbolDefault:{selector:()=>'.item[data-valid="none"]::before'},symbolSuccess:{selector:()=>'.item[data-valid="true"]::before'},symbolError:{selector:()=>'.item[data-valid="false"]::before'}},Ia=Ft(Be({componentNameOverride:Kt("input-wrapper")}),Be({mappings:{hostDirection:{selector:()=>":host",property:"direction"},fontSize:{},fontFamily:{},padding:{},borderWidth:{...Ma,property:"border-width"},borderStyle:{...Ma,property:"border-style"},borderColor:{...Ma,property:"border-color"},borderRadius:{...Ma,property:"border-radius"},backgroundColor:{...Ma,property:"background-color"},textColor:{property:"color"},labelMargin:{...Ma,property:"gap"},itemsSpacing:{...ma,property:"line-height"},itemSymbolSuccessColor:{...ba,property:"color"},itemSymbolErrorColor:{...Na,property:"color"},itemSymbolDefault:{...ya,property:"content"},itemSymbolSuccess:{...ba,property:"content"},itemSymbolError:{...Na,property:"content"}}}),Ze,Fe)(ga),xa=Kt("new-password"),ja=Ia.cssVarList,{host:Ta,label:Da,internalInputsWrapper:za,errorMessage:va,helperText:Ca,passwordInput:Sa,policyPreview:La}={host:{selector:()=>":host"},label:{selector:"::part(label)"},internalInputsWrapper:{selector:"descope-new-password-internal .wrapper"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},passwordInput:{selector:"descope-password"},policyPreview:{selector:"descope-policy-validation"}},Aa=Ft(Be({mappings:{fontSize:[Ta,{},{selector:us.componentName,property:us.cssVarList.fontSize}],fontFamily:[Da,va,Ca],labelFontSize:{...Da,property:"font-size"},labelFontWeight:{...Da,property:"font-weight"},inputValueFontWeight:{...Sa,property:us.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{...Sa,property:us.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{...Ca,property:"font-weight"},errorMessageFontWeight:{...va,property:"font-weight"},labelTextColor:{...Da,property:"color"},errorMessageTextColor:{...va,property:"color"},errorMessageIcon:{...va,property:"background-image"},errorMessageIconSize:{...va,property:"background-size"},errorMessageIconPadding:{...va,property:"padding-inline-start"},errorMessageIconRepeat:{...va,property:"background-repeat"},errorMessageIconPosition:{...va,property:"background-position"},errorMessageFontSize:{...va,property:"font-size"},hostWidth:{...Ta,property:"width"},hostMinWidth:{...Ta,property:"min-width"},hostDirection:[{...Ta,property:"direction"},{...Sa,property:us.cssVarList.hostDirection}],inputsRequiredIndicator:{...Ta,property:"content"},spaceBetweenInputs:{...za,property:"gap"},policyPreviewBackgroundColor:{...La,property:ja.backgroundColor},policyPreviewPadding:{...La,property:ja.padding},valueInputHeight:{...Sa,property:us.cssVarList.valueInputHeight},valueInputMarginBottom:{...Sa,property:us.cssVarList.valueInputMarginBottom}}}),Ze,ri({proxyProps:["value","selectionStart"]}),t=>class extends t{init(){super.init?.();const t=document.createElement("template"),e=this.getAttribute("external-input");t.innerHTML=`\n\t\t\t<${da}\n\t\t\t\tname="new-password"\n\t\t\t\ttabindex="-1"\n\t\t\t\tslot="input"\n external-input="${e}"\n\t\t\t>\n </${da}>\n\t\t\t`,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(da),"true"===this.getAttribute("external-input")&&this.initExternalInput(),ee(this,this.inputElement,{includeAttrs:["password-label","password-placeholder","confirm-label","confirm-placeholder","full-width","size","bordered","label","has-confirm","invalid","readonly","disabled","draggable","has-validation","policy-label","active-policies","available-policies","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email","label-type","manual-visibility-toggle"]})}createSlottedExternalInput(t,e){const i=t.querySelector("input"),o=document.createElement("slot"),n=i.getAttribute("slot");o.setAttribute("name",e),o.setAttribute("slot",n),t.appendChild(o),i.setAttribute("slot",e),i.setAttribute("name",this.getAttribute("name")),i.setAttribute("data-hidden-input","true"),this.appendChild(i)}initExternalInput(){this.passwordInput=this.inputElement.querySelector('[data-id="password"]'),this.confirmInput=this.inputElement.querySelector('[data-id="confirm"]'),this.createSlottedExternalInput(this.passwordInput,"external-password-input"),this.createSlottedExternalInput(this.confirmInput,"external-confirm-input")}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-block;\n\t\t\tmax-width: 100%;\n\t\t\tbox-sizing: border-box;\n\t\t}\n :host ::part(error-message) {\n direction: ltr;\n }\n\t\t${Me(us.cssVarList)}\n\t\tvaadin-text-field {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t\tvaadin-text-field::part(input-field) {\n\t\t\tmin-height: 0;\n\t\t\tbackground: transparent;\n\t\t\tbox-shadow: none;\n\t\t\tpadding: 0;\n\t\t}\n\t\tvaadin-text-field::part(input-field)::after {\n\t\t\tbackground: transparent;\n\t\t\topacity: 0;\n\t\t}\n\t\tdescope-new-password-internal {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n\t\t\twidth: 100%;\n\t\t\tpadding: 0;\n\t\t}\n\t\tdescope-new-password-internal > .wrapper {\n -webkit-mask-image: none;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t}\n\t\tdescope-password {\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t}\n\t\tdescope-new-password-internal vaadin-password-field::before {\n\t\t\theight: initial;\n\t\t}\n descope-policy-validation {\n margin-top: 8px;\n display: flex;\n }\n .hidden {\n display: none;\n }\n\t\t`,excludeAttrsSync:["tabindex","style"],componentName:xa}));customElements.define(ua,Ia);const wa=/^password-/,fa=/^confirm-/,Ea=(t,e)=>t.replace(e,""),ka=["password-label","password-placeholder"],Oa=["confirm-label","confirm-placeholder"],Va=["has-validation","policy-label","available-policies","active-policies","data-password-policy-value-minlength","data-password-policy-value-passwordstrength","data-password-policy-value-disallowedchars","data-password-policy-value-email","manual-visibility-toggle"],Ua=["has-confirm","disabled","bordered","size","full-width","maxlength","invalid","readonly","draggable","autocomplete","label-type","manual-visibility-toggle"],Ya=[].concat(Ua,ka,Oa,Va),Wa=ui({componentName:da,baseSelector:"div"});customElements.define(da,class extends Wa{static get observedAttributes(){return[].concat(Wa.observedAttributes||[],Ya)}constructor(){super(),this.innerHTML='\n\t\t\t<div class="wrapper"></div>\n\t\t',this.wrapperEle=this.querySelector(".wrapper")}get value(){return this.passwordInput?.value||""}set value(t){t!==this.value&&(this.passwordInput.value=t)}get hasConfirm(){return"true"===this.getAttribute("has-confirm")}onHasConfirmChange(t){this.confirmInput.classList.toggle("hidden",!t)}onHasValidationChange(t){this.policyPanel.classList.toggle("hidden",!t)}get hasValidation(){return"true"===this.getAttribute("has-validation")}getValidity(){if(this.isRequired&&!this.value)return{valueMissing:!0};if(this.value&&!this.policyPanel.isValid)return{typeMismatch:!0};if(this.hasConfirm&&this.confirmInput&&this.value!==this.confirmInput.value)return{patternMismatch:!0};const t=this.getAttribute("minlength"),e=parseInt(t,10)||0;return this.value.length>=e?{}:{tooShort:!0}}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.passwordInput.focus()}),super.init?.(),this.renderInputs(this.hasConfirm,this.hasValidation)}renderInputs(){const t="true"===this.getAttribute("external-input"),e=`\n <div class="password-input-container">\n <descope-password\n autocomplete="new-password"\n manual-visibility-toggle="true"\n data-id="password"\n external-input="${t}"\n ></descope-password>\n <descope-policy-validation></descope-policy-validation>\n </div>\n <descope-password\n autocomplete="new-password"\n manual-visibility-toggle="true"\n external-input="${t}"\n data-id="confirm"\n ></descope-password>\n `;this.wrapperEle.innerHTML=e,this.passwordInput=this.querySelector('[data-id="password"]'),this.confirmInput=this.querySelector('[data-id="confirm"]'),this.policyPanel=this.querySelector("descope-policy-validation"),this.passwordStrength=this.querySelector("descope-password-strength"),this.inputs=[this.passwordInput,this.confirmInput],this.initInputs(),this.passwordInput.addEventListener("input",t=>{this.passwordStrength?.addEventListener("score-changed",({detail:t})=>{this.policyPanel.setAttribute("data-password-policy-actual-passwordstrength",t)},{once:!0}),this.passwordStrength?.setAttribute("value",t.target.value),this.policyPanel.setAttribute("value",t.target.value)}),ee(this,this.policyPanel,{includeAttrs:Va,mapAttrs:{"policy-label":"label","available-policies":"data"}})}handleIndicatorStyle(){this.inputs.forEach(t=>{f(`\n\t\t\t\t:host ::part(required-indicator)::after {\n\t\t\t\t\tcontent: var(${Aa.cssVarList.inputsRequiredIndicator});\n width: 1em;\n text-align: center;\n\t\t\t\t}\n :host ::part(required-indicator) {\n display: inline-flex;\n }\n\t\t\t\t`,t)})}get isInvalid(){return this.hasAttribute("invalid")&&"false"!==this.getAttribute("invalid")}handleInputsInvalidAttribute(){this.inputs.forEach(t=>{t&&$t(t,e=>{if(e.includes("invalid")){const e=t.getAttribute("invalid"),i=this.getAttribute("invalid");this.isInvalid&&i!==e&&t.setAttribute("invalid","true")}},{})})}initInputs(){this.handleIndicatorStyle(),this.handleInputsInvalidAttribute(),this.handleFocusEventsDispatching(this.inputs)}async togglePasswordStrength(){this.activePolicies.includes("passwordstrength")?this.passwordStrength||(await Promise.resolve().then(function(){return aj}),this.passwordStrength=document.createElement("descope-password-strength"),this.passwordStrength.setAttribute("options","Very weak,Weak,Average,Strong,Very strong"),this.passwordStrength.setAttribute("value",this.passwordInput.value||""),this.passwordStrength.setAttribute("st-host-direction",this.getAttribute("st-host-direction")),this.passwordStrength.setAttribute("full-width","true"),this.querySelector(".password-input-container").insertBefore(this.passwordStrength,this.policyPanel)):this.passwordStrength&&(this.passwordStrength.remove(),this.passwordStrength=null)}get activePolicies(){return(this.getAttribute("active-policies")||"").split(",")}toggleBooleanAttribute(t,e,i){null===i?t?.removeAttribute(e):t?.setAttribute(e,i)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("has-validation"===t?this.onHasValidationChange("true"===i):"has-confirm"===t?this.onHasConfirmChange("true"===i):Ua.includes(t)?this.inputs.forEach(e=>this.toggleBooleanAttribute(e,t,i)):ka.includes(t)?this.toggleBooleanAttribute(this.passwordInput,Ea(t,wa),i):Oa.includes(t)&&this.toggleBooleanAttribute(this.confirmInput,Ea(t,fa),i),"active-policies"===t&&this.togglePasswordStrength())}}),customElements.define(xa,Aa);const Ra=Kt("recaptcha"),Qa=["enabled","site-key","action","enterprise","variant"],Pa=_e({componentName:Ra,baseSelector:":host > div"}),Ba=Ft(Ze)(class extends Pa{static get observedAttributes(){return Qa.concat(Pa.observedAttributes||[])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("enabled"===t&&this.#Rt("true"===i),"variant"===t&&this.updatePreview())}renderRecaptcha(t){this.children.length?this.updatePreview():this.toggleRecaptchaEles(t)}displayRecaptcha(){this.isWidget?this.displayWidget():this.displayDeprecated()}displayWidget(){this.mockRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="",this.depercatedRecaptchaEle.style.display="none"}hideRecaptcha(){this.recaptchaWidgetEle.style.display="none",this.depercatedRecaptchaEle.style.display="none",this.mockRecaptchaEle.style.display=""}displayDeprecated(){this.mockRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="none",this.depercatedRecaptchaEle.style.display=""}toggleRecaptchaEles(t){t?this.displayRecaptcha():this.hideRecaptcha()}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="badge">\n <span id="recaptcha"></span>\n <span id="recaptcha-widget"></span>\n <input id="recaptcha-widget-input" type="hidden" name="recaptcha-widget" required />\n <img src="https://imgs.descope.com/connectors/templates/recaptcha/recaptcha-big.png" alt="recaptcha"/>\n </div>\n <slot></slot>\n\t',f('\n :host {\n display: inline-flex;\n }\n :host > div:not(.hidden) {\n display: flex;\n }\n :host #recaptcha .grecaptcha-badge {\n box-shadow: none !important;\n }\n :host #recaptcha .grecaptcha-logo {\n height: 100%;\n }\n :host #recaptcha {\n\t\t\t\twidth: 100%;\n height: 100%;\n\t\t\t}\n :host #recaptcha-widget {\n width: 100%;\n height: 100%;\n }\n :host #recaptcha-widget-input {\n display: none;\n }\n :host img {\n width: 256px;\n }\n :host([full-width="true"]) {\n width: 100%;\n }\n .hidden {\n display: none;\n }\n ',this),this.depercatedRecaptchaEle=this.baseElement.querySelector("#recaptcha"),this.recaptchaWidgetEle=this.baseElement.querySelector("#recaptcha-widget"),this.recaptchaWidgetInputEle=this.baseElement.querySelector("#recaptcha-widget-input"),this.mockRecaptchaEle=this.baseElement.querySelector("img"),this.badge=this.shadowRoot.querySelector(".badge")}init(){super.init?.(),_t(this,this.updatePreview.bind(this))}updatePreview(){this.children.length?(this.depercatedRecaptchaEle.style.display="none",this.recaptchaWidgetEle.style.display="none",this.mockRecaptchaEle.style.display="none",this.badge.classList.add("hidden")):(this.toggleRecaptchaEles(this.enabled),this.badge.classList.remove("hidden"))}getValidity(){return this.isWidget?this.recaptchaWidgetInputEle.value?{}:{valueMissing:!0}:{}}checkValidity(){return!this.isWidget||!!this.recaptchaWidgetInputEle.value}get enterprise(){return"true"===this.getAttribute("enterprise")}get siteKey(){return this.getAttribute("site-key")}get action(){return this.getAttribute("action")||"load"}get enabled(){return"true"===this.getAttribute("enabled")}get variant(){return this.getAttribute("variant")||"text"}get isWidget(){return"widget"===this.variant}get scriptURL(){const t=new URL("https://www.google.com/recaptcha/");return t.pathname+=(this.enterprise?"enterprise":"api")+".js",t.searchParams.append("onload","onRecaptchaLoadCallback"),t.searchParams.append("render","explicit"),t.toString()}#Rt(t){this.renderRecaptcha(t),this.isWidget||t&&(this.#Qt(),document.getElementById("recaptcha-script")?window.onRecaptchaLoadCallback():this.#Pt())}#Pt(){const t=document.createElement("script");t.src=this.scriptURL,t.async=!0,t.id="recaptcha-script",t.defer=!0,document.body.appendChild(t)}get grecaptchaInstance(){return this.enterprise?window.grecaptcha?.enterprise:window.grecaptcha}#Bt(t,e,i){this.isConnected&&t.ready(()=>{const o=e.querySelector('textarea[name^="g-recaptcha-response"]')?.cloneNode();if(o&&(o.style.display="none",document.body.appendChild(o)),!this.siteKey)return;const n=t?.execute(i,{action:this.action});n.then((n,r)=>{r?console.warn("could not execute recaptcha",r):(this.updateComponentsContext({risktoken:n,riskaction:this.action}),this.isConnected&&setTimeout(()=>{this.#Bt(t,e,i)},11e4)),o.remove()})})}#Qt(){window.onRecaptchaLoadCallback=()=>{const t=this.depercatedRecaptchaEle;if(t.hasChildNodes())return;const{grecaptchaInstance:e}=this;e&&setTimeout(()=>{const i=e.render(t,{sitekey:this.siteKey,badge:"inline",size:"invisible"});this.#Bt(e,t,i)},0)}}});customElements.define(Ra,Ba);const Za=Kt("upload-file"),Fa=["title","description","button-label","accept","readonly","button-mode","button-variant","required","size","icon"],Ga=ui({componentName:Za,baseSelector:":host > div"}),Ha=Oo.cssVarList,{host:Ja,wrapper:$a,icon:_a,title:qa,description:Xa,requiredIndicator:Ka}={host:{selector:()=>":host"},wrapper:{selector:()=>":host > div"},icon:{selector:()=>"::slotted(*)"},title:{selector:()=>".title"},description:{selector:()=>".description"},requiredIndicator:{selector:()=>".title::after"}},tl=Ft(Be({componentNameOverride:Kt("input-wrapper")}),Be({mappings:{fontSize:{},fontFamily:{},borderColor:{},borderWidth:{},borderStyle:{},borderRadius:{},hostHeight:{...Ja,property:"height"},hostWidth:{...Ja,property:"width"},hostPadding:{property:"padding"},hostDirection:[{...Ja,property:"direction"},{selector:()=>Oo.componentName,property:Ha.hostDirection}],gap:{...$a},lineHeight:{...$a,property:"line-height"},titleFontSize:{...qa,property:"font-size"},titleFontWeight:{...qa,property:"font-weight"},descriptionFontSize:{...Xa,property:"font-size"},labelTextColor:[{...qa,property:"color"},{...Xa,property:"color"}],iconSize:{..._a,property:"width"},requiredIndicator:{...Ka,property:"content"}}}),Ze,Fe)(class extends Ga{static get observedAttributes(){return Fa.concat(Ga.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t\t<div>\n <slot name="icon"></slot>\n\t\t\t\t<div class="title">\n\t\t\t\t\t<span class="title-text"></span>\n\t\t\t\t</div>\n\t\t\t\t<div class="description"></div>\n\t\t\t\t<div class="button-wrapper">\n\t\t\t\t\t<input type="file" tabindex="-1" aria-labelledby="button"/>\n\t\t\t\t\t<descope-button id="button"></descope-button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t',f("\n :host {\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\t\t\t:host > div {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\ttext-align: center;\n\t\t\t\tflex-direction: column;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t.button-wrapper {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: fit-content;\n\t\t\t}\n\t\t\tinput {\n\t\t\t\tposition: absolute;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t\topacity: 0;\n\t\t\t}\n ",this),this.wrapperEle=this.shadowRoot.querySelector(".wrapper"),this.inputElement=this.shadowRoot.querySelector("input"),this.button.onclick=()=>this.inputElement.click(),this.inputElement.onchange=async t=>{const e=t.target.files;var i;e.length&&(this.value=await(i=e[0],new Promise(t=>{const e=new FileReader;e.onload=e=>t(e.target.result),e.readAsDataURL(i)})),this.updateDescription((t=>t.name.replace(/^.*\\/,""))(e[0])))},this.oninvalid=()=>{this.setAttribute("invalid","true")}}getValidity(){return this.isRequired&&!this.input.value?{valueMissing:!0}:(this.removeAttribute("invalid"),{})}initInputs(){this.rootElement.querySelector("descope-button").onclick=()=>this.inputElement.click()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("title"===t?this.updateTitle(i):"description"===t?this.updateDescription(i):"button-label"===t?this.updateButtonLabel(i):"button-mode"===t?this.updateButtonMode(i):"button-variant"===t?this.updateButtonVariant(i):"size"===t?this.updateButtonSize(i):"accept"===t?this.updateInputAccept(i):"readonly"===t&&this.updateReadOnly(i))}get button(){return this.shadowRoot.querySelector("descope-button")}get input(){return this.shadowRoot.querySelector("input")}get title(){return this.shadowRoot.querySelector(".title-text")}get description(){return this.shadowRoot.querySelector(".description")}get icon(){return this.shadowRoot.querySelector(".icon")}updateTitle(t){this.title.textContent=t}updateDescription(t){this.description.textContent=t}updateButtonLabel(t){this.button.textContent=t}updateButtonSize(t){this.button.setAttribute("size",t)}updateButtonMode(t){this.button.setAttribute("mode",t)}updateButtonVariant(t){this.button.setAttribute("variant",t)}updateInputAccept(t){this.input.setAttribute("accept",t)}updateReadOnly(t){"true"===t?this.input.setAttribute("disabled","true"):this.input.removeAttribute("disabled")}});customElements.define(Za,tl);const el=t=>{class e extends(ui({componentName:t,baseSelector:"slot"})){constructor(){super(),this.innerHTML='\n <slot part="wrapper"></slot>\n '}dispatchChange=qe.bind(this,"change");get items(){return this.querySelector("slot").assignedElements()}get isReadonly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"md"}get value(){console.warn("get value","is not implemented")}set value(t){console.warn("set value","is not implemented")}onSizeChange(){this.items.forEach(t=>{t.setAttribute("size",this.size)})}onReadOnlyChange(){this.querySelector("slot").toggleAttribute("inert",this.isReadonly)}getValidity(){console.warn("getValidity","is not implemented")}onObservedAttributeChange(t){t.forEach(t=>{switch(t){case"size":this.onSizeChange();break;case"readonly":this.onReadOnlyChange()}})}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.items[0]?.focus()}),super.init?.(),$t(this,this.onObservedAttributeChange.bind(this),{includeAttrs:["size","readonly"]})}}return e},il=Kt("button-selection-group-internal");class ol extends(el(il)){getSelectedNode(){return this.items.find(t=>t.hasAttribute("selected"))}get allowDeselect(){return"true"===this.getAttribute("allow-deselect")}removeSelected(){this.getSelectedNode()?.removeAttribute("selected")}onClick(t){t.target!==t.currentTarget&&(t.target===this.getSelectedNode()&&this.allowDeselect?this.removeSelected():this.setSelected(t.target),this.dispatchChange())}setSelected(t){t!==this.getSelectedNode()&&(this.removeSelected(),t?.setAttribute("selected","true"))}get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){setTimeout(()=>{this.defaultValue&&(this.value=this.defaultValue,this.setCustomValidity())})}get value(){return this.getSelectedNode()?.value||""}set value(t){const e=this.items.find(e=>e.value===t);this.setSelected(e)}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{}}init(){super.init(),this.setDefaultValue(),this.querySelector("slot").addEventListener("click",this.onClick.bind(this))}}const nl=t=>class extends t{#tt=({value:t,label:e})=>`<descope-button-selection-group-item value="${t}">${e}</descope-button-selection-group-item>`;#U;get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}get size(){return this.inputElement?.size}get data(){if(this.#U)return this.#U;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#U=t,this.renderItems())}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.renderItems(),$t(this,this.renderItems.bind(this),{includeAttrs:["data"]}),_t(this,({addedNodes:t})=>{t.forEach(t=>{t.setAttribute("size",this.size)})})}},{host:rl,label:sl,requiredIndicator:al,internalWrapper:ll,errorMessage:dl}={host:{selector:()=>":host"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},internalWrapper:{selector:()=>':host [part="internal-component"] slot'},errorMessage:{selector:"::part(error-message)"}},cl={hostWidth:{...rl,property:"width"},hostDirection:{...rl,property:"direction"},fontFamily:rl,labelTextColor:[{...sl,property:"color"},{...al,property:"color"}],labelRequiredIndicator:{...al,property:"content"},errorMessageTextColor:{...dl,property:"color"},errorMessageIcon:{...dl,property:"background-image"},errorMessageIconSize:{...dl,property:"background-size"},errorMessageIconPadding:{...dl,property:"padding-inline-start"},errorMessageIconRepeat:{...dl,property:"background-repeat"},errorMessageIconPosition:{...dl,property:"background-position"},errorMessageFontSize:{...dl,property:"font-size"},itemsSpacing:{...ll,property:"gap"}},ul=`\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t\t\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n\n\t\t\t:host::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t:host::part(input-field)::after {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\n [part="internal-component"] {\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n display: inline-block;\n\t\t\t\tmin-height: initial;\n\t\t\t}\n\n [part="internal-component"] slot {\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tpadding: 0;\n\t\t\t\toverflow: hidden;\n\t\t\t\t-webkit-mask-image: none;\n\t\t\t}\n\n\t\t\tvaadin-text-field {\n\t\t\t\tmargin: 0;\n\t\t\t\tpadding: 0;\n\t\t\t\twidth: 100%\n\t\t\t}\n\n\t\t\tvaadin-text-field::before {\n\t\t\t\theight: 0;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly] > input:placeholder-shown {\n\t\t\t\topacity: 1;\n\t\t\t}\n\n\t\t\tvaadin-text-field[readonly]::part(input-field)::after {\n\t\t\t\tborder: 0 solid;\n\t\t\t}\n\n\t\t\tvaadin-text-field::part(input-field) {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n ${je("vaadin-text-field")}\n\t\t\t${be("vaadin-text-field")}\n `,pl=Kt("button-selection-group"),hl=Ft(Be({mappings:{...cl}}),Ze,ri({proxyProps:["value","selectionStart"]}),Fe,nl,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${il}\n \tname="button-selection-group"\n \tslot="input"\n tabindex="-1"\n part="internal-component"\n >\n <slot></slot>\n </${il}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(il),ee(this,this.inputElement,{includeAttrs:["size","default-value","allow-deselect"]})}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>ul,excludeAttrsSync:["tabindex","style"],componentName:pl}));customElements.define(il,ol);const gl=Kt("button-selection-group-item");class Ml extends(_e({componentName:gl,baseSelector:":host > descope-button"})){get size(){return this.getAttribute("size")||"md"}get variant(){return this.getAttribute("variant")||"contained"}get value(){return this.getAttribute("value")||""}set value(t){this.setAttribute("value",t)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <descope-button variant="${this.variant}" size="${this.size}" mode="primary">\n <slot></slot>\n </descope-button>\n\t`,f("\n descope-button {\n max-width: 100%;\n }\n\t\t\tdescope-button > slot {\n\t\t\t\twidth: 100%;\n\t\t\t\toverflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n\t\t\t}\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n max-width: 100%\n\t\t\t}\n ",this),ee(this,this.baseElement,{includeAttrs:["size","variant"]}),ee(this.baseElement,this,{includeAttrs:["focused","active"]})}handleFocus(){this.shadowRoot.querySelector("descope-button")?.focus()}focus(){this.handleFocus()}init(){super.init(),this.addEventListener("focus",t=>{t.isTrusted&&this.handleFocus()})}}const ml=Ft(Be({mappings:{hostDirection:{selector:()=>Oo.componentName,property:Oo.cssVarList.hostDirection},backgroundColor:{selector:()=>Oo.componentName,property:Oo.cssVarList.backgroundColor},labelTextColor:{selector:()=>Oo.componentName,property:Oo.cssVarList.labelTextColor},borderColor:{selector:()=>Oo.componentName,property:Oo.cssVarList.borderColor},borderWidth:{selector:()=>Oo.componentName,property:Oo.cssVarList.borderWidth},borderStyle:{selector:()=>Oo.componentName,property:Oo.cssVarList.borderStyle},borderRadius:{selector:()=>Oo.componentName,property:Oo.cssVarList.borderRadius},outlineColor:{selector:()=>Oo.componentName,property:Oo.cssVarList.outlineColor}}}),Ze,Fe)(Ml);customElements.define(gl,ml),customElements.define(pl,hl);const yl=Kt("button-multi-selection-group-internal");class bl extends(el(yl)){#Zt(){return this.items.filter(t=>t.hasAttribute("selected"))}onClick(t){t.target!==t.currentTarget&&(this.#Zt().includes(t.target)?t.target.removeAttribute("selected"):t.target.setAttribute("selected","true"),this.dispatchChange())}get value(){return this.#Zt().map(t=>t.value)}set value(t){this.items.forEach(e=>{t.includes(e.value)?e.setAttribute("selected","true"):e.removeAttribute("selected")})}get minItemsSelection(){return parseInt(this.getAttribute("min-items-selection"),10)||0}get maxItemsSelection(){return parseInt(this.getAttribute("max-items-selection"),10)||0}#Ft(t){const e=Array.isArray(t);return e||console.error("default-values must be an array, received:",t),e}get defaultValues(){const t=this.getAttribute("default-values");if(t)try{const e=JSON.parse(t);if(this.#Ft(e))return e}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}setDefaultValues(){setTimeout(()=>{this.defaultValues&&(this.value=this.defaultValues,this.setCustomValidity())})}getValidity(){return this.isRequired&&!this.value.length?{valueMissing:!0}:this.isRequired&&this.minItemsSelection&&this.value.length<this.minItemsSelection?{rangeUnderflow:!0}:this.maxItemsSelection&&this.value.length>this.maxItemsSelection?{rangeOverflow:!0}:{}}init(){super.init(),this.setDefaultValues(),this.querySelector("slot").addEventListener("click",this.onClick.bind(this))}}const Nl=Kt("button-multi-selection-group"),Il=Ft(Be({mappings:{...cl}}),Ze,ri({proxyProps:["value","selectionStart"]}),Fe,nl,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${yl}\n \tname="button-selection-group"\n \tslot="input"\n tabindex="-1"\n part="internal-component"\n >\n <slot></slot>\n </${yl}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(yl),ee(this,this.inputElement,{includeAttrs:["size","default-values","min-items-selection","max-items-selection"]})}})(Xe({slots:[],wrappedEleName:"vaadin-text-field",style:()=>ul,excludeAttrsSync:["tabindex","style"],componentName:Nl}));customElements.define(yl,bl),customElements.define(Nl,Il);class xl extends h.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,e,i){const o=i.item[this.path]||"",n=Array.isArray(o)?o.join(", "):o;this.__setTextContent(t,n),t.title=n}_defaultHeaderRenderer(t,e){this.sortable?super._defaultHeaderRenderer(t,e):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}const jl=Kt("grid-text-column");customElements.define(jl,xl);const Tl=Kt("grid-custom-column");customElements.define(Tl,class extends xl{_defaultRenderer(t,e,i){const o=i.item[this.path]||"",n=Array.from(this.children).find(t=>{const e=t.getAttribute("data-pattern");return!e||new RegExp(e).test(o)});if(!n)return void this.__setTextContent(t,i.item[this.path]||"");const r=n.cloneNode(!0);r.textContent=o||"",t.innerHTML="",t.append(r)}});const Dl=()=>{const t=document.createElement("descope-checkbox");return t.setAttribute("bordered","true"),t.setAttribute("size","xs"),t},zl=t=>!!t.items?.length&&t.selectedItems.length===t.items.length;class vl extends g.${_onHeaderRendererOrBindingChanged(){}_headerRenderer(t){const e=t.parentNode;let i=t.querySelector("descope-checkbox");i||(i=Dl(),i.addEventListener("input",()=>{const t=zl(e);e.selectedItems=t?[]:e.items}),t.appendChild(i)),i.setAttribute("checked",zl(e))}_defaultRenderer(t,e,i){const o=t.parentNode;let n=t.querySelector("descope-checkbox");n||(n=Dl(),t.appendChild(n)),n.onchange=()=>{n.checked?o.selectItem(i.item):o.deselectItem(i.item)},n.setAttribute("checked",i.selected)}}const Cl=Kt("grid-selection-column");customElements.define(Cl,vl);class Sl extends h.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,e,i){const o=e._gridValue,n=o.detailsOpenedItems?.indexOf(i.item)??-1,r=-1!==n,s=document.createElement("vaadin-icon");s.icon=r?"vaadin:angle-up":"vaadin:angle-down",s.classList.add("toggle-details-button",r?"opened":"closed"),t.innerHTML="",t.append(s),s.onclick=()=>{o.detailsOpenedItems=r?o.detailsOpenedItems.toSpliced(n,1):[...o.detailsOpenedItems,i.item]}}_defaultHeaderRenderer(t,e){this.sortable?super._defaultHeaderRenderer(t,e):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}const Ll=Kt("grid-item-details-column");customElements.define(Ll,Sl),customElements.define(Do,Co),customElements.define(So,Lo);const Al=t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value},wl=Kt("code-snippet");let fl=class extends(_e({componentName:wl,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["lang","inline","copy-button"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <code class="hljs"></code>\n </div>\n ',f("\n :host {\n display: inline-block;\n width: 100%;\n }\n .wrapper {\n display: grid;\n width: 100%;\n }\n code {\n grid-area: 1 / 1;\n display: block;\n width: 100%;\n min-height: 1em;\n overflow-x: auto;\n }\n pre {\n margin: 0;\n }\n .copy-btn {\n grid-area: 1 / 1;\n place-self: start end;\n margin: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n border-style: solid;\n cursor: pointer;\n opacity: 0;\n transition: opacity 150ms ease, background 150ms ease;\n }\n .wrapper:hover .copy-btn,\n .copy-btn:focus-visible {\n opacity: 1;\n }\n .copy-btn descope-icon {\n width: 16px;\n height: 16px;\n pointer-events: none;\n flex-shrink: 0;\n }\n .copy-btn .check-icon {\n display: none;\n }\n .copy-btn.copied .check-icon {\n display: block;\n }\n .copy-btn.copied descope-icon:not(.check-icon) {\n display: none;\n }\n ",this)}init(){super.init?.(),this.lang=this.getAttribute("lang"),this.isInline="true"===this.getAttribute("inline"),"true"===this.getAttribute("copy-button")&&this.#Gt(),_t(this,this.#Ht.bind(this))}get contentNode(){return this.shadowRoot.querySelector("code")}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("inline"===t&&(this.isInline=i),"lang"===t&&(this.lang=i),"copy-button"===t&&("true"===i?this.#Gt():this.#Jt()),this.#Ht())}#Gt(){if(this.shadowRoot.querySelector(".copy-btn"))return;const t=document.createElement("button");t.className="copy-btn",t.type="button",t.setAttribute("aria-label","Copy code");const e=document.createElement("descope-icon");e.setAttribute("src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogIDxyZWN0IHg9IjkiIHk9IjkiIHdpZHRoPSIxMyIgaGVpZ2h0PSIxMyIgcng9IjIiIHJ5PSIyIj48L3JlY3Q+CiAgPHBhdGggZD0iTTUgMTVINGEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg5YTIgMiAwIDAgMSAyIDJ2MSI+PC9wYXRoPgo8L3N2Zz4K");const i=document.createElement("descope-icon");i.setAttribute("src","data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iY2hlY2staWNvbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cG9seWxpbmUgcG9pbnRzPSIyMCA2IDkgMTcgNCAxMiI+PC9wb2x5bGluZT4KPC9zdmc+Cg=="),i.classList.add("check-icon"),t.appendChild(e),t.appendChild(i),t.addEventListener("click",()=>this.#$t()),this.shadowRoot.querySelector(".wrapper").appendChild(t)}#Jt(){this.shadowRoot.querySelector(".copy-btn")?.remove()}#$t(){const t=this.shadowRoot.querySelector(".copy-btn");navigator.clipboard.writeText(Al(this.textContent)).then(()=>{t.classList.add("copied"),setTimeout(()=>t.classList.remove("copied"),2e3)}).catch(()=>{})}#Ht(){const t=Al(this.textContent),e=this.lang;if(!e)return void(this.contentNode.textContent=t);const{value:i}=M.A.highlight(t,{language:e});this.contentNode.innerHTML=(t=>this.isInline?t:`<pre>${t}</pre>`)(i)}};const El={selector:()=>".copy-btn"},{root:kl,docTag:Ol,keyword:Vl,metaKeyword:Ul,templateTag:Yl,templateVariable:Wl,type:Rl,variableLanguage:Ql,title:Pl,titleClass:Bl,titleClassInherited:Zl,titleFunction:Fl,attr:Gl,attribute:Hl,literal:Jl,meta:$l,number:_l,operator:ql,variable:Xl,selectorAttr:Kl,selectorClass:td,selectorId:ed,regexp:id,string:od,metaString:nd,builtIn:rd,symbol:sd,comment:ad,code:ld,formula:dd,name:cd,quote:ud,selectorTag:pd,selectorPseudo:hd,subst:gd,section:Md,bullet:md,emphasis:yd,strong:bd,addition:Nd,deletion:Id,charEscape:xd,link:jd,params:Td,property:Dd,punctuation:zd,tag:vd}={root:{selector:()=>".hljs"},docTag:{selector:()=>".hljs-doctag"},keyword:{selector:()=>".hljs-keyword"},metaKeyword:{selector:()=>".hljs-meta .hljs-keyword"},templateTag:{selector:()=>".hljs-template-tag"},templateVariable:{selector:()=>".hljs-template-variable"},type:{selector:()=>".hljs-type"},variableLanguage:{selector:()=>".hljs-variable.language"},title:{selector:()=>".hljs-title"},titleClass:{selector:()=>".hljs-title.class_"},titleClassInherited:{selector:()=>".hljs-title.class_.inherited__"},titleFunction:{selector:()=>".hljs-title.function_"},attr:{selector:()=>".hljs-attr"},attribute:{selector:()=>".hljs-attribute"},literal:{selector:()=>".hljs-literal"},meta:{selector:()=>".hljs-meta"},number:{selector:()=>".hljs-number"},operator:{selector:()=>".hljs-operator"},variable:{selector:()=>".hljs-variable"},selectorAttr:{selector:()=>".hljs-selector-attr"},selectorClass:{selector:()=>".hljs-selector-class"},selectorId:{selector:()=>".hljs-selector-id"},regexp:{selector:()=>".hljs-regexp"},string:{selector:()=>".hljs-string"},metaString:{selector:()=>".hljs-meta .hljs-string"},builtIn:{selector:()=>".hljs-built_in"},symbol:{selector:()=>".hljs-symbol"},comment:{selector:()=>".hljs-comment"},code:{selector:()=>".hljs-code"},formula:{selector:()=>".hljs-formula"},name:{selector:()=>".hljs-name"},quote:{selector:()=>".hljs-quote"},selectorTag:{selector:()=>".hljs-selector-tag"},selectorPseudo:{selector:()=>".hljs-selector-pseudo"},subst:{selector:()=>".hljs-subst"},section:{selector:()=>".hljs-section"},bullet:{selector:()=>".hljs-bullet"},emphasis:{selector:()=>".hljs-emphasis"},strong:{selector:()=>".hljs-strong"},addition:{selector:()=>".hljs-addition"},deletion:{selector:()=>".hljs-deletion"},charEscape:{selector:()=>".hljs-char.escape"},link:{selector:()=>".hljs-link"},params:{selector:()=>".hljs-params"},property:{selector:()=>".hljs-property"},punctuation:{selector:()=>".hljs-punctuation"},tag:{selector:()=>".hljs-tag"}},Cd=Ft(Be({mappings:{rootBgColor:{...kl,property:"background-color"},rootTextColor:{...kl,property:"color"},docTagTextColor:{...Ol,property:"color"},keywordTextColor:{...Vl,property:"color"},metaKeywordTextColor:{...Ul,property:"color"},templateTagTextColor:{...Yl,property:"color"},templateVariableTextColor:{...Wl,property:"color"},typeTextColor:{...Rl,property:"color"},variableLanguageTextColor:{...Ql,property:"color"},titleTextColor:{...Pl,property:"color"},titleClassTextColor:{...Bl,property:"color"},titleClassInheritedTextColor:{...Zl,property:"color"},titleFunctionTextColor:{...Fl,property:"color"},attrTextColor:{...Gl,property:"color"},attributeTextColor:{...Hl,property:"color"},literalTextColor:{...Jl,property:"color"},metaTextColor:{...$l,property:"color"},numberTextColor:{..._l,property:"color"},operatorTextColor:{...ql,property:"color"},variableTextColor:{...Xl,property:"color"},selectorAttrTextColor:{...Kl,property:"color"},selectorClassTextColor:{...td,property:"color"},selectorIdTextColor:{...ed,property:"color"},regexpTextColor:{...id,property:"color"},stringTextColor:{...od,property:"color"},metaStringTextColor:{...nd,property:"color"},builtInTextColor:{...rd,property:"color"},symbolTextColor:{...sd,property:"color"},commentTextColor:{...ad,property:"color"},codeTextColor:{...ld,property:"color"},formulaTextColor:{...dd,property:"color"},nameTextColor:{...cd,property:"color"},quoteTextColor:{...ud,property:"color"},selectorTagTextColor:{...pd,property:"color"},selectorPseudoTextColor:{...hd,property:"color"},substTextColor:{...gd,property:"color"},sectionTextColor:{...Md,property:"color"},bulletTextColor:{...md,property:"color"},emphasisTextColor:{...yd,property:"color"},strongTextColor:{...bd,property:"color"},additionTextColor:{...Nd,property:"color"},additionBgColor:{...Nd,property:"background-color"},deletionTextColor:{...Id,property:"color"},deletionBgColor:{...Id,property:"background-color"},charEscapeTextColor:{...xd,property:"color"},linkTextColor:{...jd,property:"color"},paramsTextColor:{...Td,property:"color"},propertyTextColor:{...Dd,property:"color"},punctuationTextColor:{...zd,property:"color"},tagTextColor:{...vd,property:"color"},copyButtonSize:[{...El,property:"width"},{...El,property:"height"}],copyButtonBorderRadius:{...El,property:"border-radius"},copyButtonBorderWidth:{...El,property:"border-width"},copyButtonBorderColor:{...El,property:"border-color"},copyButtonBgColor:{...El,property:"background-color"},copyButtonHoverBgColor:{selector:()=>".copy-btn:hover",property:"background-color"},copyButtonColor:{...El,property:"color"}}}),Ze,Fe)(fl);customElements.define(wl,Cd);const Sd=t=>{const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e},Ld=t=>{const e=document.createElement("div");return e.textContent=t,e.innerHTML},Ad=t=>(t=>t?.constructor===Object)(t)?"object":Array.isArray(t)?"array":/^\s*<[\s\S]*>/.test(t)?"xml":"text",wd=(t,e)=>`<descope-code-snippet copy-button="true" lang="${e}" class="row-details__value code">${Ld(t)}</descope-code-snippet>`,fd=t=>`<div class="row-details__value text" title="${t}">${Ld(t)}</div>`,Ed=t=>wd(JSON.stringify(t,null,2),"json"),kd=t=>{const e=Ad(t);return"object"===e?Ed(t):"xml"===e?(t=>wd(t,"xml"))(t):"array"===e?t.some(t=>"object"===Ad(t))?Ed(t):fd(t.join(",\n")):fd(t)},Od=Kt("grid"),{host:Vd,headerRow:Ud,headerRowCell:Yd,contentRow:Wd,firstRow:Rd,sortIndicators:Qd,activeSortIndicator:Pd,selectedRow:Bd,rowSeparator:Zd,resizeHandle:Fd,toggleDetailsPanelButton:Gd,toggleDetailsPanelButtonOpened:Hd,toggleDetailsPanelButtonClosed:Jd,detailsPanel:$d,detailsPanelLabels:_d,selectedRowCell:qd,detailsPanelContent:Xd}={host:{selector:()=>"vaadin-grid"},headerRow:{selector:()=>"::part(header-cell)"},headerRowCell:{selector:()=>"vaadin-grid::part(header-cell)"},contentRow:{selector:()=>"::part(cell)"},firstRow:{selector:()=>"::part(first-header-row-cell)"},selectedRow:{selector:()=>"::part(selected-row)"},selectedRowCell:{selector:()=>"::part(selected-row-cell)"},sortIndicators:{selector:()=>"vaadin-grid-sorter::part(indicators)"},activeSortIndicator:{selector:()=>"vaadin-grid-sorter[direction]"},rowSeparator:{selector:()=>"vaadin-grid::part(body-cell)"},resizeHandle:{selector:()=>"::part(resize-handle)"},toggleDetailsPanelButton:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button"},toggleDetailsPanelButtonOpened:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button.opened"},toggleDetailsPanelButtonClosed:{selector:()=>"vaadin-grid vaadin-icon.toggle-details-button.closed"},detailsPanel:{selector:()=>"vaadin-grid::part(details-cell)"},detailsPanelLabels:{selector:()=>"vaadin-grid .row-details__label"},detailsPanelContent:{selector:()=>"vaadin-grid .row-details"}},Kd=Ft(Be({componentNameOverride:Kt("input-wrapper")}),Be({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostHeight:{selector:()=>":host",property:"height"},hostMinHeight:{selector:()=>":host",property:"min-height"},fontFamily:[{...Ud},{...Wd}],fontSize:[{...Ud},{...Wd}],fontWeight:{...Wd},valueTextColor:{...Wd,property:"color"},backgroundColor:[{...Vd,property:"background-color"},{...Wd,property:"background-color"}],sortIndicatorsColor:{...Qd,property:"color"},activeSortIndicator:{...Pd,property:"color"},borderColor:{...Vd,property:"border-color"},borderWidth:{...Vd,property:"border-width"},borderStyle:{...Vd,property:"border-style"},borderRadius:{...Vd,property:"border-radius"},selectedBackgroundColor:[{...Bd,property:"background-color"},{...qd,property:"background-color"}],headerRowTextColor:{...Yd,property:"color"},separatorColor:[{...Rd,property:"border-bottom-color"},{...Zd,property:"border-top-color"}],resizeHandleColor:{...Fd,property:"background-color"},hostDirection:{...Vd,property:"direction",fallback:"ltr"},toggleDetailsPanelButtonSize:[{...Gd,property:"width"},{...Gd,property:"height"}],toggleDetailsPanelButtonOpenedColor:{...Hd,property:"color"},toggleDetailsPanelButtonClosedColor:{...Jd,property:"color"},toggleDetailsPanelButtonCursor:{...Gd,property:"cursor"},detailsPanelBackgroundColor:{...$d,property:"background-color"},detailsPanelBorderTopColor:{...$d,property:"border-top-color"},detailsPanelLabelsColor:{..._d,property:"color"},detailsPanelLabelsFontSize:{..._d,property:"font-size"},detailsPanelItemsGap:{...Xd,property:"grid-gap"},detailsPanelPadding:{...Xd,property:"padding"}}}),Ze,Fe,t=>class extends t{#_t;init(){super.init?.(),this.handleColumns(),this.forwardSelectedItemsChange(),this.baseElement._mapSorters=()=>{};const t=this.baseElement._updateDetailsCellHeight;this.baseElement._updateDetailsCellHeight=e=>{e&&t.call(this.baseElement,e)},this.baseElement.rowDetailsRenderer=this.#qt.bind(this),this.baseElement.addEventListener("wheel",t=>{t.target.closest("descope-code-snippet")&&t.stopPropagation()},!0)}#qt=async(t,e,i)=>{t.addEventListener("mousedown",t=>t.stopImmediatePropagation(),!0);const o=this.getRowDetailsTemplate(i.item);t.innerHTML="",t.append(o.content.cloneNode(!0))};getRowDetailsTemplate(t){const e=this.#_t.reduce((t,{path:e,header:i})=>e&&i?{...t,[e]:i}:t,{}),i=this.rowDetailsRenderer?.(t,e)??((t,e)=>`\n <div class="row-details">\n ${Object.entries(t).map(([t,i])=>{const o=e[t]||t.replace(/([A-Z])/g," $1").trim().split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");return(t=>{const e=Ad(t);return"object"===e||"xml"===e||"array"===e&&t.some(t=>"object"===Ad(t))})(i)?`<details class="row-details__item">\n <summary class="row-details__label">${o}</summary>\n ${kd(i)}\n </details>`:`<div class="row-details__item">\n <div class="row-details__label">${o}</div>\n ${kd(i)}\n </div>`}).join("\n")}\n</div>\n `)(t,e);switch(!0){case i instanceof HTMLTemplateElement:return i;case"string"==typeof i:return Object.assign(document.createElement("template"),{innerHTML:i});default:throw new Error("rowDetailsRenderer should return a string or a template")}}forwardSelectedItemsChange(){this.baseElement.addEventListener("selected-items-changed",t=>{this.dispatchEvent(new CustomEvent("selected-items-changed",{bubbles:!0,composed:!0,detail:t.detail}))})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"columns"===t&&this.setColumnsDataFromAttr()}handleColumns(){this.columnsAttr?this.setColumnsDataFromAttr():this.children.length&&this.setColumnsFromChildren()}setColumnsFromChildren(){this.#_t=Array.from(this.children).map(t=>({path:t.getAttribute("path"),header:t.getAttribute("header"),type:t.localName.match("^descope-grid-(\\w+)-column$")?.[1]||"text",attrs:["frozen","resizable","auto-width","status"].reduce((e,i)=>{const o=t.getAttribute(i);return o&&(e[i]=o),e},{})}))}get columnsAttr(){return this.getAttribute("columns")}setColumnsDataFromAttr(){try{const t=JSON.parse(this.columnsAttr);Sd(t)&&(this.columns=t)}catch(t){console.error('could not parse data string from attribute "columns" -',t.message)}}#Xt=({path:t,header:e,type:i,attrs:o})=>{const n=`descope-grid-${i}-column`;return`<${n} header="${e}" path="${t}" ${Object.entries(o).map(([t,e])=>`${t}="${e}"`).join(" ")}></${n}>`};get renderColumn(){return this.#Xt}set renderColumn(t){this.#Xt=t,this.renderColumns()}getColumnsTemplate(){return this.#_t?.reduce?.((t,e)=>t+(this.renderColumn?.(e||{})||""),"")}reassignRowDetailsRenderer(){this.baseElement.rowDetailsRenderer=null,setTimeout(()=>{this.baseElement.rowDetailsRenderer=this.#qt.bind(this)},0)}renderColumns(){const t=this.getColumnsTemplate();t&&(this.reassignRowDetailsRenderer(),this.innerHTML=t)}get grid(){return this.shadowRoot.querySelector("vaadin-grid")}get data(){return this.grid.items}set data(t){if(Sd(t)&&this.grid.items!==t&&(this.grid.items=t,this.grid.selectedItems)){const t=new Set(this.grid.items.map(t=>t[this.uniqueColumnId]??t)),e=this.grid.selectedItems.filter(e=>t.has(e[this.uniqueColumnId]??e));this.grid.selectedItems.length!==e.length&&(this.grid.selectedItems=e)}}get columns(){return this.#_t}set columns(t){this.#_t=t,this.renderColumns()}get paths(){return this.columns.map(t=>t.path)}get uniqueColumnId(){return this.getAttribute("unique-column-id")}})(Xe({delegatesFocus:!1,slots:[""],wrappedEleName:"vaadin-grid",style:()=>`\n /*css*/\n vaadin-grid {\n overflow: hidden;\n height: 100%;\n min-height: 300px;\n }\n vaadin-grid-cell-content {\n display: flex;\n }\n vaadin-grid::part(selected-row-cell) {\n background-image: none;\n box-shadow: none;\n background-color: inherit;\n }\n vaadin-grid::part(details-cell) {\n border-top-style: dashed;\n border-top-width: 1px;\n }\n vaadin-grid .row-details {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(max(200px, calc(100%/4 - var(${Kd.cssVarList.detailsPanelItemsGap}))), 1fr));\n width: 100%;\n }\n vaadin-grid .row-details__item:has(.row-details__value.code) {\n grid-column: 1 / -1;\n order: 2;\n }\n vaadin-grid details.row-details__item {\n padding: 0;\n }\n vaadin-grid details.row-details__item > summary.row-details__label {\n cursor: pointer;\n list-style: revert;\n display: revert;\n }\n vaadin-grid .row-details__value.text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n }\n vaadin-grid .row-details__value.code {\n margin-top: 5px;\n overflow-x: auto;\n font-size: 0.85em;\n }\n vaadin-grid vaadin-icon.toggle-details-button {\n margin: auto;\n }\n /*!css*/\n\t\t`,excludeAttrsSync:["columns","tabindex","style"],componentName:Od}));customElements.define(Od,Kd);const tc=Kt("modal"),ec=["opened"],ic=Ft(Be({mappings:{overlayBackdropColor:{property:()=>ic.cssVarList.overlay.backdropColor},overlayBackgroundColor:{property:()=>ic.cssVarList.overlay.backgroundColor},overlayShadow:{property:()=>ic.cssVarList.overlay.shadow},overlayWidth:{property:()=>ic.cssVarList.overlay.width},overlayBorderWidth:{property:()=>ic.cssVarList.overlay.borderWidth},overlayBorderStyle:{property:()=>ic.cssVarList.overlay.borderStyle},overlayBorderColor:{property:()=>ic.cssVarList.overlay.borderColor},overlayBorderRadius:{property:()=>ic.cssVarList.overlay.borderRadius}}}),si({name:"overlay",selector:"",mappings:{hostDisplay:{selector:()=>":host(.descope-modal)",property:"display",important:!0},backgroundColor:[{selector:()=>"::part(content)",property:"background-color"},{selector:()=>"::part(overlay)",property:"background-color"}],backdropColor:{selector:()=>"::part(backdrop)",property:"background-color"},borderStyle:{selector:()=>"::part(content)",property:"border-style"},borderWidth:{selector:()=>"::part(content)",property:"border-width"},borderColor:{selector:()=>"::part(content)",property:"border-color"},borderRadius:{selector:()=>"::part(content)",property:"border-radius "},width:{selector:()=>"::part(overlay)",property:"width"},shadow:{selector:()=>"::part(overlay)",property:"box-shadow"}},forward:{include:!1,attributes:["opened","style"]}}),Ze,Fe,t=>class extends t{static get observedAttributes(){return[].concat(t.observedAttributes||[],ec)}get opened(){return"true"===this.getAttribute("opened")}handleOpened(){this.opened?this.style.display="":this.style.display="none"}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"opened"===t&&this.handleOpened()}init(){super.init?.(),this.style.display="none",setTimeout(()=>{this.baseElement.shadowRoot.querySelector("vaadin-dialog-overlay").appendChild(document.createElement("slot")),this.#it(),ee(this,this.baseElement,{includeAttrs:["opened"]}),this.handleOpened()})}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-dialog-overlay");t._attachOverlay=()=>{t.bringToFront(),f("\n :host {\n display: flex!important;\n }\n ",this.baseElement)},t._detachOverlay=()=>{this.baseElement.style.display="none"},t._enterModalState=()=>{},t.close=()=>!1}})(Xe({slots:[""],wrappedEleName:"vaadin-dialog",style:()=>"\n vaaadin-dialog {\n display: flex!important;\n }\n ",excludeAttrsSync:["tabindex","opened","style"],componentName:tc}));customElements.define(tc,ic);const oc=window.customElements.get("vaadin-notification-container");if(!oc)throw new Error("could not get vaadin-notification-container class");customElements.define(Kt("notification-container"),class extends oc{});const nc=Kt("notification-card"),rc={content:()=>"vaadin-notification-card::part(content)",overlay:()=>"vaadin-notification-card::part(overlay)"},sc=Ft(Be({mappings:{hostMinWidth:{selector:rc.content,property:"min-width"},fontFamily:{},fontSize:{},backgroundColor:{selector:rc.content},textColor:{property:"color"},boxShadow:{},borderWidth:{selector:rc.content,property:"border-width"},borderColor:{selector:rc.content,property:"border-color"},borderStyle:{selector:rc.content,property:"border-style"},borderRadius:[{selector:rc.content,property:"border-radius"},{selector:rc.overlay,property:"border-radius"}],verticalPadding:[{selector:rc.content,property:"padding-top"},{selector:rc.content,property:"padding-bottom"}],horizontalPadding:[{selector:rc.content,property:"padding-right"},{selector:rc.content,property:"padding-left"}]}}),t=>class extends t{close(){this.baseElement.addEventListener("animationend",()=>{this.remove(),this.dispatchEvent(new Event("card-closed"))}),this.setAttribute("opened","false")}constructor(){super(),this.baseElement.innerHTML='\n <div part="root">\n <div part="content">\n <slot></slot>\n </div>\n <div part="close">\n <slot name="close"></slot>\n </div>\n </div>\n ',this.closeEle=this.shadowRoot.querySelector('[part="close"]')}init(){super.init?.(),this.closeEle.onclick=()=>{this.close()}}})(Xe({slots:[],wrappedEleName:"vaadin-notification-card",style:()=>'\n vaadin-notification-card {\n box-shadow: none;\n }\n ::part(overlay) {\n box-shadow: none;\n background: none;\n }\n\n [part="close"] {\n cursor: pointer;\n display: flex;\n }\n\n [part="content"] {\n display: flex;\n align-items: center;\n flex-grow: 1;\n }\n\n [part="root"] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n ',excludeAttrsSync:["tabindex","style"],componentName:nc}));customElements.define(nc,sc);const ac=Kt("notification"),lc=Ft(Ze,Fe,He,t=>class e extends t{#Kt;constructor(){super();const t=this;Object.defineProperty(this.baseElement,"_container",{get:()=>(e._container||(e._container=document.createElement("descope-notification-container"),e._container.style.position="absolute",document.body.appendChild(e._container)),e._container.isConnected||setTimeout(()=>t.parentNode.appendChild(e._container)),e._container)}),Object.defineProperty(this.baseElement,"_card",{get:()=>t.#Kt}),this.baseElement._removeNotificationCard=this.close.bind(this)}close(){this.#Kt.close()}init(){super.init?.(),this.createCard(),ee(this,this.#Kt),Xt(this.#Kt,this,{includeAttrs:["opened"]}),this.baseElement.renderer=t=>{Array.from(this.childNodes).forEach(e=>t.appendChild(e))}}get isContainerEmpty(){return!e._container.children.length}removeContainer(){e._container.remove()}removeNotification(){this.remove(),this.isContainerEmpty&&this.removeContainer()}createCard(){this.#Kt=document.createElement("descope-notification-card"),this.#Kt.addEventListener("card-closed",this.removeNotification.bind(this))}})(Xe({wrappedEleName:"vaadin-notification",excludeAttrsSync:["tabindex","style"],componentName:ac}));customElements.define(ac,lc);const dc=Kt("mappings-field-internal"),cc=ui({componentName:dc,baseSelector:"div"}),uc=Kt("mappings-field"),{host:pc,helperText:hc,errorMessage:gc,mappingItem:Mc,labels:mc,labelsText:yc,valueLabel:bc,attrLabel:Nc,separator:Ic,labelsContainer:xc}={host:{selector:()=>":host"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},mappingItem:{selector:"descope-mapping-item::part(wrapper)"},labels:{selector:'descope-mappings-field-internal [part="labels"] descope-text'},labelsText:{selector:'descope-mappings-field-internal [part="labels"] descope-text::part(text-wrapper)'},valueLabel:{selector:'descope-mappings-field-internal [part="labels"] [part="value-label"]'},attrLabel:{selector:'descope-mappings-field-internal [part="labels"] [part="attr-label"]'},separator:{selector:"descope-mapping-item::part(separator)"},labelsContainer:{selector:'descope-mappings-field-internal [part="labels"]'}},jc=Ft(Be({mappings:{hostWidth:{...pc,property:"width"},hostDirection:{...pc,property:"direction"},fontSize:[{},pc,{...Ic,property:"margin-top"}],fontFamily:[hc,gc,mc],separatorFontSize:{...Ic,property:"font-size"},labelsFontSize:{...yc,property:"font-size"},labelsLineHeight:[{...yc,property:"line-height"},{...mc,property:"line-height"}],labelTextColor:[{...mc,property:Ai.cssVarList.textColor},{...Ic,property:"color"}],itemMarginBottom:{...Mc,property:"margin-bottom"},valueLabelMinWidth:{...bc,property:"min-width"},attrLabelMinWidth:{...Nc,property:"min-width"},labelsMarginBottom:{...xc,property:"margin-bottom"},separatorWidth:{},removeButtonWidth:{}}}),Ze,ri({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),Fe,t=>class extends t{get defaultValues(){const t=this.getAttribute("default-values");if(t)try{return JSON.parse(t)}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}setDefaultValues(){const t=this.defaultValues;Object.keys(t).length>0&&(this.inputElement.value=t)}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${dc}\n tabindex="-1"\n ></${dc}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(dc),ee(this,this.inputElement,{includeAttrs:["size","full-width","label-value","label-attr","button-label","separator","options","default-values","invalid","readonly","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),Xt(this,this.inputElement,{includeAttrs:["invalid"]}),this.setDefaultValues()}})(Xe({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-mappings-field-internal [part="labels"] {\n display: none;\n grid-template-columns: 1fr var(${jc.cssVarList.separatorWidth}) 1fr var(${jc.cssVarList.removeButtonWidth});\n }\n\n descope-mappings-field-internal [part="labels"] [part="value-label"],\n descope-mappings-field-internal [part="labels"] [part="attr-label"] {\n ${Ai.cssVarList.fontWeight}: 500;\n }\n\n descope-mappings-field-internal [part="labels"] [part="value-label"] {\n grid-column: 1 / span 1;\n }\n\n descope-mappings-field-internal [part="labels"] [part="attr-label"] {\n grid-column: 3 / span 1;\n }\n\n descope-mapping-item::part(wrapper) {\n display: grid;\n grid-template-columns: 1fr var(${jc.cssVarList.separatorWidth}) 1fr var(${jc.cssVarList.removeButtonWidth});\n }\n `,excludeAttrsSync:["tabindex","label-value","label-attr","button-label","options","error-message","style"],componentName:uc}));customElements.define(dc,class extends cc{#te;static get observedAttributes(){return[].concat(cc.observedAttributes||[],["label-value","label-attr","button-label","invalid","readonly","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"])}isValidDataType(t){try{return t.every(t=>"object"==typeof t&&!Array.isArray(t)&&1===Object.getOwnPropertyNames(t).length&&"string"==typeof t[Object.keys(t)[0]]&&""!==t[Object.keys(t)[0]].trim())}catch(t){return!1}}get labelValue(){return this.getAttribute("label-value")||"Value"}get labelAttr(){return this.getAttribute("label-attr")||"Attribute"}get buttonLabel(){return this.getAttribute("button-label")||"Add mapping"}get options(){return this.getAttribute("options")||[]}addNewMappingItem(t){const e=document.createElement("descope-mapping-item");return e.setAttribute("bordered","true"),this.mappingsContainerEle.appendChild(e),ee(this,e,{includeAttrs:["size","full-width","separator","options","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),setTimeout(()=>{this.setCustomValidity(""),e.addEventListener("mapping-item-removed",()=>{e===this.#te&&(this.resetInvalidIndication(),this.#te=void 0),e.remove(),this.setCustomValidity("")}),this.dispatchEvent(new CustomEvent("mapping-item-added",{bubbles:!0,composed:!0})),t&&e.focus()},0),e}get items(){return Array.from(this.mappingsContainerEle.querySelectorAll("descope-mapping-item"))}get value(){return this.items.reduce((t,e)=>e.value?[...t,e.value]:t,[])}set value(t){if(!this.isValidDataType(t))return void console.error("received invalid value to set - should be an array of objects with one key-value pair");const e=this.items;if(e.length>t.length)for(let i=t.length;i<e.length;i++)this.mappingsContainerEle.removeChild(e[i]);t.forEach((t,i)=>{const o=e[i];if(o)o.value=t;else{const e=this.addNewMappingItem(!1);setTimeout(()=>{e.value=t},0)}})}constructor(){super(),this.innerHTML='\n <div class="labels-container" part="labels"></div>\n <div class="mappings-container"></div>\n <div class="button-container"></div>\n ',this.labelsEle=this.querySelector(".labels-container"),this.mappingsContainerEle=this.querySelector(".mappings-container"),this.buttonContainer=this.querySelector(".button-container")}initLabels(){this.labelsEle.innerHTML=`\n <descope-text variant="body2" part="value-label">${this.labelValue}</descope-text>\n <descope-text variant="body2" part="attr-label">${this.labelAttr}</descope-text>\n `}initAddButton(){this.buttonContainer.innerHTML=`\n <descope-button variant="link" mode="primary" disabled="${this.isDisabled}">\n <vaadin-icon icon="vaadin:plus"></vaadin-icon>\n ${this.buttonLabel}\n </descope-button>\n `;const t=this.querySelector("descope-button");t.onclick=()=>{this.addNewMappingItem(!0)},ee(this,t,{includeAttrs:["disabled"]})}#ee(){this.labelsEle.style.display=this.items.length?"grid":"none"}init(){this.addEventListener("focus",t=>{t.isTrusted&&(this.#te||this.items[0]||this.querySelector("descope-button")).focus()}),super.init?.(),this.initLabels(),this.initAddButton(),this.addEventListener("input",()=>{this.mappingsContainerEle.contains(this.#te)&&this.#te?.checkValidity()&&(this.resetInvalidIndication(),this.#te.removeAttribute("invalid"),this.#te=void 0)}),_t(this.mappingsContainerEle,this.#ee.bind(this))}resetInvalidIndication(){this.removeAttribute("invalid")}getValidity(){const t=this.items.find(t=>!t.checkValidity());return t?t.validity:{}}#ie(t){t&&(this.#te=this.items.find(t=>!t.checkValidity()),this.#te?.reportValidity(),this.#te?.setAttribute("invalid","true"))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"label-value"!==t&&"label-attr"!==t||this.initLabels(),"button-label"===t&&this.initAddButton(),"invalid"===t&&this.#ie("true"===i),"readonly"===t&&this.toggleAttribute("inert","true"===i)}});const Tc=Kt("mapping-item"),Dc=["size","bordered","readonly","full-width","disabled","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],zc=ui({componentName:Tc,baseSelector:"div"});customElements.define(Tc,class extends zc{static get observedAttributes(){return[].concat(zc.observedAttributes||[],Dc,["separator","options","invalid","disabled"])}get separator(){return this.getAttribute("separator")||"map to"}get value(){const t=this.attributeInput.value,e=this.valueInput.value;return t&&e?{[t]:e}:null}set value(t){if(1!==Object.entries(t).length)return void console.error("descope-mapping item expected expects only one key-value pair in the value but received: ",t);const[e,i]=Object.entries(t)[0];this.valueInput.value=i,this.attributeInput.value=e,this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <div class="wrapper" part="wrapper">\n <descope-text-field required="true"></descope-text-field>\n <div class="separator" part="separator">${this.separator}</div>\n <descope-combo-box\n item-label-path="data-name"\n item-value-path="data-id"\n required="true"\n >\n </descope-combo-box>\n <descope-button variant="link" mode="primary">\n <vaadin-icon icon="vaadin:minus"></vaadin-icon>\n </descope-button>\n </div>\n\t`,f("\n .wrapper {\n display: flex;\n }\n .separator {\n text-align: center;\n flex-shrink: 0;\n }\n ",this),this.valueInput=this.shadowRoot.querySelector("descope-text-field"),this.attributeInput=this.shadowRoot.querySelector("descope-combo-box"),this.inputs=[this.valueInput,this.attributeInput],this.removeButton=this.shadowRoot.querySelector("descope-button"),ee(this,this.valueInput,{includeAttrs:Dc}),ee(this,this.attributeInput,{includeAttrs:[...Dc,"options"],mapAttrs:{options:"data"}}),ee(this,this.removeButton,{includeAttrs:["disabled"]})}initRemoveButton(){this.removeButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("mapping-item-removed",{bubbles:!0,composed:!0})))}init(){super.init?.(),this.initRemoveButton()}getValidity(){const t=this.attributeInput.value,e=this.valueInput.value;return t&&e?{}:{badInput:!0}}reportValidity(){this.inputs.forEach(t=>t.reportValidity())}focus(){(this.checkValidity()||!this.valueInput.checkValidity()?this.valueInput:this.attributeInput).focus()}handleSeparatorChange(){this.shadowRoot.querySelector(".separator").textContent=this.separator}#oe(t){"true"===t&&(this.valueInput.value||(this.valueInput.setAttribute("invalid","true"),this.valueInput.setAttribute("error-message",this.defaultErrorMsgValueMissing)),this.attributeInput.value||(this.attributeInput.setAttribute("invalid","true"),this.attributeInput.setAttribute("error-message",this.defaultErrorMsgValueMissing)))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"separator"===t&&this.handleSeparatorChange(),"invalid"===t&&this.#oe(i)}}),customElements.define(uc,jc);const vc=L("badge");class Cc extends(bt({componentName:vc,baseSelector:":host > div"})){static get observedAttributes(){return["data-attachment-size","shrink-to-indicator-threshold"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n\t\t<div>\n <slot></slot>\n\t\t</div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n :host > div {\n position: relative;\n width: 100%;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n ",this)}get shrinkToIndicatorThreshold(){return this.getAttribute("shrink-to-indicator-threshold")||65}#ne(t){this.toggleAttribute("shrink-to-indicator",parseFloat(t)<this.shrinkToIndicatorThreshold)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"data-attachment-size"===t&&e!==i&&this.#ne(i)}}const Sc=T(ut({mappings:{hostWidth:[{selector:()=>":host",property:"width"}],hostHeight:[{selector:()=>":host",property:"height"}],hostDirection:{property:"direction"},fontFamily:{},fontSize:{},fontWeight:{},textTransform:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],borderWidth:{},borderStyle:{},borderColor:{},borderRadius:{},backgroundColor:{},textColor:{property:"color"},textAlign:{},boxShadow:{},textIndent:{}}}),pt,ht)(Cc),Lc=Kt("user-attribute");class Ac extends(_e({componentName:Lc,baseSelector:":host > .root"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="root">\n <descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="secondary" class="label"></descope-text>\n <div class="content-wrapper">\n <descope-text st-text-align="auto" data-id="value-text" variant="body1" mode="primary" class="value"></descope-text>\n <div class="btn-wrapper">\n <descope-badge mode="default" bordered="true" size="xs"></descope-badge>\n <descope-button size="sm" data-id="delete-btn" variant="link" mode="primary">\n <slot name="delete-icon"></slot>\n </descope-button>\n <descope-button size="sm" data-id="edit-btn" variant="link" mode="primary">\n <slot name="edit-icon"></slot>\n </descope-button>\n </div>\n </div>\n </div>\n\t\t',f(`\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n container-type: inline-size;\n\t\t\t\t}\n\n .root {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n }\n\n ::slotted(*) {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n @container (max-width: 529px) {\n .root {\n flex-wrap: wrap;\n }\n }\n\n .btn-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 0;\n flex-shrink: 0;\n }\n\n slot[name="edit-icon"],\n slot[name="delete-icon"] {\n display: inline-flex;\n flex-shrink: 0;\n align-items: center;\n }\n\n .content-wrapper {\n display: flex;\n flex-grow: 1;\n align-items: center;\n }\n\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: initial;\n }\n\n descope-text {\n display: inline-flex;\n max-width: 100%;\n min-width: 0;\n }\n\n .label {\n flex-grow: 1;\n width: 100%;\n }\n\n .value {\n flex-grow: 1;\n }\n\n descope-badge {\n margin-inline-end: 10px;\n }\n\n .hidden {\n visibility: hidden;\n width: 0;\n }\n\n descope-text[data-id="label-text"].required:after {\n content: '*';\n color: var(${Ai.cssVarList.textColor});\n }\n\n :host([readonly="true"]) descope-button {\n visibility: hidden;\n width: 0;\n }\n `,this),this.deleteButton=this.shadowRoot.querySelector('descope-button[data-id="delete-btn"]'),this.editButton=this.shadowRoot.querySelector('descope-button[data-id="edit-btn"]'),this.badge=this.shadowRoot.querySelector("descope-badge"),this.labelText=this.shadowRoot.querySelector('descope-text[data-id="label-text"]'),this.valueText=this.shadowRoot.querySelector('descope-text[data-id="value-text"]')}onLabelChange(){this.labelText.innerText=this.label,this.labelText.setAttribute("title",this.label)}onValueOrPlaceholderChange(){const t=this.value||this.placeholder,e=this.value?"primary":"secondary";this.valueText.innerText=t,this.valueText.setAttribute("title",t),this.valueText.setAttribute("mode",e)}onBadgeLabelChange(){this.badgeLabel?(this.badge.innerText=this.badgeLabel,this.badge.style.display=""):this.badge.style.display="none"}onBadgeTooltipTextChange(){this.badge.setAttribute("title",this.badgeTooltipText||this.badgeLabel)}updateButtonLabel(t,e){let i=t.querySelector("span.btn-label");e?(i||(i=document.createElement("span"),i.classList.add("btn-label"),t.appendChild(i)),i.innerText=e):i?.remove()}onIsRequiredChange(){this.labelText.classList.toggle("required",this.isRequired)}get label(){return this.getAttribute("label")||""}get value(){return this.getAttribute("value")||""}get placeholder(){return this.getAttribute("placeholder")||""}get isRequired(){return"true"===this.getAttribute("required")}get badgeLabel(){return this.getAttribute("badge-label")||""}get badgeTooltipText(){return this.getAttribute("badge-tooltip-text")||""}get editButtonLabel(){return this.getAttribute("edit-button-label")||""}get deleteButtonLabel(){return this.getAttribute("delete-button-label")||""}get isDeleteHidden(){return"true"===this.getAttribute("hide-delete")}init(){this.onLabelChange(),this.onValueOrPlaceholderChange(),this.onIsRequiredChange(),this.onBadgeLabelChange(),this.onBadgeTooltipTextChange(),this.updateButtonLabel(this.editButton,this.editButtonLabel),this.updateButtonLabel(this.deleteButton,this.deleteButtonLabel),this.handleDeleteButtonVisibility(),this.deleteButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("delete-clicked",{bubbles:!0,composed:!0}))),this.editButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("edit-clicked",{bubbles:!0,composed:!0}))),this.setDefaultChildren()}#re(t,e){const i=document.createElement("descope-icon");i.setAttribute("src",t),i.setAttribute("src-dark",t),i.setAttribute("slot",e),this.appendChild(i)}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iAxNS4wMDgyIDExLjAwODIgMTUuMDA4MkgzLjAxNjE5QzEuMzM2MTkgMTUuMDA4MiAtMC4wMDc4MTI1IDEzLjY2NDIgLTAuMDA3ODEyNSAxMS45ODQyVjMuOTkyMTVDLTAuMDA3ODEyNSAyLjMzNjE1IDEuMzM2MTkgMC45OTIxNDkgMy4wMTYxOSAwLjk5MjE0OUgxMC4wMDAyWk0xMS4yNzIyIDIuNjI0MTVMMTIuNjE2MiA0LjExMjE1TDcuNzIwMTkgOS42ODAxNkM3LjUwNDE5IDkuOTIwMTYgNi44MzIxOSAxMC4yMzIyIDUuNjgwMTkgMTAuNjE2MkM1LjY1NjE5IDEwLjY0MDIgNS42MDgxOSAxMC42NDAyIDUuNTYwMTkgMTAuNjE2MkM1LjQ2NDE5IDEwLjU5MjIgNS4zOTIxOSAxMC40NzIyIDUuNDQwMTkgMTAuMzc2MkM1Ljc1MjE5IDkuMjQ4MTYgNi4wNDAxOSA4LjU1MjE2IDYuMjU2MTkgOC4zMTIxNkwxMS4yNzIyIDIuNjI0MTVaTTExLjkyMDIgMS44NTYxNUwxMy4yODgyIDAuMzIwMTQ5QzEzLjY0ODIgLTAuMDg3ODUxNiAxNC4yNzIyIC0wLjExMTg1MiAxNC42ODAyIDAuMjcyMTQ5QzE1LjA4ODIgMC42MzIxNDkgMTUuMTEyMiAxLjI4MDE1IDE0Ljc1MjIgMS42ODgxNUwxMy4yNjQyIDMuMzY4MTVMMTEuOTIwMiAxLjg1NjE1WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPgo=","edit-icon"))}static get observedAttributes(){return["label","value","placeholder","required","badge-label","badge-tooltip-text","edit-button-label","delete-button-label","hide-delete"].concat(super.observedAttributes)}handleDeleteButtonVisibility(){this.deleteButton.classList.toggle("hidden",this.isRequired||!this.value||this.isDeleteHidden)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"value"===t||"placeholder"===t?this.onValueOrPlaceholderChange():"required"===t?this.onIsRequiredChange():"badge-label"===t?this.onBadgeLabelChange():"badge-tooltip-text"===t?this.onBadgeTooltipTextChange():"edit-button-label"===t?this.updateButtonLabel(this.editButton,this.editButtonLabel):"delete-button-label"===t&&this.updateButtonLabel(this.deleteButton,this.deleteButtonLabel),"value"!==t&&"required"!==t&&"hide-delete"!==t||this.handleDeleteButtonVisibility())}}const{host:wc,textFields:fc,buttons:Ec,badge:kc,labelText:Oc,contentWrapper:Vc}={host:{selector:()=>":host"},textFields:{selector:"descope-text"},labelText:{selector:'descope-text[data-id="label-text"]'},buttons:{selector:"descope-button"},badge:{selector:"descope-badge"},contentWrapper:{selector:" .content-wrapper"}},Uc=Ft(Be({mappings:{hostWidth:{...wc,property:"width"},hostMinWidth:{...wc,property:"min-width"},hostMaxWidth:{...wc,property:"max-width"},hostDirection:[{...wc,property:"direction"},{...fc,property:Ai.cssVarList.hostDirection},{...Ec,property:Oo.cssVarList.hostDirection},{...kc,property:Sc.cssVarList.hostDirection}],labelMinWidth:{...Oc,property:"min-width"},contentMinWidth:{...Vc,property:"min-width"},badgeMaxWidth:{...kc,property:"max-width"},itemsGap:[{property:"gap"},{...Vc,property:"gap"}],iconColor:[{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill}]}}),Ze,Fe)(Ac);customElements.define(vc,Sc),customElements.define(Lc,Uc);const Yc=Kt("user-auth-method");class Wc extends(_e({componentName:Yc,baseSelector:":host > .root"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="root">\n <div class="text-wrapper">\n <slot name="method-icon"></slot>\n <descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>\n </div>\n\n <div class="btn-wrapper">\n <descope-button class="btn unfulfilled hidden" size="sm" variant="link" mode="primary">\n <slot name="button-icon"></slot>\n </descope-button>\n <descope-button class="btn fulfilled hidden" size="sm" variant="link" mode="primary">\n <slot name="fulfilled-button-icon"></slot>\n </descope-button>\n <div class="status-indicator hidden">\n <vaadin-icon src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==></vaadin-icon>\n </div>\n <descope-button class="hidden-btn" size="sm" variant="link" mode="primary"></descope-button>\n </div>\n </div>\n\t\t',f('\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n vaadin-icon {\n color: currentcolor;\n }\n\n .root {\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n }\n\n .btn-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-grow: 0;\n }\n\n .text-wrapper {\n display: flex;\n align-items: center;\n flex-grow: 1;\n min-width: 0;\n }\n\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n width: initial;\n }\n\n descope-text {\n display: inline-flex;\n min-width: 0;\n }\n\n .status-indicator {\n width: 1em;\n height: 1em;\n display: flex;\n align-items: center;\n padding-inline-end: 1em;\n }\n\n .hidden {\n display: none;\n }\n\n .hidden-btn {\n width: 0;\n overflow: hidden;\n opacity: 0;\n pointer-events: none;\n }\n\n slot[name="method-icon"]:not(:empty) {\n display: inline-flex;\n align-items: center;\n }\n ',this),this.unfulfilledButton=this.shadowRoot.querySelector(".btn.unfulfilled"),this.fulfilledButton=this.shadowRoot.querySelector(".btn.fulfilled"),this.statusIndicator=this.shadowRoot.querySelector(".status-indicator"),this.labelText=this.shadowRoot.querySelector('descope-text[data-id="label-text"]')}onLabelChange(){this.labelText.innerText=this.label,this.labelText.setAttribute("title",this.label)}updateButtonLabel(t,e){let i=t.querySelector("span");e?(i||(i=document.createElement("span"),t.appendChild(i)),i.innerText=e):i&&t.removeChild(i)}onFulfilledChange(){this.isFulfilled?(this.unfulfilledButton.classList.add("hidden"),this.handleFulfilled()):(this.fulfilledButton.classList.add("hidden"),this.handleUnfulfilled())}handleFulfilled(){this.fulfilledButton.classList.toggle("hidden",!this.isFulfilledEditable),this.statusIndicator.classList.toggle("hidden",this.isFulfilledEditable)}handleUnfulfilled(){this.unfulfilledButton.classList.toggle("hidden",!this.isUnfulfilledEditable),this.statusIndicator.classList.toggle("hidden",this.isUnfulfilledEditable)}get label(){return this.getAttribute("label")||""}get unfulfilledButtonLabel(){return this.getAttribute("button-label")||""}get fulfilledButtonLabel(){return this.getAttribute("fulfilled-button-label")||""}get isFulfilled(){return"true"===this.getAttribute("fulfilled")}get isFulfilledEditable(){return"true"===this.getAttribute("fulfilled-editable")}get isUnfulfilledEditable(){return"false"!==this.getAttribute("unfulfilled-editable")}init(){this.onLabelChange(),this.updateButtonLabel(this.fulfilledButton,this.fulfilledButtonLabel),this.updateButtonLabel(this.unfulfilledButton,this.unfulfilledButtonLabel),this.onFulfilledChange(),this.unfulfilledButton.addEventListener("click",()=>this.dispatchEvent(new CustomEvent("button-clicked",{bubbles:!0,composed:!0}))),this.fulfilledButton.addEventListener("click",()=>{this.dispatchEvent(new CustomEvent("fulfilled-button-clicked",{bubbles:!0,composed:!0}))})}static get observedAttributes(){return["label","fulfilled","button-label","fulfilled-button-label","fulfilled-editable","unfulfilled-editable"].concat(super.observedAttributes)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"fulfilled"===t?this.onFulfilledChange():"button-label"===t?this.updateButtonLabel(this.unfulfilledButton,this.unfulfilledButtonLabel):"fulfilled-button-label"===t?this.updateButtonLabel(this.fulfilledButton,this.fulfilledButtonLabel):"fulfilled-editable"===t&&this.isFulfilled?this.handleFulfilled():"unfulfilled-editable"!==t||this.isFulfilled||this.handleUnfulfilled())}}const{host:Rc,textField:Qc,buttons:Pc,badge:Bc,textWrapper:Zc,methodIconSlot:Fc}={host:{selector:()=>":host"},textField:{selector:"descope-text"},buttons:{selector:"descope-button"},badge:{selector:"descope-badge"},textWrapper:{selector:" .text-wrapper"},methodIconSlot:{selector:'slot[name="method-icon"]:not(:empty)'}},Gc=Ft(Be({mappings:{hostWidth:{...Rc,property:"width"},hostMinWidth:{...Rc,property:"min-width"},hostMaxWidth:{...Rc,property:"max-width"},hostDirection:[{...Rc,property:"direction"},{...Qc,property:Ai.cssVarList.hostDirection},{...Pc,property:Oo.cssVarList.hostDirection},{...Bc,property:Sc.cssVarList.hostDirection}],itemsGap:[{property:"gap"},{...Zc,property:"gap"}],iconSize:[{...Fc,property:"width"},{...Fc,property:"height"}],iconColor:[{selector:()=>"::slotted(*)",property:Lo.cssVarList.fill}]}}),Ze,Fe)(Wc);customElements.define(Yc,Gc);const Hc=Kt("saml-group-mappings-internal"),Jc=ui({componentName:Hc,baseSelector:""}),$c=Kt("saml-group-mappings"),{host:_c,groupInput:qc,errorMessage:Xc}={host:{selector:()=>":host"},groupInput:{selector:"descope-text-field"},errorMessage:{selector:"::part(error-message)"}},Kc=Ft(Be({mappings:{hostWidth:{..._c,property:"width"},hostDirection:{..._c,property:"direction"},groupNameInputMarginBottom:{...qc,property:"margin-bottom"},errorMessageIcon:{...Xc,property:"background-image"},errorMessageIconSize:{...Xc,property:"background-size"},errorMessageIconPadding:{...Xc,property:"padding-inline-start"},errorMessageIconRepeat:{...Xc,property:"background-repeat"},errorMessageIconPosition:{...Xc,property:"background-position"},errorMessageFontSize:{...Xc,property:"font-size"}}}),Ze,ri({proxyProps:["value","selectionStart"],inputEvent:"input",triggerValidationEvents:["mapping-item-added","mapping-item-removed"],proxyParentValidation:!0}),Fe,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${Hc}\n tabindex="-1"\n ></${Hc}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Hc),ee(this,this.inputElement,{includeAttrs:["size","full-width","label-group","label-value","label-attr","button-label","separator","options","readonly","disabled"]}),Xt(this,this.inputElement,{includeAttrs:["invalid"]})}})(Xe({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>"\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-text-field {\n width: auto;\n }\n\n descope-mappings-field {\n display: block;\n }\n ",excludeAttrsSync:["tabindex","label-group","label-value","label-attr","button-label","separator","options","error-message","style"],componentName:$c}));customElements.define(Hc,class extends Jc{static get observedAttributes(){return["invalid"].concat(Jc.observedAttributes||[])}constructor(){super(),this.innerHTML='\n <descope-text-field variant="body2" bordered="true"></descope-text-field>\n <descope-mappings-field></descope-mappings-field>\n ',this.groupInputElement=this.querySelector("descope-text-field"),this.mappingsElement=this.querySelector("descope-mappings-field")}resetInvalidIndication(){this.removeAttribute("invalid")}handleMappingsInvalidChange(t){t.includes("invalid")&&(this.mappingsElement.hasAttribute("invalid")||this.resetInvalidIndication())}initFocusHandler(){this.addEventListener("focus",t=>{t.isTrusted&&(this.mappingsElement.checkValidity()?this.groupInputElement:this.mappingsElement).focus()})}init(){this.initFocusHandler(),super.init?.(),ee(this,this.groupInputElement,{mapAttrs:{"label-group":"label"},includeAttrs:["size","label-group","readonly","disabled"]}),ee(this,this.mappingsElement,{includeAttrs:["size","full-width","label-value","label-attr","button-label","separator","options","readonly","disabled","data-errormessage-pattern-mismatch"]}),$t(this.mappingsElement,this.handleMappingsInvalidChange.bind(this),{includeAttrs:["invalid"]})}get value(){return{group:this.groupInputElement.value,mappings:this.mappingsElement.value}}set value(t){t?.group&&"string"==typeof t.group&&(this.groupInputElement.value=t.group),Array.isArray(t?.mappings)&&(this.mappingsElement.value=t.mappings)}getValidity(){return this.groupInputElement.checkValidity()?this.mappingsElement.checkValidity()?{}:this.mappingsElement.validity:this.groupInputElement.validity}#se(t){if(t){if(!this.groupInputElement.checkValidity())return void this.groupInputElement.setAttribute("invalid","true");this.mappingsElement.checkValidity()||this.mappingsElement.setAttribute("invalid","true")}}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"invalid"===t&&this.#se("true"===i)}}),customElements.define($c,Kc);const tu=Kt("radio-button"),eu=Ft(Be({mappings:{cursor:[{},{selector:"label"}],fontSize:[{selector:"label"},{}],labelTextColor:{selector:"label",property:"color"},fontFamily:{selector:"label"},radioSize:[{selector:"::part(radio)",property:"height"},{selector:"::part(radio)",property:"width"}],radioBackgroundColor:{selector:"::part(radio)",property:"background-color"},radioMargin:{selector:"::part(radio)",property:"margin"},radioCheckedSize:{selector:"::part(radio)::after",property:"border-width"},radioCheckedColor:{selector:"::part(radio)::after",property:"border-color"},radioBorderColor:{selector:"::part(radio)",property:"border-color",fallback:"none"},radioBorderWidth:{selector:"::part(radio)",property:"border-width",fallback:0},radioBorderStyle:{selector:"::part(radio)",property:"border-style",fallback:"solid"}}}),ri({proxyProps:["setSelectionRange"]}),Fe,t=>class extends t{constructor(){super(),this.baseElement.checkValidity=()=>{}}init(){this.baseElement.addEventListener("checked-changed",t=>{this.dispatchEvent(new CustomEvent("checked-changed",{detail:t.detail},{bubbles:!0,composed:!0}))}),super.init?.(),_t(this,this.renderLabel.bind(this))}renderLabel(){this.baseElement.setAttribute("label",this.textContent)}get value(){return this.getAttribute("value")}})(Xe({slots:[""],wrappedEleName:"vaadin-radio-button",excludeAttrsSync:["tabindex","data","style"],includeForwardProps:["checked","name","disabled"],componentName:tu})),iu=Kt("radio-group"),ou=Ft(Be({mappings:{...$n,buttonsSpacing:{selector:"::part(group-field)",property:"justify-content"},buttonsRowGap:{selector:"::part(group-field)",property:"row-gap"},buttonsColumnGap:{selector:"::part(group-field)",property:"column-gap"},itemsLabelColor:{selector:()=>`::slotted(${eu.componentName})`,property:eu.cssVarList.labelTextColor}}}),Ze,ri({proxyProps:["setSelectionRange"]}),Fe,t=>class extends t{#tt=({value:t,label:e})=>`<descope-radio-button value="${t}">${e}</descope-radio-button>`;#U;constructor(){super(),Object.defineProperty(this.baseElement,"children",{get:()=>this.querySelectorAll(tu)}),this.baseElement.__filterRadioButtons=t=>t.filter(t=>t.localName===tu),this.baseElement.setCustomValidity=()=>{}}get items(){return this.shadowRoot.querySelector("slot").assignedElements()}get size(){return this.getAttribute("size")}get data(){if(this.#U)return this.#U;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" - ',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#U=t,this.renderItems())}get defaultValue(){return this.getAttribute("default-value")}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.#tt?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}init(){super.init?.(),this.inputElement=this.baseElement,this.renderItems(),$t(this,this.renderItems.bind(this),{includeAttrs:["data"]}),Object.defineProperty(this.baseElement,"validity",{get:()=>({valueMissing:!this.baseElement.checkValidity()})}),ee(this,this.baseElement,{includeAttrs:["layout"],mapAttrs:{layout:"theme"}}),setTimeout(()=>{this.defaultValue&&(this.value=this.defaultValue)}),_t(this,({addedNodes:t})=>{t.forEach(t=>{t.setAttribute("size",this.size)})}),$t(this,()=>{this.items.forEach(t=>{t.setAttribute("size",this.size)})},{includeAttrs:["size"]})}})(Xe({slots:["","prefix"],wrappedEleName:"vaadin-radio-group",style:()=>`\n :host {\n display: inline-block;\n max-width: 100%;\n box-sizing: border-box;\n }\n\n vaadin-radio-group {\n padding: 0;\n width: 100%;\n }\n\n ${je("vaadin-radio-group")}\n `,excludeAttrsSync:["tabindex","size","data","direction","style"],componentName:iu,includeForwardProps:["value"]}));customElements.define(iu,ou),customElements.define(tu,eu);const nu=()=>!0,ru=t=>`<pre>${JSON.stringify(t,null,4)}</pre>`,su=Kt("scopes-list"),au=["checkbox","switch"];class lu extends(_e({componentName:su,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}get isReadOnly(){return"true"===this.getAttribute("readonly")}get size(){return this.getAttribute("size")||"sm"}#ae(){return Array.from(this.shadowRoot.querySelector("div").children)}reportValidity(){this.checkValidity()}checkValidity(){return this.data.every(t=>!t.required||this.value.includes(t.id))}get value(){return this.#ae().filter(t=>t.checked).map(t=>t.getAttribute("data-id"))}set value(t=[]){this.#ae().forEach(e=>{e.checked=t.includes(e.getAttribute("data-id"))})}get variant(){const t=this.getAttribute("variant");return au.includes(t)?t:au[0]}}const du=Ft(Be({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>vi.componentName,property:vi.cssVarList.hostDirection},{selector:()=>_i.componentName,property:_i.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"},requiredInputBorderColor:[{selector:`${vi.componentName}[required="true"]`,property:vi.cssVarList.inputBorderColor},{selector:`${_i.componentName}[required="true"]`,property:_i.cssVarList.inputBorderColor}],requiredInputValueTextColor:[{selector:`${vi.componentName}[required="true"]`,property:vi.cssVarList.inputValueTextColor},{selector:`${_i.componentName}[required="true"]`,property:_i.cssVarList.knobColor}]}}),(({itemRenderer:t=ru,validateSchema:e=nu,slotName:i,rerenderAttrsList:o=[]})=>n=>class extends n{#U=[];#W(t){if(!e)return!0;const i=e(t);return!0===i||(console.error("Data schema validation failed",i||""),!1)}#R(){const t=i?`*[slot="${i}"]`:":not([slot])";this.baseElement.querySelectorAll(t).forEach(t=>t.remove())}#Q(){this.#R(),this.data.forEach((e,i)=>{const o="string"==typeof(n=t(e,i,this))?(t=>{const e=document.createElement("template");return e.innerHTML=t,e})(n).content:n instanceof HTMLTemplateElement?n.content:(console.error("Invalid template",n),null);var n;this.baseElement.appendChild(o?.cloneNode(!0))})}set data(t){this.#W(t)&&(this.#U=t,this.#Q())}get data(){return this.#U}init(){super.init?.(),$t(this,t=>{t.includes("data")?this.#P():this.#Q()},{includeAttrs:[...o,"data"]})}#P(){const t=this.getAttribute("data");if(t)try{this.data=JSON.parse(t)}catch(e){console.warn("Invalid JSON data",t)}}})({itemRenderer:({id:t,desc:e,required:i=!1},o,n)=>{const r="checkbox"===n.variant?vi:_i;return`\n <${r.componentName}\n bordered="true"\n size=${n.size}\n label="${e}"\n data-id="${t}"\n readonly="${i||n.isReadOnly}"\n required="${i}"\n checked="true"\n ></${r.componentName}>\n`},rerenderAttrsList:["size","variant"]}),Ze,Fe)(lu),cu=L("list-item"),uu=T(ut({mappings:{verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],backgroundColor:{},borderColor:{},borderStyle:{},borderWidth:{},borderRadius:{},outline:{},cursor:{},gap:{},maxWidth:{selector:()=>":host"},alignItems:{},flexDirection:{},transition:{}}}),pt,ht,t=>class extends t{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <slot></slot>\n ",f("\n slot {\n width: 100%;\n display: flex;\n overflow: hidden;\n box-sizing: border-box;\n }\n :host {\n display: block;\n }\n ",this)}},t=>class extends t{init(){super.init?.(),this.baseElement.addEventListener("mousedown",t=>{t.preventDefault(),this.setAttribute("active","true"),window.addEventListener("mouseup",()=>this.removeAttribute("active"),{once:!0})})}})(bt({componentName:cu,baseSelector:"slot"}));customElements.define(cu,uu);const pu=L("list");class hu extends(bt({componentName:pu,baseSelector:".wrapper"})){static get observedAttributes(){return["variant","readonly"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <slot></slot>\n <slot name="empty-state">\n No item...\n </slot>\n </div>\n\t',f('\n .wrapper {\n overflow: auto;\n display: grid;\n max-height: 100%;\n width: 100%;\n }\n\n :host {\n display: inline-flex;\n width: 100%;\n }\n slot[name="empty-state"] {\n justify-content: center;\n align-items: center;\n display: flex;\n flex-grow: 1;\n }\n\n :host slot[name="empty-state"] {\n display: none;\n }\n :host([empty]) slot[name="empty-state"] {\n display: flex;\n }\n ::slotted(:not([slot])) {\n width: 100%;\n }\n ',this)}get items(){return this.shadowRoot.querySelector("slot").assignedElements()}#le(){0===this.items.length?this.setAttribute("empty","true"):this.removeAttribute("empty")}get variant(){return this.getAttribute("variant")||"list"}#de(){this.items.forEach(t=>{let e=t;e.localName!==uu.componentName&&(e=t.querySelector(uu.componentName));const i="tiles"===this.variant?"tile":"row";e?.setAttribute("variant",i)})}init(){super.init?.(),v(this,()=>{this.#le(),this.#de(),this.#ce()})}get isReadOnly(){return"true"===this.getAttribute("readonly")}#ce(){this.items.forEach(t=>{this.isReadOnly?t.setAttribute("inert",""):t.removeAttribute("inert")})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("variant"===t?this.#de():"readonly"===t&&this.#ce())}}const gu=T(ut({mappings:{hostWidth:{selector:()=>":host",property:"width"},maxHeight:{selector:()=>":host"},minHeight:{},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],hostDirection:{selector:()=>":host",property:"direction"},fontFamily:{},gap:{},backgroundColor:{},borderRadius:{},borderColor:{},borderStyle:{},borderWidth:{},boxShadow:{},gridTemplateColumns:{},maxItemsWidth:{selector:()=>"::slotted(:not([slot]))",property:"max-width"},minItemsWidth:{selector:()=>"::slotted(:not([slot]))",property:"min-width"},maxRowItems:{property:"max-row-items"},itemsHorizontalAlign:{selector:()=>"::slotted(*)",property:"justify-self"},emptyStateTextColor:{selector:()=>'slot[name="empty-state"]',property:"color"},emptyStateTextFontFamily:{selector:()=>'slot[name="empty-state"]',property:"font-family"}}}),pt,ht)(hu);customElements.define(pu,gu),customElements.define(su,du);const Mu=Kt("third-party-app-logo");class mu extends(_e({componentName:Mu,baseSelector:".wrapper"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n\t\t\t<div class="wrapper">\n <div class="third-party-app-logo-wrapper">\n <div class="third-party-app-logo"></div>\n </div>\n <div class="arrows">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K"></descope-icon>\n </div>\n <div class="company-logo-wrapper">\n <descope-logo st-height="100%"></descope-logo>\n </div>\n </div>\n\t\t\t',f('\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t:host([draggable="true"]) > div {\n\t\t\t\t\tpointer-events: none\n\t\t\t\t}\n\n .wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: max-content;\n }\n\n\t\t\t\t.third-party-app-logo {\n flex-shrink: 0;\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\tmax-width: 100%;\n\t\t\t\t\tmax-height: 100%;\n\t\t\t\t\tobject-fit: contain;\n\t\t\t\t}\n\n .company-logo-wrapper, .third-party-app-logo-wrapper {\n flex-shrink: 0;\n display: inline-flex;\n }\n\n .company-logo-wrapper {\n justify-content: flex-end;\n }\n\n .third-party-app-logo-wrapper {\n justify-content: flex-start;\n }\n\n .arrows {\n flex-shrink: 0;\n display: flex;\n }\n ',this)}}const yu=">.company-logo-wrapper",bu=">.third-party-app-logo-wrapper",Nu=Ft(Be({mappings:{logoMaxHeight:[{selector:yu,property:"height"},{selector:bu,property:"height"}],logoMaxWidth:[{selector:yu,property:"max-width"},{selector:bu,property:"max-width"}],thirdPartyAppLogo:{selector:()=>".third-party-app-logo",property:"content",fallback:{}},companyLogoFallback:{selector:zr.componentName,property:zr.cssVarList.fallbackUrl},gap:{},arrowsColor:{selector:Lo.componentName,property:Lo.cssVarList.fill}}}),Ze,Fe)(mu);customElements.define(Mu,Nu);const Iu=Kt("security-questions-setup"),xu=["full-width","readonly","size","label-type","question-label","question-placeholder","question-data-errormessage-value-missing","answer-label","answer-placeholder","answer-data-errormessage-value-missing","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],ju=["count","questions"];class Tu extends(_e({componentName:Iu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}get count(){return Number(this.getAttribute("count"))||0}#ue(){const t=Array.from({length:this.count}).map((t,e)=>`\n <div class="question-wrapper">\n <descope-combo-box\n data-id="${e}"\n item-label-path="data-name"\n item-value-path="data-id"\n bordered="true"\n required="true"\n clear-button-visible="true"\n ></descope-combo-box>\n\n <descope-text-field\n data-id="${e}"\n required="true"\n bordered="true"\n minlength="2"\n ></descope-text-field>\n </div>\n `);this.baseElement.innerHTML=t.join("<spacer></spacer><descope-divider></descope-divider><spacer></spacer>"),this.comboBoxes.forEach(t=>{t.addEventListener("change",t=>{this.updateRemainingCombosData(t.target),this.getAttachedTextField(t.target).value=""}),t.data=this.data}),this.#pe(xu)}getAttachedTextField(t){const e=`descope-text-field[data-id="${t.getAttribute("data-id")}"]`;return this.baseElement.querySelector(e)}filterData(t){const e=this.data.filter(e=>e.value===t||!this.selectedQuestionIds.includes(e.value));return e}reportValidity(){return this.inputs.reverse().forEach(t=>t.reportValidity()),this.checkValidity()}checkValidity(){return[...this.comboBoxes,...this.textFields].every(t=>t.checkValidity())}updateRemainingCombosData(t){this.comboBoxes.filter(e=>e!==t).forEach(t=>{t.data=this.filterData(t.value)})}get questions(){try{return JSON.parse(this.getAttribute("questions"))||[]}catch(t){return console.error(Iu,"Error parsing questions attribute",t),[]}}get data(){return this.questions.map(({id:t,text:e})=>({value:t,label:e}))}get comboBoxes(){return Array.from(this.baseElement.querySelectorAll("descope-combo-box"))}get textFields(){return Array.from(this.baseElement.querySelectorAll("descope-text-field"))}get inputs(){return Array.from(this.baseElement.querySelectorAll("descope-combo-box, descope-text-field"))}get selectedQuestionIds(){return this.comboBoxes.map(t=>t.value)}get value(){return this.comboBoxes.map(t=>({id:t.value,answer:this.getAttachedTextField(t).value}))}set value(t=[]){t.forEach((t,e)=>{const i=this.comboBoxes[e],o=this.getAttachedTextField(i);i.value=t.id,o.value=t.answer})}#he(t,e,i){null===i?t.removeAttribute(e):t.setAttribute(e,i)}#pe(t){const e={question:this.comboBoxes,answer:this.textFields};t.forEach(t=>{const[i,...o]=t.split("-"),n=e[i]||this.inputs,r=e[i]?o.join("-"):t;n.forEach(e=>{this.#he(e,r,this.getAttribute(t))})})}init(){super.init?.(),$t(this,()=>{this.#ue()},{includeAttrs:ju}),$t(this,this.#pe.bind(this),{includeAttrs:xu})}}const Du=Ft(Be({mappings:{hostWidth:[{selector:()=>":host",property:"width"},{property:"width"}],hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>jo.componentName,property:jo.cssVarList.hostDirection},{selector:()=>Xn.componentName,property:Xn.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"}}}),Ze,Fe)(Tu);customElements.define(Iu,Du);const zu=Kt("security-questions-verify"),vu=["full-width","readonly","size","answer-placeholder","answer-data-errormessage-value-missing","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],Cu=["question-mode"],Su={"answer-placeholder":"placeholder","answer-data-errormessage-value-missing":"data-errormessage-value-missing","question-mode":"mode"},Lu=[...vu,...Cu],Au=["questions"];class wu extends(_e({componentName:zu,baseSelector:"div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML="\n <div></div>\n\t\t",f("\n :host {\n display: inline-flex;\n }\n\n div {\n display: flex;\n flex-direction: column;\n }\n ",this)}#ue(){const t=this.questions.map(({id:t,text:e})=>`\n <div class="question-wrapper">\n <descope-text\n data-id="${t}"\n >${e}</descope-text>\n\n <descope-text-field\n data-id="${t}"\n required="true"\n bordered="true"\n ></descope-text-field>\n </div>\n `);this.baseElement.innerHTML=t.join("<spacer></spacer><descope-divider></descope-divider><spacer></spacer>"),this.#pe(Lu),this.texts.forEach(t=>{const e=this.textFields.find(e=>e.getAttribute("data-id")===t.getAttribute("data-id"));e&&(t.onclick=e.focus.bind(e))})}reportValidity(){return this.textFields.reverse().forEach(t=>t.reportValidity()),this.checkValidity()}checkValidity(){return this.textFields.every(t=>t.checkValidity())}get questions(){try{return JSON.parse(this.getAttribute("questions"))||[]}catch(t){return console.error(zu,"Error parsing questions attribute",t),[]}}get texts(){return Array.from(this.baseElement.querySelectorAll("descope-text"))}get textFields(){return Array.from(this.baseElement.querySelectorAll("descope-text-field"))}get elements(){return Array.from(this.baseElement.querySelectorAll("descope-text, descope-text-field"))}get value(){return this.textFields.map(t=>({id:t.getAttribute("data-id"),answer:t.value}))}set value(t=[]){t.forEach(({id:t,answer:e})=>{const i=this.textFields.find(e=>e.getAttribute("data-id")===t);i&&(i.value=e)})}#he(t,e,i){null===i?t.removeAttribute(e):t.setAttribute(e,i)}#ge(t){switch(!0){case vu.includes(t):return this.textFields;case Cu.includes(t):return this.texts;default:return[]}}#pe(t){t.forEach(t=>{this.#ge(t).forEach(e=>{this.#he(e,Su[t]||t,this.getAttribute(t))})})}init(){super.init?.(),$t(this,()=>{this.#ue()},{includeAttrs:Au}),$t(this,this.#pe.bind(this),{includeAttrs:Lu})}}const fu=Ft(Be({componentNameOverride:Kt("input-wrapper")}),Be({mappings:{hostWidth:[{selector:()=>":host",property:"width"},{property:"width"}],hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Ai.componentName,property:Ai.cssVarList.hostDirection},{selector:()=>Xn.componentName,property:Xn.cssVarList.hostDirection}],gap:{selector:()=>"div",property:"gap"},questionTextAlign:{selector:()=>Ai.componentName,property:Ai.cssVarList.textAlign},questionFontSize:{selector:()=>Ai.componentName,property:Ai.cssVarList.fontSize},questionFontFamily:{selector:()=>Ai.componentName,property:Ai.cssVarList.fontFamily},questionCursor:{selector:()=>Ai.componentName,property:"cursor"},errorMessageIcon:{selector:()=>Ai.componentName,property:Ai.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:()=>Ai.componentName,property:Ai.cssVarList.errorMessageSize},errorMessageIconPadding:{selector:()=>Ai.componentName,property:Ai.cssVarList.errorMessagePadding},errorMessageIconRepeat:{selector:()=>Ai.componentName,property:Ai.cssVarList.errorMessageRepeat},errorMessageIconPosition:{selector:()=>Ai.componentName,property:Ai.cssVarList.errorMessagePosition},errorMessageFontSize:{selector:()=>Ai.componentName,property:Ai.cssVarList.errorMessageFontSize}}}),Ze,Fe)(wu);customElements.define(zu,fu);const Eu=/[^\d\s+\-()]/,ku=Kt("hybrid-field"),Ou={shared:["label","bordered","full-width","label-type","size","disabled","readonly","required","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"],email:["placeholder","data-errormessage-value-missing-email","data-errormessage-pattern-mismatch-email","external-input"],phone:{countryCode:["phone-input-label","country-input-label","country-input-placeholder","restrict-countries","default-code","phone-minlength","phone-format-value","phone-strict-validation","phone-input-type","data-errormessage-value-missing-phone"],inputBox:["restrict-countries","default-code","phone-minlength","phone-format-value","phone-strict-validation","phone-input-type","data-errormessage-value-missing-phone"]}},Vu={email:{"data-errormessage-value-missing-email":"data-errormessage-value-missing","data-errormessage-pattern-mismatch-email":"data-errormessage-pattern-mismatch"},phone:{"phone-input-label":"label","phone-minlength":"minlength","phone-format-value":"format-value","phone-strict-validation":"strict-validation","data-errormessage-value-missing-phone":"data-errormessage-value-missing"}},Uu="descope-phone-field",Yu=_e({componentName:ku,baseSelector:"div"}),Wu=Ft(Be({componentNameOverride:Kt("input-wrapper")}),Be({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:[{selector:()=>"descope-email-field",property:"direction"},{selector:()=>"descope-phone-field",property:"direction"},{selector:()=>"descope-phone-input-box-field",property:"direction"}],errorMessageIcon:[{selector:()=>Fs.componentName,property:Fs.cssVarList.errorMessageIcon},{selector:()=>la.componentName,property:la.cssVarList.errorMessageIcon}],errorMessageIconSize:[{selector:()=>Fs.componentName,property:Fs.cssVarList.errorMessageIconSize},{selector:()=>la.componentName,property:la.cssVarList.errorMessageIconSize}],errorMessageIconPadding:[{selector:()=>Fs.componentName,property:Fs.cssVarList.errorMessageIconPadding},{selector:()=>la.componentName,property:la.cssVarList.errorMessageIconPadding}],errorMessageIconRepeat:[{selector:()=>Fs.componentName,property:Fs.cssVarList.errorMessageIconRepeat},{selector:()=>la.componentName,property:la.cssVarList.errorMessageIconRepeat}],errorMessageIconPosition:[{selector:()=>Fs.componentName,property:Fs.cssVarList.errorMessageIconPosition},{selector:()=>la.componentName,property:la.cssVarList.errorMessageIconPosition}],errorMessageFontSize:[{selector:()=>Fs.componentName,property:Fs.cssVarList.errorMessageFontSize},{selector:()=>la.componentName,property:la.cssVarList.errorMessageFontSize}],labelFontWeight:[{selector:()=>Fs.componentName,property:Fs.cssVarList.labelFontWeight},{selector:()=>la.componentName,property:la.cssVarList.labelFontWeight}],inputValueFontWeight:[{selector:()=>Fs.componentName,property:Fs.cssVarList.inputValueFontWeight},{selector:()=>la.componentName,property:la.cssVarList.inputValueFontWeight}],inputPlaceholderFontWeight:[{selector:()=>Fs.componentName,property:Fs.cssVarList.inputPlaceholderFontWeight},{selector:()=>la.componentName,property:la.cssVarList.inputPlaceholderFontWeight}],helperTextFontWeight:[{selector:()=>Fs.componentName,property:Fs.cssVarList.helperTextFontWeight},{selector:()=>la.componentName,property:la.cssVarList.helperTextFontWeight}],errorMessageFontWeight:[{selector:()=>Fs.componentName,property:Fs.cssVarList.errorMessageFontWeight},{selector:()=>la.componentName,property:la.cssVarList.errorMessageFontWeight}]}}),Ze,Fe)(class extends Yu{#Me=!1;#me;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`\n <div class="wrapper">\n <descope-email-field external-input="${this.isExternalInput}"></descope-email-field>\n <descope-phone-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-field>\n <descope-phone-input-box-field allow-alphanumeric-input="true" phone-input-type="text"></descope-phone-input-box-field>\n </div>\n\t\t`,f("\n :host {\n display: inline-flex;\n box-sizing: border-box;\n padding: 0;\n gap: 0;\n }\n .wrapper {\n display: grid;\n width: 100%;\n }\n descope-email-field,\n descope-phone-field,\n descope-phone-input-box-field {\n grid-area: 1/1;\n width: 100%;\n height: 100%;\n }\n .hidden {\n visibility: hidden;\n }\n ",this)}get isExternalInput(){return"true"===this.getAttribute("external-input")}get emailInputEle(){return this.isExternalInput?this.emailInput.externalInput:this.emailInput.inputElement}get phoneVariant(){return"inputBox"===this.getAttribute("phone-variant")?this.phoneInputBoxInput:this.phoneCountryCodeInput}get defaultCode(){const t=this.phoneCountryCodeInput.countryCodes?.[0]||"";return this.getAttribute("default-code")||t}get activeInputEle(){return this.activeInput===this.emailInput?this.emailInputEle:this.phoneVariant.phoneNumberInputEle}get value(){return this.activeInput?.value||""}set value(t){this.handleActiveInput(t),setTimeout(()=>{this.activeInput.value=t})}async init(){super.init?.(),this.initInputs(),this.updateAttrs(),this.toggleInputVisibility(),await this.waitForInputs(),this.initInputEles(),this.overrideEmailInputType(),this.overrideEmailSetAttribute()}waitForInputs(){return new Promise(t=>{const e=setInterval(()=>{this.emailInputEle&&(clearInterval(e),t())})})}initInputs(){this.emailInput=this.shadowRoot.querySelector("descope-email-field"),this.phoneCountryCodeInput=this.shadowRoot.querySelector(Uu),this.phoneInputBoxInput=this.shadowRoot.querySelector("descope-phone-input-box-field"),this.inputs=[this.emailInput,this.phoneCountryCodeInput,this.phoneInputBoxInput],this.activeInput=this.emailInput}initInputEles(){[this.emailInputEle,this.phoneCountryCodeInput.phoneNumberInputEle,this.phoneInputBoxInput.phoneNumberInputEle].forEach(t=>{t.addEventListener("input",this.onValueChange.bind(this))})}overrideEmailInputType(){this.emailInputEle.addEventListener("focus",()=>{this.emailInputEle.setAttribute("type","text")}),this.emailInputEle.addEventListener("blur",()=>{setTimeout(()=>{this.emailInputEle.setAttribute("type","email")})})}overrideEmailSetAttribute(){const t=this.emailInput.setAttribute.bind(this.emailInputEle);this.emailInputEle.setAttribute=(e,i)=>("type"!==e||"email"!==i||!this.emailInput.hasAttribute("focused"))&&t(e,i)}updateAttrs(){ee(this,this.emailInput,{includeAttrs:Ou.email,mapAttrs:Vu.email}),ee(this,this.phoneCountryCodeInput,{includeAttrs:Ou.phone.countryCode,mapAttrs:Vu.phone}),ee(this,this.phoneInputBoxInput,{includeAttrs:Ou.phone.inputBox,mapAttrs:Vu.phone}),this.inputs.forEach(t=>ee(this,t,{includeAttrs:Ou.shared})),setTimeout(()=>this.phoneCountryCodeInput.setAttribute("default-code",this.defaultCode))}onValueChange(){this.#me=this.activeInputEle.selectionStart,this.handleActiveInput(this.activeInputEle.value||this.activeInput.value)}handleActiveInput(t){const e=(t=>!!t&&!Eu.test(t))(t)?this.phoneVariant:this.emailInput;this.activeInput!==e&&this.setActiveInput(e)}setActiveInput(t){const e=this.activeInputEle.value||this.activeInput.value;this.activeInput=t,this.setActiveInputValue(e),this.#Me&&this.activeInput.reportValidity(),this.setActiveInputSelectionStart(),this.toggleInputVisibility()}setActiveInputSelectionStart(){setTimeout(()=>{this.activeInputEle.focus(),this.activeInputEle.setSelectionRange?.(this.#me,this.#me)})}#ye(){const t=this.getAttribute("default-code"),e=t&&Fs.CountryCodes.find(e=>e.code===t);return e?.dialCode||Fs.CountryCodes[0]?.dialCode||""}setActiveInputValue(t){const e=(t=>t.replace(/\+\d+-/,""))(t);if(this.activeInput.localName===Uu){const t=this.phoneCountryCodeInput.countryCodeItems||this.#ye();this.activeInput.value=`${t}-${e}`}else this.activeInput.value=e}toggleInputVisibility(){this.inputs.forEach(t=>{t!==this.activeInput?t.classList.add("hidden"):t.classList.remove("hidden")})}reportValidity(){this.#Me=!0;const t=this.activeInputEle,e=t.type;return t.setAttribute("type","text"),setTimeout(()=>{t.setSelectionRange?.(t.value.length,t.value.length),t.setAttribute("type",e)}),this.activeInput.reportValidity()}checkValidity(){return this.activeInput.checkValidity()}});customElements.define(ku,Wu);const Ru=Kt("alert");class Qu extends(_e({componentName:Ru,baseSelector:":host > div"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <div class="icon"></div>\n <div class="content">\n <descope-enriched-text>\n <slot></slot>\n </descope-enriched-text>\n </div>\n </div>\n ',f('\n :host {\n display: inline-flex;\n }\n :host > div {\n display: flex;\n width: 100%;\n }\n :host([empty="true"]) {\n display: none;\n }\n .icon {\n flex-shrink: 0;\n }\n .content {\n display: flex;\n flex-wrap: wrap;\n white-space: normal;\n overflow-wrap: break-word;\n }\n ',this)}init(){super.init?.(),this.slotEle=this.shadowRoot.querySelector("slot"),this.textComp=this.shadowRoot.querySelector("descope-enriched-text"),this.slotEle.addEventListener("slotchange",this.handleSlotChange.bind(this)),S(this.textComp,this,{includeAttrs:["empty"]}),v(this,this.handleChildrenChange.bind(this)),ee(this,this.textComp,{includeAttrs:["variant","full-width","link-target-blank"]})}handleChildrenChange(){this.textComp.textContent=this.textContent}handleSlotChange(){const t=this.slotEle.assignedNodes({flatten:!0});t.length&&(this.textComp.textContent=t[0]?.textContent||"")}}const{icon:Pu}={icon:{selector:()=>".icon"}},Bu=Ft(Be({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostDirection:{selector:()=>":host",property:"direction"},textColor:{selector:Pt.componentName,property:Pt.cssVarList.textColor},backgroundColor:{},borderColor:{},borderWidth:{},borderStyle:{},borderRadius:{},fontSize:[{},{selector:Pt.componentName,property:Pt.cssVarList.fontSize}],gap:{},horizontalPadding:[{property:"padding-top"},{property:"padding-bottom"}],verticalPadding:[{property:"padding-right"},{property:"padding-left"}],alignItems:{},justifyContent:[{},{selector:Pt.componentName,property:Pt.cssVarList.textAlign}],icon:[{...Pu,property:"content"},{...Pu,property:"display",fallback:"none"}],iconSize:[{...Pu,property:"width"},{...Pu,property:"height"}]}}),Be({componentNameOverride:Kt("enriched-text")}),Be({componentNameOverride:Kt("text")}),Ze,Fe)(Qu);customElements.define(Ru,Bu);const Zu=Kt("hcaptcha"),Fu=["enabled","site-key"],Gu=ui({componentName:Zu,baseSelector:":host > div"}),Hu=Ft(Be({mappings:{hostWidth:[{selector:()=>":host",property:"width"}],hostDirection:{property:"direction"},verticalPadding:[{property:"padding-top"},{property:"padding-bottom"}],horizontalPadding:[{property:"padding-left"},{property:"padding-right"}],maxHeight:[{selector:">img",property:"height"},{selector:">#hcaptcha",property:"height"}],maxWidth:[{selector:">img",property:"max-width"},{selector:">hcaptcha",property:"max-width"}]}}),Ze,Fe)(class extends Gu{static get observedAttributes(){return Fu.concat(Gu.observedAttributes||[])}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&"enabled"===t&&this.toggleCaptchaEles("true"===i)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="badge">\n <span id="hcaptcha"></span>\n <input id="hcaptcha-input" type="hidden" name="hcaptcha" required />\n <img src="https://imgs.descope.com/connectors/templates/hcaptcha/hcaptcha-big.png" alt="hcaptcha"/>\n </div>\n <slot></slot>\n\t',f("\n :host {\n display: inline-flex;\n }\n :host > div:not(.hidden) {\n display: flex;\n }\n :host #hcaptcha-input {\n display: none;\n }\n :host #hcaptcha .hcaptcha-logo {\n height: 100%;\n }\n :host #hcaptcha {\n\t\t\t\twidth: 100%;\n height: 100%;\n\t\t\t}\n :host img {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n .hidden {\n display: none;\n }\n ",this),this.captchaEle=this.shadowRoot.querySelector("#hcaptcha"),this.mockCaptchaEle=this.shadowRoot.querySelector("img"),this.badge=this.shadowRoot.querySelector(".badge"),this.inputElement=this.shadowRoot.querySelector("input")}init(){super.init?.(),v(this,this.updatePreview.bind(this)),this.inputElement.getValidity=null,this.inputElement.checkValidity=null}toggleCaptchaEles(t){t?(this.captchaEle.style.display="",this.mockCaptchaEle.style.display="none"):(this.captchaEle.style.display="none",this.mockCaptchaEle.style.display="")}updatePreview(){this.toggleCaptchaEles(this.enabled)}getValidity(){return this.inputElement.value?{}:{valueMissing:!0}}checkValidity(){return!!this.inputElement.value}get siteKey(){return this.getAttribute("site-key")}get enabled(){return"true"===this.getAttribute("enabled")}});customElements.define(Zu,Hu);const Ju=(op={surface:{main:"#ffffff",dark:"#636c74",light:"#cfd3d7",highlight:"#f4f5f6",contrast:"#181a1c"},primary:{main:"#006af5",dark:"#004094",light:"#71aeff",highlight:"#f0f6ff",contrast:"#ffffff"},secondary:{main:"#802ed6",dark:"#6410bc",light:"#be89f5",highlight:"#ede7f6",contrast:"#ffffff"},success:{main:"#008000",dark:"#005700",light:"#8bc38b",highlight:"#f5faf5",contrast:"#ffffff"},error:{main:"#e21d12",dark:"#b3170f",light:"#f4807a",highlight:"#fef1f1",contrast:"#ffffff"},warning:{main:"#c45512",dark:"#a24309",light:"#ff985a",highlight:"#fdf0e5",contrast:"#ffffff"}},Object.keys(op).reduce((t,e)=>{const i=op[e];return Object.assign(t,{[e]:ge(i)})},{})),$u={font1:{family:["Roboto","ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Roboto",url:"https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900"},font2:{family:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Sans Serif"}},_u=Ce({fonts:$u}).fonts,qu={colors:Ju,typography:{h1:{font:_u.font1.family,weight:"900",size:"48px"},h2:{font:_u.font1.family,weight:"800",size:"38px"},h3:{font:_u.font1.family,weight:"600",size:"28px"},subtitle1:{font:_u.font2.family,weight:"500",size:"22px"},subtitle2:{font:_u.font2.family,weight:"400",size:"20px"},body1:{font:_u.font1.family,weight:"400",size:"16px"},body2:{font:_u.font1.family,weight:"400",size:"14px"}},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"32px"},border:{xs:"1px",sm:"2px",md:"3px",lg:"4px",xl:"5px"},radius:{xs:"5px",sm:"10px",md:"15px",lg:"20px",xl:"25px","2xl":"30px","3xl":"35px"},shadow:{wide:{sm:"0 2px 3px -0.5px",md:"0 4px 6px -1px",lg:"0 10px 15px -3px",xl:"0 20px 25px -5px","2xl":"0 25px 50px -12px"},narrow:{sm:"0 1px 2px -1px",md:"0 2px 4px -2px",lg:"0 4px 6px -4px",xl:"0 8px 10px -6px","2xl":"0 16px 16px -8px"}},fonts:$u,direction:"ltr"},Xu=(t=>ze(t,[],t=>De({},t,Te(t))))(qu),Ku=(t=>Object.keys(t).reduce((e,i)=>{const o=t[i];return Object.assign(e,{[i]:H(o)})},{}))({surface:{main:"#ffffff",dark:"#636c74",light:"#cfd3d7",highlight:"#f4f5f6",contrast:"#181a1c"},primary:{main:"#006af5",dark:"#004094",light:"#71aeff",highlight:"#f0f6ff",contrast:"#ffffff"},secondary:{main:"#802ed6",dark:"#6410bc",light:"#be89f5",highlight:"#ede7f6",contrast:"#ffffff"},success:{main:"#008000",dark:"#005700",light:"#8bc38b",highlight:"#f5faf5",contrast:"#ffffff"},error:{main:"#e21d12",dark:"#b3170f",light:"#f4807a",highlight:"#fef1f1",contrast:"#ffffff"},warning:{main:"#c45512",dark:"#a24309",light:"#ff985a",highlight:"#fdf0e5",contrast:"#ffffff"}}),tp={font1:{family:["Roboto","ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Roboto",url:"https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,600,700,800,900"},font2:{family:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],label:"Sans Serif"}},ep=it({fonts:tp}).fonts,ip={colors:Ku,typography:{h1:{font:ep.font1.family,weight:"900",size:"48px"},h2:{font:ep.font1.family,weight:"800",size:"38px"},h3:{font:ep.font1.family,weight:"600",size:"28px"},subtitle1:{font:ep.font2.family,weight:"500",size:"22px"},subtitle2:{font:ep.font2.family,weight:"400",size:"20px"},body1:{font:ep.font1.family,weight:"400",size:"16px"},body2:{font:ep.font1.family,weight:"400",size:"14px"}},spacing:{xs:"2px",sm:"4px",md:"8px",lg:"16px",xl:"32px"},border:{xs:"1px",sm:"2px",md:"3px",lg:"4px",xl:"5px"},radius:{xs:"5px",sm:"10px",md:"15px",lg:"20px",xl:"25px","2xl":"30px","3xl":"35px"},shadow:{wide:{sm:"0 2px 3px -0.5px",md:"0 4px 6px -1px",lg:"0 10px 15px -3px",xl:"0 20px 25px -5px","2xl":"0 25px 50px -12px"},narrow:{sm:"0 1px 2px -1px",md:"0 2px 4px -2px",lg:"0 4px 6px -4px",xl:"0 8px 10px -6px","2xl":"0 16px 16px -8px"}},fonts:tp,direction:"ltr"};var op;(t=>{et(t,[],t=>tt({},t,K(t)))})(ip);const np=it(ip),rp=Oo.cssVarList,sp={primary:np.colors.primary,secondary:np.colors.secondary,success:np.colors.success,error:np.colors.error,surface:np.colors.surface},[ap,lp,dp]=nt({mode:sp},Ao),cp={...ap,[rp.fontFamily]:np.fonts.font1.family,[rp.fontWeight]:"400",[rp.cursor]:"pointer",[rp.hostHeight]:"3em",[rp.hostWidth]:"auto",[rp.hostDirection]:np.direction,[rp.borderRadius]:np.radius.sm,[rp.borderWidth]:np.border.xs,[rp.borderStyle]:"solid",[rp.borderColor]:"transparent",[rp.labelSpacing]:"0.25em",[rp.textAlign]:"center",textAlign:{right:{[rp.textAlign]:"right"},left:{[rp.textAlign]:"left"},center:{[rp.textAlign]:"center"}},[rp.verticalPadding]:"1em",[rp.horizontalPadding]:"0.875em",[rp.outlineWidth]:ip.border.sm,[rp.outlineOffset]:"0px",[rp.outlineStyle]:"solid",[rp.outlineColor]:"transparent",[rp.iconSize]:"1.5em",size:{xs:{[rp.fontSize]:"12px"},sm:{[rp.fontSize]:"14px"},md:{[rp.fontSize]:"16px"},lg:{[rp.fontSize]:"18px"}},_square:{[rp.hostHeight]:"3em",[rp.hostWidth]:"3em",[rp.verticalPadding]:"0"},_fullWidth:{[rp.hostWidth]:"100%"},_loading:{[rp.cursor]:"wait",[rp.labelTextColor]:lp.main},_disabled:{[dp.main]:np.colors.surface.light,[dp.dark]:np.colors.surface.dark,[dp.light]:np.colors.surface.light,[dp.contrast]:np.colors.surface.main,[rp.iconColor]:np.colors.surface.main},variant:{contained:{[rp.labelTextColor]:lp.contrast,[rp.backgroundColor]:lp.main,_hover:{[rp.backgroundColor]:lp.dark,_loading:{[rp.backgroundColor]:lp.main}},_active:{[rp.backgroundColor]:lp.main}},outline:{[rp.labelTextColor]:lp.main,[rp.borderColor]:lp.main,_hover:{[rp.labelTextColor]:lp.dark,[rp.borderColor]:lp.dark},_active:{[rp.labelTextColor]:lp.main,[rp.borderColor]:lp.main}},link:{[rp.labelTextColor]:lp.main,[rp.horizontalPadding]:"0.125em",_hover:{[rp.labelTextColor]:lp.dark,[rp.labelTextDecoration]:"underline"},_active:{[rp.labelTextColor]:lp.main}}},_focused:{[rp.outlineColor]:lp.light}},up={...rp,...dp};var pp=Object.freeze({__proto__:null,default:cp,vars:up});const hp=it(ip),gp=Ai.cssVarList,Mp={[gp.hostDirection]:hp.direction,[gp.textLineHeight]:"1.35em",[gp.textAlign]:"start",[gp.textColor]:hp.colors.surface.dark,variant:{h1:{[gp.fontSize]:hp.typography.h1.size,[gp.fontWeight]:hp.typography.h1.weight,[gp.fontFamily]:hp.typography.h1.font},h2:{[gp.fontSize]:hp.typography.h2.size,[gp.fontWeight]:hp.typography.h2.weight,[gp.fontFamily]:hp.typography.h2.font},h3:{[gp.fontSize]:hp.typography.h3.size,[gp.fontWeight]:hp.typography.h3.weight,[gp.fontFamily]:hp.typography.h3.font},subtitle1:{[gp.fontSize]:hp.typography.subtitle1.size,[gp.fontWeight]:hp.typography.subtitle1.weight,[gp.fontFamily]:hp.typography.subtitle1.font},subtitle2:{[gp.fontSize]:hp.typography.subtitle2.size,[gp.fontWeight]:hp.typography.subtitle2.weight,[gp.fontFamily]:hp.typography.subtitle2.font},body1:{[gp.fontSize]:hp.typography.body1.size,[gp.fontWeight]:hp.typography.body1.weight,[gp.fontFamily]:hp.typography.body1.font},body2:{[gp.fontSize]:hp.typography.body2.size,[gp.fontWeight]:hp.typography.body2.weight,[gp.fontFamily]:hp.typography.body2.font}},mode:{primary:{[gp.textColor]:hp.colors.surface.contrast},secondary:{[gp.textColor]:hp.colors.surface.dark},error:{[gp.textColor]:hp.colors.error.main},"error-dark":{[gp.textColor]:hp.colors.error.dark},success:{[gp.textColor]:hp.colors.success.main},"success-dark":{[gp.textColor]:hp.colors.success.dark},warning:{[gp.textColor]:hp.colors.warning.main},"warning-dark":{[gp.textColor]:hp.colors.warning.dark}},textAlign:{right:{[gp.textAlign]:"right"},left:{[gp.textAlign]:"left"},center:{[gp.textAlign]:"center"}},_fullWidth:{[gp.hostWidth]:"100%"},_italic:{[gp.fontStyle]:"italic"},_uppercase:{[gp.textTransform]:"uppercase"},_lowercase:{[gp.textTransform]:"lowercase"}};var mp=Object.freeze({__proto__:null,default:Mp,vars:gp});const yp=it(ip),bp=Ri.cssVarList,Np={[bp.hostDirection]:yp.direction,[bp.cursor]:"pointer",[bp.textColor]:yp.colors.primary.main,textAlign:{right:{[bp.textAlign]:"right"},left:{[bp.textAlign]:"left"},center:{[bp.textAlign]:"center"}},_fullWidth:{[bp.hostWidth]:"100%"},_hover:{[bp.textDecoration]:"underline"},mode:{secondary:{[bp.textColor]:yp.colors.secondary.main}}};var Ip=Object.freeze({__proto__:null,default:Np,vars:bp});const xp=it(ip),jp=Pt.cssVarList,Tp={[jp.hostDirection]:xp.direction,[jp.hostWidth]:ot(gp.hostWidth),[jp.textLineHeight]:ot(gp.textLineHeight),[jp.textColor]:ot(gp.textColor),[jp.textAlign]:ot(gp.textAlign),[jp.fontSize]:ot(gp.fontSize),[jp.fontWeight]:ot(gp.fontWeight),[jp.fontFamily]:ot(gp.fontFamily),[jp.linkColor]:ot(bp.textColor),[jp.linkTextDecoration]:"none",[jp.linkHoverTextDecoration]:"underline",[jp.fontWeightBold]:"900",[jp.minWidth]:"0.25em",[jp.minHeight]:"1.35em",[jp.hostDisplay]:"inline-block",_empty:{_hideWhenEmpty:{[jp.hostDisplay]:"none"}}};var Dp=Object.freeze({__proto__:null,default:Tp,vars:jp});const zp=L("input-wrapper"),vp=it(ip),[Cp,Sp]=nt({labelTextColor:vp.colors.surface.dark,labelFontSize:"14px",labelFontWeight:"500",inputValueFontWeight:"400",inputPlaceholderFontWeight:"400",helperTextFontWeight:"400",errorMessageFontWeight:"400",valueTextColor:vp.colors.surface.contrast,placeholderTextColor:vp.colors.surface.dark,requiredIndicator:"'*'",helperTextColor:vp.colors.surface.dark,errorMessageTextColor:vp.colors.error.main,successMessageTextColor:vp.colors.success.main,borderWidth:vp.border.xs,borderRadius:vp.radius.xs,borderColor:"transparent",outlineWidth:vp.border.sm,outlineStyle:"solid",outlineColor:"transparent",outlineOffset:"0px",minWidth:"10em",toggleButtonSize:"1.5em",inputIconSize:"1em",inputHeight:"3em",horizontalPadding:"0.5em",verticalPadding:"0.5em",textAlign:"start",backgroundColor:vp.colors.surface.main,fontFamily:vp.fonts.font1.family,direction:vp.direction,overlayOpacity:"0.3",errorMessageIcon:"",errorMessageIconSize:"0",errorMessageIconPadding:"0",errorMessageIconPosition:"0 0.4em",errorMessageFontSize:"0.8125rem",errorMessageIconRepeat:"no-repeat",size:{xs:{fontSize:"12px",chipFontSize:"10px"},sm:{fontSize:"14px",chipFontSize:"12px"},md:{fontSize:"16px",chipFontSize:"14px"},lg:{fontSize:"18px",chipFontSize:"16px"}},labelType:{static:{valueInputHeight:"3em",valueInputMarginBottom:"auto"},floating:{labelPosition:"absolute",labelTopPosition:"0",labelHorizontalPosition:"0.9em",labelFontSize:"1em",placeholderOpacity:0,inputHeight:"3.5em",inputVerticalAlignment:"flex-end",inputTransformY:"translateY(1.55em)",inputTransition:"all 75ms ease-in-out",marginInlineStart:"0",valueInputHeight:"1.5702em",valueInputMarginBottom:"0.5em",_focused:{labelFontSize:"0.75em",inputTransformY:"translateY(1.05em)",labelFontWeight:"400",placeholderOpacity:1},_readOnly:{placeholderOpacity:0},_hasValue:{inputTransformY:"translateY(1.05em)",labelFontSize:"0.75em",labelFontWeight:"400"}}},_fullWidth:{width:"100%"},_focused:{outlineColor:vp.colors.surface.light,_invalid:{outlineColor:vp.colors.error.main}},_bordered:{outlineWidth:vp.border.xs,borderColor:vp.colors.surface.light,borderStyle:"solid",_invalid:{borderColor:vp.colors.error.main}},_disabled:{labelTextColor:vp.colors.surface.light,borderColor:vp.colors.surface.light,valueTextColor:vp.colors.surface.light,placeholderTextColor:vp.colors.surface.light,helperTextColor:vp.colors.surface.light,backgroundColor:vp.colors.surface.main},_obfuscated:{inputTextSecurity:"disc"}},zp),Lp=it(ip),Ap=jo.cssVarList,wp={[Ap.hostWidth]:Sp.width,[Ap.hostDirection]:Sp.direction,[Ap.fontSize]:Sp.fontSize,[Ap.fontFamily]:Sp.fontFamily,[Ap.labelFontSize]:Sp.labelFontSize,[Ap.labelFontWeight]:Sp.labelFontWeight,[Ap.inputValueFontWeight]:Sp.inputValueFontWeight,[Ap.inputPlaceholderFontWeight]:Sp.inputPlaceholderFontWeight,[Ap.helperTextFontWeight]:Sp.helperTextFontWeight,[Ap.errorMessageFontWeight]:Sp.errorMessageFontWeight,[Ap.labelTextColor]:Sp.labelTextColor,[Ap.errorMessageTextColor]:Sp.errorMessageTextColor,[Ap.inputBorderColor]:Sp.borderColor,[Ap.inputBorderWidth]:Sp.borderWidth,[Ap.inputBorderStyle]:Sp.borderStyle,[Ap.inputBorderRadius]:Sp.borderRadius,[Ap.inputOutlineColor]:Sp.outlineColor,[Ap.inputOutlineOffset]:Sp.outlineOffset,[Ap.inputOutlineWidth]:Sp.outlineWidth,[Ap.inputOutlineStyle]:Sp.outlineStyle,[Ap.labelRequiredIndicator]:Sp.requiredIndicator,[Ap.inputValueTextColor]:Sp.valueTextColor,[Ap.inputPlaceholderTextColor]:Sp.placeholderTextColor,[Ap.inputBackgroundColor]:Sp.backgroundColor,[Ap.inputHorizontalPadding]:Sp.horizontalPadding,[Ap.inputHeight]:Sp.inputHeight,[Ap.inputDropdownButtonColor]:Lp.colors.surface.dark,[Ap.inputDropdownButtonCursor]:"pointer",[Ap.inputDropdownButtonSize]:Sp.toggleButtonSize,[Ap.inputDropdownButtonOffset]:Lp.spacing.xs,[Ap.overlayItemPaddingInlineStart]:Lp.spacing.xs,[Ap.overlayItemPaddingInlineEnd]:Lp.spacing.lg,[Ap.labelPosition]:Sp.labelPosition,[Ap.labelTopPosition]:Sp.labelTopPosition,[Ap.labelHorizontalPosition]:Sp.labelHorizontalPosition,[Ap.inputTransformY]:Sp.inputTransformY,[Ap.inputTransition]:Sp.inputTransition,[Ap.marginInlineStart]:Sp.marginInlineStart,[Ap.placeholderOpacity]:Sp.placeholderOpacity,[Ap.inputVerticalAlignment]:Sp.inputVerticalAlignment,[Ap.valueInputHeight]:Sp.valueInputHeight,[Ap.valueInputMarginBottom]:Sp.valueInputMarginBottom,[Ap.errorMessageIcon]:Sp.errorMessageIcon,[Ap.errorMessageIconSize]:Sp.errorMessageIconSize,[Ap.errorMessageIconPadding]:Sp.errorMessageIconPadding,[Ap.errorMessageIconRepeat]:Sp.errorMessageIconRepeat,[Ap.errorMessageIconPosition]:Sp.errorMessageIconPosition,[Ap.errorMessageFontSize]:Sp.errorMessageFontSize,_readonly:{[Ap.inputDropdownButtonCursor]:"default"},[Ap.overlayFontSize]:Sp.fontSize,[Ap.overlayFontFamily]:Sp.fontFamily,[Ap.overlayCursor]:"pointer",[Ap.overlayItemBoxShadow]:"none",[Ap.overlayBackground]:Sp.backgroundColor,[Ap.overlayTextColor]:Sp.valueTextColor,[Ap.overlayCheckmarkDisplay]:"initial",[Ap.overlaySelectedItemBackground]:"initial",[Ap.overlaySelectedItemHoverBackground]:Lp.colors.primary.highlight,[Ap.overlaySelectedItemFocusBackground]:Lp.colors.primary.highlight,[Ap.overlayItemHoverBackground]:Lp.colors.primary.highlight,[Ap.overlayItemFocusBackground]:Lp.colors.primary.highlight,[Ap.overlay.minHeight]:"400px",[Ap.overlay.margin]:"0",[Ap.overlay.contentHeight]:"100%",[Ap.overlay.contentOpacity]:"1",[Ap.overlay.scrollerMinHeight]:"1px",_loading:{[Ap.overlay.loaderTop]:"50%",[Ap.overlay.loaderLeft]:"50%",[Ap.overlay.loaderRight]:"auto",[Ap.overlay.loaderMargin]:"-15px 0 0 -15px",[Ap.overlay.loaderWidth]:"30px",[Ap.overlay.loaderHeight]:"30px",[Ap.overlay.loaderBorder]:"2px solid transparent",[Ap.overlay.loaderBorderColor]:`${Lp.colors.primary.highlight} ${Lp.colors.primary.highlight} ${Lp.colors.primary.main} ${Lp.colors.primary.main}`,[Ap.overlay.loaderBorderRadius]:"50%",[Ap.overlay.contentHeight]:"100px",[Ap.overlay.scrollerMinHeight]:"100px",[Ap.overlay.contentOpacity]:"0"}};var fp=Object.freeze({__proto__:null,comboBox:wp,default:wp,vars:Ap});const Ep=it(ip),[kp,Op]=nt({shadowColor:"#00000020"},vc),{shadowColor:Vp}=Op,Up=Sc.cssVarList,Yp={...kp,[Up.hostWidth]:"fit-content",[Up.hostDirection]:Ep.direction,[Up.textAlign]:"center",[Up.fontFamily]:Ep.fonts.font1.family,[Up.fontWeight]:"400",[Up.verticalPadding]:"0.25em",[Up.horizontalPadding]:"0.5em",[Up.borderWidth]:Ep.border.xs,[Up.borderRadius]:Ep.radius.xs,[Up.borderColor]:"transparent",[Up.borderStyle]:"solid",_fullWidth:{[Up.hostWidth]:"100%"},size:{xs:{[Up.fontSize]:"12px"},sm:{[Up.fontSize]:"14px"},md:{[Up.fontSize]:"16px"},lg:{[Up.fontSize]:"18px"}},variant:{contained:{[Up.backgroundColor]:Ep.colors.surface.main}},_shrinkToIndicator:{[Up.hostWidth]:"13px",[Up.hostHeight]:"13px",[Up.borderRadius]:"50%",[Up.fontSize]:"0",[Up.textIndent]:"-9999px"},mode:{default:{[Up.textColor]:Ep.colors.surface.dark,_bordered:{[Up.borderColor]:Ep.colors.surface.light}},primary:{[Up.textColor]:Ep.colors.primary.main,_bordered:{[Up.borderColor]:Ep.colors.primary.light}},secondary:{[Up.textColor]:Ep.colors.secondary.main,_bordered:{[Up.borderColor]:Ep.colors.secondary.light}},error:{[Up.textColor]:Ep.colors.error.main,_bordered:{[Up.borderColor]:Ep.colors.error.light}},success:{[Up.textColor]:Ep.colors.success.main,_bordered:{[Up.borderColor]:Ep.colors.success.light}}},shadow:{sm:{[Up.boxShadow]:`${Ep.shadow.wide.sm} ${Vp}, ${Ep.shadow.narrow.sm} ${Vp}`},md:{[Up.boxShadow]:`${Ep.shadow.wide.md} ${Vp}, ${Ep.shadow.narrow.md} ${Vp}`},lg:{[Up.boxShadow]:`${Ep.shadow.wide.lg} ${Vp}, ${Ep.shadow.narrow.lg} ${Vp}`},xl:{[Up.boxShadow]:`${Ep.shadow.wide.xl} ${Vp}, ${Ep.shadow.narrow.xl} ${Vp}`}}};var Wp=Object.freeze({__proto__:null,default:Yp,vars:Up});const Rp=L("avatar");class Qp extends(bt({componentName:Rp,baseSelector:":host > .wrapper"})){constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <vaadin-avatar></vaadin-avatar>\n <div class="editableBadge">\n <vaadin-icon icon="vaadin:pencil"></vaadin-icon>\n </div>\n </div>\n\t\t',f("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .editableBadge {\n border: 1px solid;\n border-radius: 100%;\n height: fit-content;\n width: 25%;\n height: 25%;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 5%;\n box-sizing: border-box;\n position: absolute;\n bottom: 0;\n inset-inline-end: 0;\n }\n\n vaadin-icon {\n color: currentcolor;\n }\n\n vaadin-avatar {\n width: 100%;\n height: 100%;\n margin: 0;\n border: none\n }\n\n .wrapper {\n display: inline-flex;\n position: relative;\n width: 100%;\n height: 100%;\n }\n ",this),this.avatarComponent=this.shadowRoot.querySelector("vaadin-avatar"),w(this,this.avatarComponent,{includeAttrs:["display-name","img","abbr"],mapAttrs:{"display-name":"name"}});const t=this.shadowRoot.querySelector(".editableBadge");z(this,()=>{t.style.display=this.isEditable?"":"none"},{includeAttrs:["editable"]})}get isEditable(){return"true"===this.getAttribute("editable")}}const{host:Pp,editableBadge:Bp,avatar:Zp}={host:{selector:()=>":host"},editableBadge:{selector:"> .editableBadge"},avatar:{selector:"vaadin-avatar"}},Fp=T(ut({mappings:{hostWidth:[{...Pp,property:"width"},{...Pp,property:"min-width"}],hostHeight:{...Pp,property:"height"},cursor:[Zp,Pp],hostDirection:{...Pp,property:"direction"},avatarTextColor:{...Zp,property:"color"},avatarBackgroundColor:{...Zp,property:"background-color"},editableIconColor:{...Bp,property:"color"},editableBorderColor:{...Bp,property:"border-color"},editableBackgroundColor:{...Bp,property:"background-color"}}}),pt,ht)(Qp),Gp=it(ip),Hp=Fp.cssVarList,Jp={[Hp.hostDirection]:Gp.direction,[Hp.editableIconColor]:Gp.colors.surface.dark,[Hp.editableBorderColor]:Gp.colors.surface.dark,[Hp.editableBackgroundColor]:Gp.colors.surface.main,[Hp.avatarTextColor]:Gp.colors.surface.main,[Hp.avatarBackgroundColor]:Gp.colors.surface.dark,_editable:{[Hp.cursor]:"pointer"},size:{xs:{[Hp.hostWidth]:"30px",[Hp.hostHeight]:"30px"},sm:{[Hp.hostWidth]:"40px",[Hp.hostHeight]:"40px"},md:{[Hp.hostWidth]:"60px",[Hp.hostHeight]:"60px"},lg:{[Hp.hostWidth]:"98px",[Hp.hostHeight]:"98px"},xl:{[Hp.hostWidth]:"120px",[Hp.hostHeight]:"120px"},"2xl":{[Hp.hostWidth]:"140px",[Hp.hostHeight]:"140px"}}},$p={...Hp};var _p=Object.freeze({__proto__:null,default:Jp,vars:$p});const qp=Lo.cssVarList;var Xp=Object.freeze({__proto__:null,default:{},vars:qp});const Kp=Co.cssVarList;var th=Object.freeze({__proto__:null,default:{},vars:Kp});const eh=L("apps-list"),ih=T(ut({mappings:{maxHeight:{selector:()=>":host"},minHeight:{selector:()=>":host"},hostDirection:{selector:()=>":host",property:"direction"},gap:{selector:gu.componentName,property:gu.cssVarList.gap},maxRowItems:{selector:gu.componentName,property:gu.cssVarList.maxRowItems},itemsFontWeight:{selector:Ai.componentName,property:Ai.cssVarList.fontWeightOverride},itemsFontSize:{selector:Ai.componentName,property:Ai.cssVarList.fontSizeOverride},itemsTextAlign:{selector:Ai.componentName,property:Ai.cssVarList.textAlign},itemBackgroundColor:{selector:uu.componentName,property:uu.cssVarList.backgroundColor},itemHoverBackgroundColor:{selector:`${uu.componentName}:hover`,property:uu.cssVarList.backgroundColor},backgroundColor:{selector:gu.componentName,property:gu.cssVarList.backgroundColorOverride},itemBorderStyle:{selector:uu.componentName,property:uu.cssVarList.borderStyleOverride},itemBorderColor:{selector:uu.componentName,property:uu.cssVarList.borderColorOverride},itemBorderWidth:{selector:uu.componentName,property:uu.cssVarList.borderWidthOverride},itemVerticalPadding:{selector:uu.componentName,property:uu.cssVarList.verticalPaddingOverride},itemHorizontalPadding:{selector:uu.componentName,property:uu.cssVarList.horizontalPaddingOverride},itemAlignment:[{selector:()=>".avatar-wrapper",property:"text-align"},{selector:Ai.componentName,property:Ai.cssVarList.textAlign}]}}),Ut({itemRenderer:({name:t,icon:e,url:i},o,n)=>`\n <a ${i?`href="${i}" title="${i}"`:""} ${n.openInSameWindow?"":'target="_blank"'}>\n <descope-list-item>\n <div class="avatar-wrapper">\n <descope-avatar\n ${e?`img="${e}"`:""}\n ${t?`display-name="${t}" abbr=${O(t)}`:""}\n size="${n.logoSize||n.size}"\n ></descope-avatar>\n </div>\n <descope-text\n variant="${n.itemTextVariant}"\n mode="primary"\n >${t}</descope-text>\n </descope-list-item>\n </a>\n`,rerenderAttrsList:["size","item-text-variant","logo-size","open-in-same-window"]}),pt,ht,t=>class extends t{get size(){return this.getAttribute("size")||"sm"}get itemTextVariant(){return this.getAttribute("item-text-variant")||"body1"}get logoSize(){return this.getAttribute("logo-size")}get openInSameWindow(){return"true"===this.getAttribute("open-in-same-window")}})(St({slots:["empty-state"],wrappedEleName:"descope-list",excludeAttrsSync:["tabindex","class","empty","style"],componentName:eh,style:()=>`\n :host {\n width: 100%;\n display: inline-flex;\n }\n\n descope-text::part(text-wrapper) {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n\n descope-list-item[variant="tile"] .avatar-wrapper {\n width: 100%;\n }\n\n .avatar-wrapper {\n line-height: 0;\n }\n\n a {\n text-decoration: none;\n }\n\n descope-text {\n ${Ai.cssVarList.hostDirection}: var(${ih.cssVarList.hostDirection});\n max-width: 100%;\n width: 100%;\n }\n `})),oh=ih.cssVarList,nh=it(ip),rh="400px",sh={[oh.itemsTextAlign]:"start",[oh.hostDirection]:nh.direction,[oh.maxHeight]:rh,[oh.itemHoverBackgroundColor]:nh.colors.surface.highlight,_empty:{[oh.minHeight]:rh},size:{xs:{[oh.itemsFontSize]:"14px",[oh.itemsFontWeight]:"normal"},sm:{[oh.itemsFontSize]:"14px",[oh.itemsFontWeight]:"normal"},md:{[oh.itemsFontSize]:"16px",[oh.itemsFontWeight]:"normal"},lg:{[oh.itemsFontSize]:"20px",[oh.itemsFontWeight]:"normal"}},itemPadding:{xs:{[oh.itemVerticalPadding]:nh.spacing.xs,[oh.itemHorizontalPadding]:nh.spacing.xs},sm:{[oh.itemVerticalPadding]:nh.spacing.sm,[oh.itemHorizontalPadding]:nh.spacing.sm},md:{[oh.itemVerticalPadding]:nh.spacing.md,[oh.itemHorizontalPadding]:nh.spacing.md},lg:{[oh.itemVerticalPadding]:nh.spacing.lg,[oh.itemHorizontalPadding]:nh.spacing.lg},xl:{[oh.itemVerticalPadding]:nh.spacing.xl,[oh.itemHorizontalPadding]:nh.spacing.xl}}};var ah=Object.freeze({__proto__:null,default:sh,vars:oh});const lh=it(ip),dh=gu.cssVarList,[ch,uh,ph]=nt({shadowColor:"#00000020"},pu),{shadowColor:hh}=uh,gh={...ch,[dh.hostWidth]:"100%",[dh.backgroundColor]:lh.colors.surface.main,[dh.fontFamily]:lh.fonts.font1.family,[dh.borderColor]:lh.colors.surface.light,[dh.borderStyle]:"solid",[dh.borderWidth]:lh.border.xs,[dh.borderRadius]:lh.radius.sm,[dh.gap]:lh.spacing.md,[dh.verticalPadding]:lh.spacing.lg,[dh.horizontalPadding]:lh.spacing.lg,[dh.boxShadow]:`${lh.shadow.wide.sm} ${hh}, ${lh.shadow.narrow.sm} ${hh}`,[dh.maxHeight]:"100%",[dh.hostDirection]:lh.direction,[dh.minItemsWidth]:"150px",[dh.maxRowItems]:"1000",_empty:{[dh.minHeight]:"150px",[dh.emptyStateTextColor]:lh.colors.surface.dark,[dh.emptyStateTextFontFamily]:lh.fonts.font1.family},variant:{tiles:{[dh.gridTemplateColumns]:`repeat(auto-fit, minmax(\n max(\n min(${ot(dh.minItemsWidth)}, 100%),\n calc((100% - (${ot(dh.maxRowItems)} - 1) * ${ot(dh.gap)}) / ${ot(dh.maxRowItems)})),\n 1fr))`,[dh.maxItemsWidth]:"200px",[dh.itemsHorizontalAlign]:"center"}},gap:{xs:{[dh.gap]:lh.spacing.xs},sm:{[dh.gap]:lh.spacing.sm},md:{[dh.gap]:lh.spacing.md},lg:{[dh.gap]:lh.spacing.lg},xl:{[dh.gap]:lh.spacing.xl}}},Mh={...dh,...ph};var mh=Object.freeze({__proto__:null,default:gh,vars:Mh});const yh=it(ip),bh=uu.cssVarList,Nh={[bh.backgroundColor]:yh.colors.surface.main,[bh.verticalPadding]:yh.spacing.lg,[bh.horizontalPadding]:yh.spacing.lg,[bh.gap]:yh.spacing.md,[bh.borderStyle]:"solid",[bh.borderWidth]:yh.border.xs,[bh.borderColor]:yh.colors.surface.main,[bh.borderRadius]:yh.radius.sm,[bh.cursor]:"pointer",[bh.alignItems]:"center",[bh.flexDirection]:"row",[bh.transition]:"border-color 0.2s, background-color 0.2s",variant:{tile:{[bh.alignItems]:"flex-start",[bh.flexDirection]:"column",[bh.borderColor]:yh.colors.surface.light}},_hover:{[bh.backgroundColor]:yh.colors.surface.highlight},_active:{[bh.backgroundColor]:yh.colors.surface.main,[bh.borderColor]:yh.colors.primary.light,[bh.outline]:`1px solid ${yh.colors.primary.light}`}};var Ih=Object.freeze({__proto__:null,default:Nh,vars:bh});const xh=L("multi-select-combo-box"),{host:jh,inputField:Th,inputElement:Dh,placeholder:zh,toggle:vh,clearButton:Ch,label:Sh,requiredIndicator:Lh,helperText:Ah,errorMessage:wh,chip:fh,chipLabel:Eh,overflowChipFirstBorder:kh,overflowChipSecondBorder:Oh}={host:{selector:()=>":host"},inputField:{selector:"::part(input-field)"},inputElement:{selector:"input"},placeholder:{selector:"> input:placeholder-shown"},toggle:{selector:"::part(toggle-button)"},clearButton:{selector:"::part(clear-button)"},label:{selector:"::part(label)"},requiredIndicator:{selector:"[required]::part(required-indicator)::after"},helperText:{selector:"::part(helper-text)"},errorMessage:{selector:"::part(error-message)"},chip:{selector:"vaadin-multi-select-combo-box-chip"},chipLabel:{selector:"vaadin-multi-select-combo-box-chip::part(label)"},overflowChipFirstBorder:{selector:"vaadin-multi-select-combo-box-chip[slot='overflow']::before"},overflowChipSecondBorder:{selector:"vaadin-multi-select-combo-box-chip[slot='overflow']::after"}},Vh=T(ut({mappings:{hostWidth:{...jh,property:"width"},hostDirection:{...jh,property:"direction"},fontSize:[{},jh],chipFontSize:{...Eh,property:"font-size"},fontFamily:[Sh,zh,Th,Ah,wh,Eh],labelFontSize:{...Sh,property:"font-size"},labelFontWeight:{...Sh,property:"font-weight"},inputValueFontWeight:{...Th,property:"font-weight"},inputPlaceholderFontWeight:{...zh,property:"font-weight"},helperTextFontWeight:{...Ah,property:"font-weight"},errorMessageFontWeight:{...wh,property:"font-weight"},labelTextColor:[{...Sh,property:"color"},{...Lh,property:"color"}],errorMessageTextColor:{...wh,property:"color"},errorMessageIcon:{...wh,property:"background-image"},errorMessageIconSize:{...wh,property:"background-size"},errorMessageIconPadding:{...wh,property:"padding-inline-start"},errorMessageIconRepeat:{...wh,property:"background-repeat"},errorMessageIconPosition:{...wh,property:"background-position"},errorMessageFontSize:{...wh,property:"font-size"},inputHeight:{...Th,property:"min-height"},inputBackgroundColor:{...Th,property:"background-color"},inputBorderColor:{...Th,property:"border-color"},inputBorderWidth:{...Th,property:"border-width"},inputBorderStyle:{...Th,property:"border-style"},inputBorderRadius:{...Th,property:"border-radius"},labelRequiredIndicator:{...Lh,property:"content"},inputValueTextColor:{...Th,property:"color"},inputPlaceholderTextColor:{...zh,property:"color"},inputDropdownButtonCursor:[{...vh,property:"cursor"},{...Ch,property:"cursor"}],inputDropdownButtonColor:[{...vh,property:"color"},{...Ch,property:"color"}],inputDropdownButtonSize:[{...vh,property:"font-size"},{...Ch,property:"font-size"}],inputDropdownButtonOffset:[{...vh,property:"margin-right"},{...vh,property:"margin-left"}],inputOutlineColor:{...Th,property:"outline-color"},inputOutlineWidth:{...Th,property:"outline-width"},inputOutlineStyle:{...Th,property:"outline-style"},inputOutlineOffset:{...Th,property:"outline-offset"},inputHorizontalPadding:[{...Dh,property:"padding-left"},{...Dh,property:"padding-right"},{...Th,property:"padding-inline-start"}],inputVerticalPadding:[{...Th,property:"padding-top"},{...Th,property:"padding-bottom"}],chipTextColor:{...Eh,property:"color"},chipBackgroundColor:[{...fh,property:"background-color"},{...kh,property:"border-color"},{...Oh,property:"border-color"}],labelPosition:{...Sh,property:"position"},labelTopPosition:{...Sh,property:"top"},labelLeftPosition:{...Sh,property:"left"},labelHorizontalPosition:[{...Sh,property:"left"},{...Sh,property:"right"}],inputTransformY:{...Sh,property:"transform"},inputTransition:{...Sh,property:"transition"},marginInlineStart:{...Sh,property:"margin-inline-start"},placeholderOpacity:{...zh,property:"opacity"},inputVerticalAlignment:{...Th,property:"align-items"},overlayBackground:{property:()=>Vh.cssVarList.overlay.backgroundColor},overlayTextColor:{property:()=>Vh.cssVarList.overlay.textColor},overlayBorder:{property:()=>Vh.cssVarList.overlay.border},overlayFontSize:{property:()=>Vh.cssVarList.overlay.fontSize},overlayFontFamily:{property:()=>Vh.cssVarList.overlay.fontFamily},overlayCursor:{property:()=>Vh.cssVarList.overlay.cursor},overlayItemBoxShadow:{property:()=>Vh.cssVarList.overlay.itemBoxShadow},overlayItemPaddingInlineStart:{property:()=>Vh.cssVarList.overlay.itemPaddingInlineStart},overlayItemPaddingInlineEnd:{property:()=>Vh.cssVarList.overlay.itemPaddingInlineEnd}}}),pt,kt({name:"overlay",selector:"vaadin-multi-select-combo-box-internal",mappings:{backgroundColor:{selector:"vaadin-multi-select-combo-box-scroller"},minHeight:{selector:"vaadin-multi-select-combo-box-overlay"},margin:{selector:"vaadin-multi-select-combo-box-overlay"},cursor:{selector:"vaadin-multi-select-combo-box-item"},fontFamily:{selector:"vaadin-multi-select-combo-box-item"},textColor:{selector:"vaadin-multi-select-combo-box-item",property:"color"},fontSize:{selector:"vaadin-multi-select-combo-box-item"},itemBoxShadow:{selector:"vaadin-multi-select-combo-box-item",property:"box-shadow"},itemPaddingInlineStart:{selector:"vaadin-multi-select-combo-box-item",property:"padding-inline-start"},itemPaddingInlineEnd:{selector:"vaadin-multi-select-combo-box-item",property:"padding-inline-end"}},forward:{include:!1,attributes:["size"]}}),ft({proxyProps:["selectionStart"],inputEvent:"selected-items-changed"}),It,ht,t=>class extends t{static get observedAttributes(){return["readonly"]}#tt=({displayName:t,value:e,label:i})=>{const o=document.createElement("span");return o.setAttribute("data-name",i),o.setAttribute("data-id",e),o.textContent=t||i,o.outerHTML};#U;#be=[];get defaultValues(){const t=this.getAttribute("default-values");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "default-values" -',t.message)}return[]}get renderItem(){return this.#tt}set renderItem(t){this.#tt=t,this.renderItems()}get data(){if(this.#U)return this.#U;const t=this.getAttribute("data");if(t)try{const e=JSON.parse(t);if(this.isValidDataType(e))return e}catch(t){console.error('could not parse data string from attribute "data" -',t.message)}return[]}set data(t){this.isValidDataType(t)&&(this.#U=t,this.renderItems())}get allowCustomValues(){return"true"===this.getAttribute("allow-custom-value")}get minItemsSelection(){return parseInt(this.getAttribute("min-items-selection"),10)||0}get maxItemsSelection(){return parseInt(this.getAttribute("max-items-selection"),10)||0}isValidDataType(t){const e=Array.isArray(t);return e||console.error("data and default-values must be an array, received:",t),e}getItemsTemplate(){return this.data?.reduce?.((t,e)=>t+(this.renderItem?.(e||{})||""),"")}renderItems(){const t=this.getItemsTemplate();t&&(this.innerHTML=t)}updateSelectedItems(){const t=this.baseElement.selectedItems?.map(t=>t.getAttribute("data-id"))||[];t.length>0&&(this.value=t),0===this.value.length&&this.setDefaultValues()}customValueTransformFn(t){return t}setComboBoxDescriptor(){const t=Object.getOwnPropertyDescriptor(this.inputElement.constructor.prototype,"value"),e=this;Object.defineProperties(this.inputElement,{value:{...t,set(i){const o=e.customValueTransformFn(i)||"";o!==this.value&&t.set.call(this,o)}}})}#Ne(t){return Array.from(new Map(t.map(t=>[t.getAttribute("data-id"),t])).values())}#et(){const t=Array.from(this.children),e=this.#Ne(t);t.length?(this.removeAttribute("has-no-options"),e.forEach(t=>{Object.defineProperty(t,"data-name",{value:t.getAttribute("data-name"),configurable:!0,writable:!0}),Object.defineProperty(t,"data-id",{value:t.getAttribute("data-id"),configurable:!0,writable:!0})}),this.baseElement.items=e,setTimeout(()=>{this.updateSelectedItems()},0)):(this.baseElement.items=[],this.setAttribute("has-no-options","")),this.baseElement.renderer=(t,e,i)=>{t.innerHTML=i.item.outerHTML}}#it(){const t=this.baseElement.shadowRoot.querySelector("vaadin-multi-select-combo-box-internal").shadowRoot.querySelector("vaadin-multi-select-combo-box-overlay");t._attachOverlay=()=>{t.bringToFront()},t._detachOverlay=()=>{},t._enterModalState=()=>{}}#Ie(){this.allowCustomValues&&this.baseElement.addEventListener("custom-value-set",t=>{const e=this.#tt({label:t.detail,displayName:t.detail,value:t.detail});this.innerHTML+=e,this.baseElement._lastFilter="",setTimeout(()=>{this.value=[...this.value,t.detail]},0)})}setGetValidity(){this.getValidity=function(){if(this.pattern){const t=new RegExp(this.pattern);if(this.value.some(e=>!t.test(e)))return{patternMismatch:!0}}return this.isRequired&&!this.value.length?{valueMissing:!0}:this.isRequired&&this.minItemsSelection&&this.value.length<this.minItemsSelection?{rangeUnderflow:!0}:this.maxItemsSelection&&this.value.length>this.maxItemsSelection?{rangeOverflow:!0}:{}};const t=this;this.baseElement.checkValidity=()=>t.validity.valid}init(){super.init?.(),this.setGetValidity(),this.#Ie(),this.renderItems(),z(this,this.renderItems.bind(this),{includeAttrs:["data"]}),v(this,this.#et.bind(this)),w(this,this.baseElement,{includeAttrs:["placeholder"]}),setTimeout(()=>{this.setComboBoxDescriptor(),this.#it()}),this.setDefaultValues(),this.baseElement.addEventListener("selected-items-changed",()=>{this.#xe(),this.dispatchEvent(new CustomEvent("input",{bubbles:!0}))})}setDefaultValues(){this.defaultValues.length>0&&(this.value=this.defaultValues)}#xe(){this.#be=this.baseElement.selectedItems?.map(t=>t.getAttribute("data-id"))||[]}set value(t){if(t&&t.length>0){const e=this.baseElement.items?.filter(e=>t.includes(e["data-id"]));if(this.allowCustomValues){const i=e?.map(t=>t.getAttribute("data-id"))||[],o=t.filter(t=>!i.includes(t));if(o.length){const e=o.reduce((t,e)=>t+this.#tt({label:e,displayName:e,value:e}),"");return this.innerHTML+=e,void setTimeout(()=>{this.value=t},0)}}const i=e?.map(t=>t.getAttribute("data-id"))||[];((t,e)=>{if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;const i=t.slice().sort(),o=e.slice().sort();for(let t=0;t<i.length;t++)if(i[t]!==o[t])return!1;return!0})(this.#be,i)||(this.baseElement.selectedItems=e)}else this.baseElement.selectedItems=[]}get value(){return this.#be}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"readonly"===t&&this.onReadOnlyChange(null!==i&&"true"===i)}onReadOnlyChange(t){t?this.baseElement?.shadowRoot?.querySelector("vaadin-multi-select-combo-box-internal")?.setAttribute("inert",t):this.baseElement?.shadowRoot?.querySelector("vaadin-multi-select-combo-box-internal")?.removeAttribute("inert")}})(St({slots:["","prefix"],wrappedEleName:"vaadin-multi-select-combo-box",style:()=>`\n\t\t:host {\n\t\t\tdisplay: inline-flex;\n\t\t\tbox-sizing: border-box;\n\t\t\t-webkit-mask-image: none;\n\t\t}\n\t\t${J(Vh.cssVarList)}\n\t\t${q("vaadin-multi-select-combo-box")}\n\t\t${_("vaadin-multi-select-combo-box")}\n\t\t${$("vaadin-multi-select-combo-box")}\n\n\t\tvaadin-multi-select-combo-box {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t\tvaadin-multi-select-combo-box::before {\n\t\t\theight: initial;\n\t\t}\n\t\tvaadin-multi-select-combo-box [slot="input"] {\n\t\t\t-webkit-mask-image: none;\n\t\t\tmin-height: 0;\n align-self: center;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\t\tvaadin-multi-select-combo-box[readonly] [slot="input"] {\n flex-grow: 1;\n flex-basis: 4em;\n\t\t}\n\n\t\t::part(input-field) {\n padding: 0;\n\t\t\tbox-shadow: none;\n\t\t}\n ${X("vaadin-multi-select-combo-box")}\n :host([has-label]) vaadin-multi-select-combo-box-chip::part(label) {\n display: block;\n }\n\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::before,\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {\n left: -4px;\n right: -4px;\n border-left-width: 0;\n border-inline-start-style: solid;\n border-inline-start-width: 2px;\n }\n vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {\n left: -8px;\n right: -8px;\n }\n\n :host([has-no-options][allow-custom-value='true']) ::part(toggle-button) {\n display: none;\n }\n\n \n :host([label-type="floating"]) {\n position: relative;\n }\n :host([label-type="floating"][has-label]) > ::part(label) {\n z-index: 1;\n padding: 0;\n width: auto;\n }\n \n\n vaadin-multi-select-combo-box::part(toggle-button),\n vaadin-multi-select-combo-box::part(clear-button) {\n align-self: center;\n }\n\n vaadin-multi-select-combo-box[label-type="floating"]:not([focused])[readonly] > input:placeholder-shown {\n opacity: 0;\n }\n vaadin-multi-select-combo-box[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {\n opacity: 0;\n }\n\n\t\t`,excludeAttrsSync:["tabindex","size","data","placeholder","style"],componentName:xh,includeForwardProps:["items","renderer","selectedItems"]})),Uh=L("multi-line-mappings"),Yh=bt({componentName:Uh}),Wh=t=>null==t?"":String("object"==typeof t?t.value??t.id??t.label??"":t),Rh=t=>[...new Set(t.map(Wh).filter(Boolean))],Qh=t=>{const e=Wh(t);return"object"==typeof t&&null!==t?{...t,value:e,label:String(t.label??t.displayName??e)}:{value:e,label:e}},Ph=t=>{if(!Array.isArray(t))return[];const e=new Set;return t.map(Qh).filter(t=>!(!t.value||e.has(t.value)||(e.add(t.value),0)))},Bh=(t=[],e=[])=>t.length===e.length&&t.every((t,i)=>t===e[i]),Zh={selector:()=>":host"},Fh={selector:".row"},Gh={selector:".add-action"},Hh=T(ut({mappings:{hostWidth:{...Zh,property:"width"},hostDirection:[{...Zh,property:"direction"},{selector:Vh.componentName,property:Vh.cssVarList.hostDirection},{selector:Oo.componentName,property:Oo.cssVarList.hostDirection}],rowsGap:{selector:".rows",property:"gap"},rowGap:{...Fh,property:"gap"},rowAlignItems:{...Fh,property:"align-items"},rowWrap:{...Fh,property:"flex-wrap"},addActionJustifyContent:{...Gh,property:"justify-content"},addActionMarginTop:{...Gh,property:"margin-top"}}}),pt)(class extends Yh{static get observedAttributes(){return["data","max-rows","size","disabled","readonly","first-value-key","second-value-key","first-label","second-label","first-placeholder","second-placeholder","full-width","merge-rows"]}#je=[{firstValues:[],secondValues:[]}];#Te=null;#De=[];#ze={};constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="rows"></div>\n <div class="add-action">\n <descope-button\n class="add-button"\n variant="link"\n mode="primary"\n >\n <slot name="add-button-content">Add line</slot>\n </descope-button>\n </div>\n </div>\n ',f("\n :host {\n display: inline-flex;\n box-sizing: border-box;\n max-width: 100%;\n }\n\n .wrapper {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .rows {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .rows > .row {\n display: flex;\n width: 100%;\n min-width: 0;\n box-sizing: border-box;\n align-items: flex-end;\n }\n\n .row descope-multi-select-combo-box {\n flex: 1 1 0;\n box-sizing: border-box;\n }\n\n .row .remove-button {\n flex: 0 0 auto;\n align-self: flex-end;\n }\n\n .row:only-child .remove-button {\n display: none;\n pointer-events: none;\n }\n\n .add-action {\n display: flex;\n }\n ",this),this.rowsElement=this.shadowRoot.querySelector(".rows"),this.addButtonElement=this.shadowRoot.querySelector(".add-button")}get size(){return this.getAttribute("size")||"md"}get firstValueKey(){return this.getAttribute("first-value-key")||"firstValues"}get secondValueKey(){return this.getAttribute("second-value-key")||"secondValues"}get firstLabel(){return this.getAttribute("first-label")||""}get secondLabel(){return this.getAttribute("second-label")||""}get firstPlaceholder(){return this.getAttribute("first-placeholder")||""}get secondPlaceholder(){return this.getAttribute("second-placeholder")||""}get disabled(){return"true"===this.getAttribute("disabled")}get readonly(){return"true"===this.getAttribute("readonly")}get mergeRows(){return"true"===this.getAttribute("merge-rows")}get maxRows(){const t=Number(this.getAttribute("max-rows"));return Number.isFinite(t)&&t>0?t:void 0}get data(){return this.#ze}get value(){return this.#je.filter(t=>t.firstValues.length>0||t.secondValues.length>0).flatMap(t=>(t.firstValues.length?t.firstValues:[""]).map(e=>({[this.firstValueKey]:e,[this.secondValueKey]:[...t.secondValues]})))}set value(t){this.#Te=t,this.#je=this.#ve(t),this.#Ce(),this.#Se()}#Le(t){const e=((t,e,i="unknown")=>{if("string"!=typeof t||!t?.trim())return e;try{return JSON.parse(t)}catch(t){return console.error(`[descope-multi-line-mappings] Failed to parse JSON from "${i}"`,t),e}})(t,{},"data attribute"),i=e&&"object"==typeof e&&!Array.isArray(e)?e:{};this.#De=Object.entries(i).map(([t,e])=>{const i=String(t),o=null!=e&&"object"==typeof e&&!Array.isArray(e),n=o?e.options??[]:e;return{value:i,label:o&&null!=e.label?String(e.label):i,options:Ph(n)}}),this.#ze=Object.fromEntries(this.#De.map(({value:t,options:e})=>[t,e]))}init(){super.init?.(),this.#Ae(),this.addButtonElement.addEventListener("click",()=>this.#we()),this.#Se()}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i){if("data"===t)return this.#Le(i),this.#Ce(),void this.#Se();if("size"===t)return[...this.#fe(),...this.#Ee()].forEach(t=>t.setAttribute("size",this.size)),this.#Ae(),void this.#ke();if(["disabled","readonly"].includes(t))return this.#fe().forEach(t=>{t[this.disabled?"setAttribute":"removeAttribute"]("disabled","true"),t[this.readonly?"setAttribute":"removeAttribute"]("readonly","true")}),this.#Ee().forEach(t=>t[this.disabled||this.readonly?"setAttribute":"removeAttribute"]("disabled","true")),void this.#ke();if(["first-label","second-label"].includes(t)){const e="first-label"===t?"first":"second";return void Array.from(this.rowsElement.children).forEach(t=>{const o=t.querySelector(`.${e}-combo`);i?o?.setAttribute("label",i):o?.removeAttribute("label")})}if(["first-placeholder","second-placeholder"].includes(t)){const e="first-placeholder"===t?"first":"second";return void Array.from(this.rowsElement.children).forEach(t=>{const o=t.querySelector(`.${e}-combo`);i?o?.setAttribute("placeholder",i):o?.removeAttribute("placeholder")})}"max-rows"===t&&this.#ke(),"merge-rows"===t&&null!==this.#Te&&(this.#je=this.#ve(this.#Te),this.#Ce(),this.#Se())}}#fe(){return Array.from(this.rowsElement.querySelectorAll("descope-multi-select-combo-box"))}#Ee(){return Array.from(this.rowsElement.querySelectorAll(".remove-button"))}#we(){if(this.disabled||this.readonly||this.#Oe())return;const t={firstValues:[],secondValues:[]};this.#je=[...this.#je,t],this.rowsElement.append(this.#Ve(t)),this.#ke()}#ve(t){if(!Array.isArray(t)||!t.length)return[{firstValues:[],secondValues:[]}];let e=t.map(t=>{const e=t?.[this.firstValueKey];return{firstValues:null!=e&&""!==String(e)?[String(e)]:[],secondValues:Rh(t?.[this.secondValueKey]??[])}});if(this.mergeRows){const t=new Map;for(const i of e){const e=[...i.secondValues].sort().join("\0");t.has(e)?t.get(e).firstValues.push(...i.firstValues):t.set(e,{firstValues:[...i.firstValues],secondValues:i.secondValues})}e=[...t.values()]}return e}#Ce(){const t=new Set(this.#De.map(t=>t.value));this.#je=this.#je.map(e=>{const i=e.firstValues.filter(e=>t.has(e)),o=this.#Ue(i),n=new Set(o.map(t=>t.value));return{firstValues:i,secondValues:e.secondValues.filter(t=>n.has(t))}})}#Ue(t){const e=t.length?t.map(t=>this.#ze[t]||[]).filter(t=>t.length):Object.values(this.#ze).filter(t=>t.length);if(!e.length||t.length&&e.length!==t.length)return[];if(1===e.length)return e[0];const[i,...o]=e,n=new Set(i.map(t=>t.value));for(const t of o){const e=new Set(t.map(t=>t.value));for(const t of n)e.has(t)||n.delete(t)}return i.filter(t=>n.has(t.value))}#Ye({getRowIndex:t,type:e,label:i,placeholder:o,options:n,selectedValues:r}){const s=document.createElement("descope-multi-select-combo-box");return s.className=`combo ${e}-combo`,s.setAttribute("size",this.size),s.setAttribute("bordered","true"),s.setAttribute("item-label-path","data-name"),s.setAttribute("item-value-path","data-id"),i&&s.setAttribute("label",i),o&&s.setAttribute("placeholder",o),this.disabled&&s.setAttribute("disabled","true"),this.readonly&&s.setAttribute("readonly","true"),s.data=n,this.#We(s,r),s.addEventListener("input",()=>{if(s.__descopeSyncingSelection)return;const i=t();-1!==i&&this.#Re({rowIndex:i,type:e,selectedValues:Rh(s.value||[])})}),s}#We(t,e){t.__descopeSyncingSelection=!0,Promise.resolve().then(()=>{const i=new Set(e||[]);t.selectedItems=(t.items||[]).filter(t=>i.has(t["data-id"]||t.getAttribute?.("data-id"))),t.__descopeSyncingSelection=!1})}#Qe(t){const e=document.createElement("descope-button");return e.className="remove-button",e.setAttribute("variant","link"),e.setAttribute("mode","primary"),e.setAttribute("size",this.size),e.setAttribute("aria-label","Remove row"),e.innerHTML='<vaadin-icon icon="vaadin:minus"></vaadin-icon>',(this.disabled||this.readonly)&&e.setAttribute("disabled","true"),e.addEventListener("click",()=>{const e=t();-1!==e&&this.#Pe(e)}),e}#Se(){this.rowsElement.innerHTML="",this.#je.forEach(t=>{this.rowsElement.append(this.#Ve(t))}),this.#ke()}#Ve(t){const e=document.createElement("div");e.className="row";const i=()=>Array.from(this.rowsElement.children).indexOf(e),o=this.#Ye({getRowIndex:i,type:"first",label:this.firstLabel,placeholder:this.firstPlaceholder,options:this.#De.map(({value:t,label:e})=>({value:t,label:e})),selectedValues:t.firstValues}),n=this.#Ue(t.firstValues),r=this.#Ye({getRowIndex:i,type:"second",label:this.secondLabel,placeholder:this.secondPlaceholder,options:n,selectedValues:t.secondValues});return e.append(o,r,this.#Qe(i)),e}#Be(t){const e=this.#je[t];if(!e)return;const i=this.rowsElement.children[t],o=i?.querySelector(".second-combo");if(!o)return void this.#Se();const n=this.#Ue(e.firstValues);o.data=n,this.#We(o,e.secondValues)}#Ae(){this.addButtonElement.setAttribute("size",this.size)}#ke(){this.disabled||this.readonly||this.#Oe()?this.addButtonElement.setAttribute("disabled","true"):this.addButtonElement.removeAttribute("disabled")}#Oe(){return Number.isFinite(this.maxRows)&&this.#je.length>=this.maxRows}#Ze(t){this.rowsElement.children[t]?.remove()}#Re({rowIndex:t,type:e,selectedValues:i}){if(this.disabled||this.readonly)return;const o=this.#je[t];if(o){if("first"===e){const e=this.#Ue(i),n=new Set(e.map(t=>t.value)),r=o.secondValues.filter(t=>n.has(t));if(Bh(o.firstValues,i)&&Bh(o.secondValues,r))return;return this.#je[t]={firstValues:i,secondValues:r},this.#Be(t),void this.#Fe()}Bh(o.secondValues,i)||(this.#je[t]={...o,secondValues:i},this.#Fe())}}#Pe(t){if(this.disabled||this.readonly||this.#je.length<=1)return;const e=this.#je[t];this.#je=this.#je.filter((e,i)=>i!==t),this.#Ze(t),this.#ke(),(e.firstValues.length>0||e.secondValues.length>0)&&this.#Fe()}#Fe(){this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}}),Jh=Hh.cssVarList,$h={[Jh.hostDirection]:Sp.direction,[Jh.rowsGap]:ip.spacing.sm,[Jh.rowGap]:ip.spacing.sm,[Jh.rowAlignItems]:"flex-end",[Jh.rowWrap]:"nowrap",[Jh.addActionJustifyContent]:"flex-start",[Jh.addActionMarginTop]:ip.spacing.xs,_fullWidth:{[Jh.hostWidth]:"100%"}};var _h=Object.freeze({__proto__:null,default:$h,vars:Jh});const qh=it(ip),Xh=Vh.cssVarList,Kh={[Xh.hostWidth]:Sp.width,[Xh.hostDirection]:Sp.direction,[Xh.fontSize]:Sp.fontSize,[Xh.fontFamily]:Sp.fontFamily,[Xh.labelFontSize]:Sp.labelFontSize,[Xh.labelFontWeight]:Sp.labelFontWeight,[Xh.inputValueFontWeight]:Sp.inputValueFontWeight,[Xh.inputPlaceholderFontWeight]:Sp.inputPlaceholderFontWeight,[Xh.helperTextFontWeight]:Sp.helperTextFontWeight,[Xh.errorMessageFontWeight]:Sp.errorMessageFontWeight,[Xh.labelTextColor]:Sp.labelTextColor,[Xh.errorMessageTextColor]:Sp.errorMessageTextColor,[Xh.inputBorderColor]:Sp.borderColor,[Xh.inputBorderWidth]:Sp.borderWidth,[Xh.inputBorderStyle]:Sp.borderStyle,[Xh.inputBorderRadius]:Sp.borderRadius,[Xh.inputOutlineColor]:Sp.outlineColor,[Xh.inputOutlineOffset]:Sp.outlineOffset,[Xh.inputOutlineWidth]:Sp.outlineWidth,[Xh.inputOutlineStyle]:Sp.outlineStyle,[Xh.labelRequiredIndicator]:Sp.requiredIndicator,[Xh.inputValueTextColor]:Sp.valueTextColor,[Xh.inputPlaceholderTextColor]:Sp.placeholderTextColor,[Xh.inputBackgroundColor]:Sp.backgroundColor,[Xh.inputHorizontalPadding]:Sp.horizontalPadding,[Xh.inputVerticalPadding]:Sp.verticalPadding,[Xh.inputHeight]:Sp.inputHeight,[Xh.inputDropdownButtonColor]:qh.colors.surface.dark,[Xh.inputDropdownButtonCursor]:"pointer",[Xh.inputDropdownButtonSize]:Sp.toggleButtonSize,[Xh.inputDropdownButtonOffset]:qh.spacing.xs,[Xh.overlayItemPaddingInlineStart]:qh.spacing.xs,[Xh.overlayItemPaddingInlineEnd]:qh.spacing.lg,[Xh.chipFontSize]:Sp.chipFontSize,[Xh.chipTextColor]:qh.colors.surface.contrast,[Xh.chipBackgroundColor]:qh.colors.surface.light,[Xh.labelPosition]:Sp.labelPosition,[Xh.labelTopPosition]:Sp.labelTopPosition,[Xh.labelLeftPosition]:Sp.labelLeftPosition,[Xh.labelHorizontalPosition]:Sp.labelHorizontalPosition,[Xh.inputTransformY]:Sp.inputTransformY,[Xh.inputTransition]:Sp.inputTransition,[Xh.marginInlineStart]:Sp.marginInlineStart,[Xh.placeholderOpacity]:Sp.placeholderOpacity,[Xh.inputVerticalAlignment]:Sp.inputVerticalAlignment,[Xh.errorMessageIcon]:Sp.errorMessageIcon,[Xh.errorMessageIconSize]:Sp.errorMessageIconSize,[Xh.errorMessageIconPadding]:Sp.errorMessageIconPadding,[Xh.errorMessageIconRepeat]:Sp.errorMessageIconRepeat,[Xh.errorMessageIconPosition]:Sp.errorMessageIconPosition,[Xh.errorMessageFontSize]:Sp.errorMessageFontSize,labelType:{floating:{[Xh.inputHorizontalPadding]:"0.25em",_hasValue:{[Xh.inputHorizontalPadding]:"0.45em"}}},_readonly:{[Xh.inputDropdownButtonCursor]:"default"},[Xh.overlayFontSize]:Sp.fontSize,[Xh.overlayFontFamily]:Sp.fontFamily,[Xh.overlayCursor]:"pointer",[Xh.overlayItemBoxShadow]:"none",[Xh.overlayBackground]:Sp.backgroundColor,[Xh.overlayTextColor]:Sp.valueTextColor,[Xh.overlay.minHeight]:"400px",[Xh.overlay.margin]:"0"};var tg=Object.freeze({__proto__:null,default:Kh,multiSelectComboBox:Kh,vars:Xh});const eg=L("autocomplete-field-internal"),ig=zt({componentName:eg,baseSelector:""}),og=[],ng="DESCOPE_INVALID_OPTION",rg=L("autocomplete-field"),{host:sg}={host:{selector:()=>":host"}},ag=T(ut({componentNameOverride:L("input-wrapper")}),ut({mappings:{hostWidth:{...sg,property:"width"},hostDirection:{...sg,property:"direction"},fontSize:{...sg},checkmarkDisplay:{selector:jo.componentName,property:jo.cssVarList.overlayCheckmarkDisplay},itemPaddingInlineStart:{selector:jo.componentName,property:jo.cssVarList.overlayItemPaddingInlineStart},itemPaddingInlineEnd:{selector:jo.componentName,property:jo.cssVarList.overlayItemPaddingInlineEnd},selectedItemBackground:{selector:jo.componentName,property:jo.cssVarList.overlaySelectedItemBackground},selectedItemHoverBackground:{selector:jo.componentName,property:jo.cssVarList.overlaySelectedItemHoverBackground},selectedItemFocusBackground:{selector:jo.componentName,property:jo.cssVarList.overlaySelectedItemFocusBackground},itemHoverBackground:{selector:jo.componentName,property:jo.cssVarList.overlayItemHoverBackground}}}),pt,ft({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),ht,t=>class extends t{get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){this.defaultValue&&setTimeout(()=>{this.inputElement.value=this.defaultValue})}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${eg}\n tabindex="-1"\n ></${eg}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(eg),w(this,this.inputElement,{includeAttrs:["size","bordered","label","required","label-type","placeholder","full-width","allow-custom-value","min-search-length","no-results-message","error-fetching-results-message","data-errormessage-value-missing","invalid","error-message","readonly","disabled","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),S(this,this.inputElement,{includeAttrs:["invalid"]}),this.inputElement.fetchResults=this.fetchResults,this.setDefaultValue()}set fetchResults(t){this.inputElement.fetchResults=t}})(St({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>"\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n descope-autocomplete-field-internal {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n descope-autocomplete-field-internal ::slotted {\n padding: 0;\n }\n ",excludeAttrsSync:["tabindex","error-message","label","style"],componentName:rg})),lg=ag.cssVarList,dg=it(ip),cg={[lg.hostWidth]:Sp.width,[lg.hostDirection]:Sp.direction,[lg.fontSize]:Sp.fontSize,[lg.checkmarkDisplay]:"none",[lg.itemPaddingInlineStart]:dg.spacing.lg,[lg.itemPaddingInlineEnd]:dg.spacing.lg,[lg.selectedItemBackground]:dg.colors.primary.light,[lg.selectedItemHoverBackground]:dg.colors.primary.light,[lg.selectedItemFocusBackground]:dg.colors.primary.light,[lg.itemHoverBackground]:dg.colors.primary.highlight,_fullWidth:{[lg.hostWidth]:"100%"}};var ug=Object.freeze({__proto__:null,default:cg,vars:lg});class pg extends(Ct()){#Ge=null;#He=null;constructor(t){super(t),this.#He=this.#Je()}getRequiredParams(){return["public-api-key"]}getOptionalParams(){return[{key:"includedPrimaryTypes",attribute:"address-types"},{key:"language",attribute:"address-language"},{key:"region",attribute:"address-region"}]}async#Je(){const t=this.getAttribute("public-api-key");if(!this.#Ge&&t)try{(t=>{var e,i,o,n,r,s,a,l,d,c,u,p,h;window.google?.maps||(e={key:t},r="The Google Maps JavaScript API",s="google",a="importLibrary",l="__ib__",d=document,c=window,u=(c=c[s]||(c[s]={})).maps||(c.maps={}),p=new Set,h=new URLSearchParams,u[a]?console.warn(r+" only loads once. Ignoring:",e):u[a]=(t,...c)=>p.add(t)&&(i||(i=new Promise(async(t,a)=>{for(n in await(o=d.createElement("script")),h.set("libraries",[...p]+""),e)h.set(n.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),e[n]);h.set("callback",s+".maps."+l),o.src=`https://maps.${s}apis.com/maps/api/js?`+h,u[l]=t,o.onerror=()=>i=a(Error(r+" could not load.")),o.nonce=d.querySelector("script[nonce]")?.nonce||"",d.head.append(o)}))).then(()=>u[a](t,...c)))})(t);const{AutocompleteSuggestion:e}=await google.maps.importLibrary("places");this.#Ge=e}catch(t){throw console.error("Failed to initialize Google Maps Autocomplete service:",t),t}}async _fetchResults(t){if(!t?.trim())return{results:[]};try{await this.#He;const e={input:t};this.getOptionalParams().forEach(({attribute:t,key:i,defaultValue:o})=>{const n=this.getAttribute(t)||o;n&&(e[i]="includedPrimaryTypes"===i?n.split(",").map(t=>t.trim()).filter(Boolean):n)});const{suggestions:i}=await this.#Ge.fetchAutocompleteSuggestions(e);return this.#$e(i)}catch(t){return console.error("Google Maps Places Autocomplete failed:",t),{results:[],error:vt}}}#$e(t){return t?.length?{results:t.map(t=>{const e=t.placePrediction;return{id:e.placeId,label:e.text.text,value:e.text.text}})}:{results:[]}}}class hg extends(Ct()){getRequiredParams(){return["public-api-key"]}getOptionalParams(){return[{key:"layers",attribute:"address-types"},{key:"limit",attribute:"address-limit"},{key:"lang",attribute:"address-language"},{key:"countryCode",attribute:"address-region"}]}async _fetchResults(t){if(!t?.trim())return{results:[]};const e=this.getAttribute("public-api-key"),i=new URLSearchParams({query:t.trim()});this.getOptionalParams().forEach(({attribute:t,key:e,defaultValue:o})=>{const n=this.getAttribute(t)||o;n&&("layers"===e||"countryCode"===e?i.append(e,n.split(",").map(t=>t.trim()).filter(Boolean).join(",")):i.append(e,n))});try{const t=await fetch(`https://api.radar.io/v1/search/autocomplete?${i.toString()}`,{headers:{Authorization:e}});if(!t.ok)throw new Error(`Radar API returned ${t.status}`);const o=await t.json();return this.#$e(o)}catch(t){return console.error("Radar Places Autocomplete failed:",t),{results:[],error:vt}}}#$e(t){return t?.addresses?.length?{results:t.addresses.map(t=>({label:t.formattedAddress,value:t.formattedAddress}))}:{results:[]}}}const gg=L("address-field-internal"),Mg="google-maps-places",mg="radar",yg={[Mg]:pg,[mg]:hg},bg=zt({componentName:gg,baseSelector:""}),Ng=["public-api-key"],Ig=[...Ng],xg=T((({connectorClasses:t})=>e=>class extends e{#_e=t;static get observedAttributes(){return[...e.observedAttributes||[],"connector-template"]}get connectorClasses(){return this.#_e}set connectorClasses(t){this.#_e=t}get connectorTemplate(){return this.getAttribute("connector-template")}initializeConnector(){const t=this.connectorTemplate;if(!this.connectorClasses[t])return;const e=this.connectorClasses[t];this.connector=new e(this.getAttribute.bind(this))}async fetchConnectorResults(t){if(!this.connector)return console.error(`No connector initialized for the field with template: ${this.connectorTemplate}`),{results:[]};const{results:e,error:i}=await this.connector.fetch(t);return i?{results:[],error:i}:{results:e.map(({label:t,value:e})=>({label:t,value:e}))}}init(){super.init?.(),this.initializeConnector()}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&"connector-template"===t&&this.initializeConnector()}})({connectorClasses:yg}))(class extends bg{static get observedAttributes(){return[].concat(bg.observedAttributes||[],Ig)}get errorMsgValueMissing(){return this.getAttribute("data-errormessage-value-missing")||this.defaultErrorMsgValueMissing}constructor(){super(),this.innerHTML="\n <div>\n <descope-autocomplete-field></descope-autocomplete-field>\n </div>\n ",this.autocompleteField=this.querySelector("descope-autocomplete-field")}get value(){return this.autocompleteField.value}set value(t){this.autocompleteField.value=t}focus(){this.autocompleteField.focus()}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.autocompleteField.focus()}),super.init?.(),this.initAutocomplete()}initAutocomplete(){w(this,this.autocompleteField,{includeAttrs:["size","bordered","label","label-type","placeholder","disabled","readonly","required","full-width","helper-text","error-message","default-value","data-errormessage-value-missing","st-host-direction","allow-custom-value","min-search-length","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),S(this,this.autocompleteField,{includeAttrs:["invalid"]}),this.autocompleteField.fetchResults=this.fetchConnectorResults.bind(this)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&Ng.includes(t)&&this.initializeConnector()}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{valid:!0}}}),jg=L("address-field"),{host:Tg}={host:{selector:()=>":host"}},Dg=T(ut({componentNameOverride:L("input-wrapper")}),ut({mappings:{hostWidth:{...Tg,property:"width"},hostDirection:{...Tg,property:"direction"}}}),pt,ft({proxyProps:["value","selectionStart"],inputEvent:"input",proxyParentValidation:!0}),ht,t=>class extends t{get defaultValue(){return this.getAttribute("default-value")}setDefaultValue(){this.defaultValue&&setTimeout(()=>{this.inputElement.value=this.defaultValue})}set connectorClasses(t){this.inputElement.connectorClasses=t}get connectorClasses(){return this.inputElement.connectorClasses}init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${gg}\n tabindex="-1"\n ></${gg}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(gg),w(this,this.inputElement,{includeAttrs:["size","bordered","label","required","label-type","placeholder","full-width","allow-custom-value","min-search-length","no-results-message","error-fetching-results-message","data-errormessage-value-missing","invalid","error-message","readonly","disabled","st-host-direction","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding","connector-template","public-api-key","address-types","address-language","address-region","address-limit"]}),S(this,this.inputElement,{includeAttrs:["invalid"]}),this.setDefaultValue()}})(St({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n direction: ltr;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n ${gg} {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n ${gg} ::slotted {\n padding: 0;\n }\n`,excludeAttrsSync:["tabindex","error-message","label","style"],componentName:jg})),zg=Dg.cssVarList,vg={[zg.hostWidth]:Sp.width,[zg.hostDirection]:Sp.direction,_fullWidth:{[zg.hostWidth]:"100%"}};var Cg=Object.freeze({__proto__:null,default:vg,vars:zg});const Sg=(t,e=2)=>String(t).padStart(e,"0"),Lg=L("timer"),Ag=["seconds","hide-icon","paused"],wg=bt({componentName:Lg,baseSelector:":host > .wrapper"}),{host:fg,icon:Eg,timer:kg}={host:{selector:()=>":host"},icon:{selector:()=>".icon"},timer:{selector:()=>".timer"}},Og=T(ut({mappings:{fontSize:{},iconSize:[{...Eg,property:"width"},{...Eg,property:"height"}],fontFamily:{},minHeight:{},fontWeight:{...kg},lineHeight:{...kg},textColor:{...kg,property:"color"},gap:{},textAlign:{property:"justify-content"},hostWidth:{...fg,property:"width"},hostDirection:{...fg,property:"direction"},iconColor:{...Eg,property:Lo.cssVarList.fill}}}),pt,ht)(class extends wg{#qe=0;#Xe;static get observedAttributes(){return Ag.concat(wg.observedAttributes||[])}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=" class="icon"></descope-icon>\n <div class="timer"></div>\n </div>\n\t\t',f("\n :host {\n display: inline-flex;\n user-select: none;\n -webkit-user-select: none;\n }\n .wrapper {\n display: flex;\n align-items: center;\n flex-direction: row;\n width: 100%;\n }\n .hidden {\n display: none;\n }\n ",this),this.icon=this.shadowRoot.querySelector(".icon"),this.timer=this.shadowRoot.querySelector(".timer")}get seconds(){const t=this.getAttribute("seconds"),e=1e3*parseInt(t||0,10);return Math.max(0,e)}get isPaused(){return"true"===this.getAttribute("paused")}init(){super.init?.(),this.#qe=this.seconds}startInterval(){this.#qe?this.#Xe=setInterval(()=>{this.#Ke(),this.#qe||this.stop(),this.#ti(this.#qe)},1e3):this.stop()}stopInterval(){clearInterval(this.#Xe)}#Ke(){this.#qe=this.#qe-1e3}reset(){this.#qe=this.seconds,this.#ti(this.#qe),this.isPaused||(this.dispatchEvent(new CustomEvent("timer-started",{bubbles:!0})),this.startInterval())}stop(){this.stopInterval(),this.#qe=0,this.#ti(this.#qe),this.dispatchEvent(new CustomEvent("timer-ended",{bubbles:!0}))}pause(){this.setAttribute("paused","true"),this.stopInterval()}resume(){this.removeAttribute("paused"),this.startInterval()}#ti(t){this.timer.textContent=((t=0)=>{const e=Math.floor(t/1e3),i=Math.floor(e/3600),o=Math.floor(e%3600/60),n=e%60;return[...i?[Sg(i)]:[],Sg(o),Sg(n)].join(":")})(t)}#ei(t){this.icon.classList.toggle("hidden",t)}#ii(t){setTimeout(()=>{t?this.pause():this.#Xe||this.resume()})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&("seconds"===t&&this.reset(),"hide-icon"===t&&this.#ei("true"===i),"paused"===t&&this.#ii("true"===i))}}),Vg=it(ip),Ug=Og.cssVarList,Yg={[Ug.hostDirection]:Vg.direction,[Ug.gap]:"0.25em",[Ug.fontFamily]:Vg.fonts.font1.family,[Ug.minHeight]:"1.5em",[Ug.lineHeight]:"1em",[Ug.fontWeight]:Vg.fonts.font1.fontWeight,[Ug.textColor]:Vg.colors.surface.contrast,[Ug.iconColor]:Vg.colors.surface.contrast,[Ug.iconSize]:"1em",size:{xs:{[Ug.fontSize]:"12px"},sm:{[Ug.fontSize]:"14px"},md:{[Ug.fontSize]:"16px"},lg:{[Ug.fontSize]:"18px"}},textAlign:{right:{[Ug.textAlign]:"right"},left:{[Ug.textAlign]:"left"},center:{[Ug.textAlign]:"center"}},_fullWidth:{[Ug.hostWidth]:"100%"}};var Wg=Object.freeze({__proto__:null,default:Yg,vars:Ug});const Rg=L("timer-button"),Qg=["button-variant","button-mode","size","text-align","full-width"],Pg={"button-variant":"variant","button-mode":"mode"},Bg=["timer-seconds","timer-hide-icon","timer-paused","size","text-align","full-width"],Zg={"timer-seconds":"seconds","timer-hide-icon":"hide-icon","timer-paused":"paused"},Fg=bt({componentName:Rg,baseSelector:":host > div"}),{host:Gg,nestedTimer:Hg,nestedButton:Jg,timerInsideNotReversed:$g,timerInsideReversed:_g}={host:{selector:()=>":host"},nestedTimer:{selector:()=>':host([timer-inside="true"]) .timer'},nestedButton:{selector:()=>':host([timer-inside="true"]) .button'},timerInsideNotReversed:{selector:()=>':host([timer-inside="true"]:not([timer-position="end"])) .timer'},timerInsideReversed:{selector:()=>':host([timer-inside="true"][timer-position="end"]) .timer'}},qg=T(ut({mappings:{gap:{},flexDirection:{},hostWidth:{...Gg,property:"width"},hostDirection:{...Gg,property:"direction"},timerTextColor:{...Hg,property:Og.cssVarList.textColor},timerIconColor:{...Hg,property:Og.cssVarList.iconColor},timerHostWidth:{...Hg,property:Og.cssVarList.hostWidth},buttonLabelSpacing:{...Jg,property:Oo.cssVarList.labelSpacing},timerInsideGapEnd:{...$g,property:"margin-inline-end"},timerInsideGapStart:{..._g,property:"margin-inline-start"}}}),pt,ht)(class extends Fg{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-timer class="timer"></descope-timer>\n <descope-button class="button" disabled="true">\n <slot></slot>\n </descope-button>\n </div>\n\t\t',f('\n :host {\n display: inline-flex;\n }\n .wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n }\n /* allow timer to grow along the main axis in the wrapper flex container */\n :host(:not([timer-inside="true"])) .timer {\n flex: 1;\n }\n :host([timer-inside="true"]) .timer {\n flex: 0 0 auto;\n }\n ',this),this.wrapper=this.shadowRoot.querySelector(".wrapper"),this.timer=this.shadowRoot.querySelector(".timer"),this.button=this.shadowRoot.querySelector(".button"),this.forwardingSlot=this.shadowRoot.querySelector(".button slot"),this.timer.addEventListener("timer-started",()=>this.onTimerStarted()),this.timer.addEventListener("timer-ended",()=>this.onTimerEnded()),this.syncTimerPlacement(),this.button.addEventListener("click",this.onClick.bind(this))}static get observedAttributes(){return[...super.observedAttributes||[],"timer-inside","timer-position"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"timer-inside"!==t&&"timer-position"!==t||this.syncTimerPlacement()}get#oi(){return"true"===this.getAttribute("timer-inside")}get#ni(){return"end"===this.getAttribute("timer-position")}syncTimerPlacement(){this.#oi?this.#ri(this.#ni):this.#si()}#ri(t){t?this.timer.previousSibling!==this.forwardingSlot&&this.button.appendChild(this.timer):this.timer.nextSibling!==this.forwardingSlot&&this.button.insertBefore(this.timer,this.forwardingSlot)}#si(){this.timer.parentElement!==this.wrapper&&this.wrapper.insertBefore(this.timer,this.button)}set onclick(t){this.button.onclick=t}init(){super.init?.(),w(this,this.button,{includeAttrs:Qg,mapAttrs:Pg}),w(this,this.timer,{includeAttrs:Bg,mapAttrs:Zg}),this.button.shadowRoot.querySelector("vaadin-button").setAttribute("disabled","true")}onTimerStarted(){this.toggleButtonDisable(!0)}onTimerEnded(){this.toggleButtonDisable(!1)}onClick(){this.timer.reset()}toggleButtonDisable(t){setTimeout(()=>{t?this.button.setAttribute("disabled","true"):this.button.removeAttribute("disabled")})}}),Xg=it(ip),Kg=qg.cssVarList,tM={[Kg.gap]:Xg.spacing.sm,[Kg.flexDirection]:"column",_horizontal:{[Kg.flexDirection]:"row",timerPosition:{end:{[Kg.flexDirection]:"row-reverse"}}},timerPosition:{end:{[Kg.flexDirection]:"column-reverse"}},_fullWidth:{[Kg.hostWidth]:"100%"},_timerInside:{[Kg.timerTextColor]:"currentColor",[Kg.timerIconColor]:"currentColor",[Kg.timerHostWidth]:"auto",[Kg.buttonLabelSpacing]:"0",[Kg.timerInsideGapEnd]:`var(${Kg.gap})`,timerPosition:{end:{[Kg.timerInsideGapStart]:`var(${Kg.gap})`}}}};var eM=Object.freeze({__proto__:null,default:tM,vars:Kg});const iM=L("password-strength");class oM extends(bt({componentName:iM,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["options","value"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="bars-container"></div>\n <div class="text-container">\n </div>\n </div>\n\t\t',f("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .wrapper {\n display: inline-flex;\n position: relative;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: flex-start;\n }\n\n .bar {\n flex-grow: 1;\n }\n\n .bars-container {\n display: flex;\n flex-grow: 1;\n width: 100%;\n }\n ",this),this.barsContainer=this.shadowRoot.querySelector(".bars-container"),this.textContainer=this.shadowRoot.querySelector(".text-container")}get options(){return this.getAttribute("options")?.split(",")||[]}getCalcScoreFn=()=>Promise.resolve().then(function(){return hj}).then(t=>t.default);#ai=-1;async calcScore(){const t=this.getAttribute("value")||"";return t?(await this.getCalcScoreFn())(t).score:-1}renderBars(){this.barsContainer.innerHTML="",this.bars=this.options.map((t,e)=>{const i=document.createElement("div");return i.classList.add("bar"),i.classList.toggle("filled",e<=this.#ai),this.barsContainer.appendChild(i),i})}init(){super.init?.(),this.getCalcScoreFn()}async onValueChange(){const t=await this.calcScore();t!==this.#ai&&(this.#ai=t,this.dispatchEvent(new CustomEvent("score-changed",{bubbles:!0,composed:!0,detail:this.#ai})),this.bars?.forEach((t,e)=>{t.classList.toggle("filled",e<=this.#ai)}),this.textContainer.innerHTML=this.options[this.#ai]||"",-1===this.#ai?this.removeAttribute("score"):this.setAttribute("score",this.#ai))}attributeChangedCallback(t,e,i){if(e!==i)return"options"===t?this.renderBars():"value"===t?this.onValueChange():void 0}}const{host:nM,bar:rM,filledBar:sM,barsContainer:aM,text:lM}={host:{selector:()=>":host"},bar:{selector:" .bar"},barsContainer:{selector:" .bars-container"},filledBar:{selector:" .bar.filled"},text:{selector:" .text-container"}},dM=T(ut({componentNameOverride:L("input-wrapper")}),ut({mappings:{hostWidth:[{...nM,property:"width"},{...nM,property:"min-width"}],hostDirection:{...nM,property:"direction"},hostMinWidth:{...nM,property:"min-width"},barHeight:{...rM,property:"height"},barBorderRadius:{...rM,property:"border-radius"},emptyBarColor:{...rM,property:"background-color"},filledBarColor:{...sM,property:"background-color"},textColor:{...lM,property:"color"},spacing:{property:"gap"},barSpacing:{...aM,property:"gap"},fontSize:{},fontWeight:{},fontFamily:{},barTransition:{...rM,property:"transition"}}}),pt,ht)(oM),cM=it(ip),uM=dM.cssVarList,pM={[uM.hostDirection]:cM.direction,[uM.barHeight]:"4px",[uM.barTransition]:"background-color 0.3s",[uM.barBorderRadius]:cM.radius.sm,[uM.hostMinWidth]:Sp.minWidth,[uM.barSpacing]:cM.spacing.sm,[uM.emptyBarColor]:cM.colors.surface.light,[uM.fontFamily]:Sp.fontFamily,[uM.fontSize]:Sp.labelFontSize,[uM.fontWeight]:Sp.labelFontWeight,[uM.spacing]:cM.spacing.sm,_fullWidth:{[uM.hostWidth]:"100%"},score:{0:{[uM.filledBarColor]:cM.colors.error.light,[uM.textColor]:cM.colors.error.light},1:{[uM.filledBarColor]:cM.colors.error.main,[uM.textColor]:cM.colors.error.main},2:{[uM.filledBarColor]:cM.colors.error.dark,[uM.textColor]:cM.colors.error.dark},3:{[uM.filledBarColor]:cM.colors.success.dark,[uM.textColor]:cM.colors.success.dark},4:{[uM.filledBarColor]:cM.colors.success.main,[uM.textColor]:cM.colors.success.main}}},hM={...uM};var gM=Object.freeze({__proto__:null,default:pM,vars:hM});const MM=L("collapsible-container");class mM extends(bt({componentName:MM,baseSelector:"slot"})){static get observedAttributes(){return["collapsed","collapsible","text"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <descope-text st-host-direction="ltr">\n <div class="header">\n <div class="icon">\n <descope-icon st-fill="currentcolor" src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=></descope-icon>\n </div>\n <span></span>\n </div>\n </descope-text>\n <div class="content">\n <slot></slot>\n </div>\n </div>\n\t',f(`\n div.content {\n transition-property: max-height;\n overflow: auto;\n height: auto;\n\t\t\t}\n\t\t\tslot {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\twidth: 100%;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n slot:focus-visible {\n outline: none;\n }\n\t\t\t:host {\n\t\t\t\tdisplay: inline-flex;\n\t\t\t}\n .header {\n user-select: none;\n display: flex;\n align-items: baseline;\n }\n .icon {\n flex-shrink: 0;\n height: var(${Ai.cssVarList.textLineHeight});\n min-height: 24px;\n display: flex;\n align-items: center;\n }\n descope-icon {\n transition-property: transform;\n }\n .rotate {\n transform: rotate(-180deg);\n }\n descope-text {\n width: 100%;\n display: flex;\n }\n span {\n align-self: center;\n word-break: break-word;\n }\n span:empty {\n display: none;\n }\n .wrapper {\n overflow: hidden;\n display: inline-flex;\n width: 100%;\n flex-direction: column;\n }\n `,this),this.header=this.shadowRoot.querySelector(".header"),this.content=this.shadowRoot.querySelector("div.content"),this.icon=this.header.querySelector("descope-icon"),this.headerText=this.header.querySelector("span"),this.textComponent=this.shadowRoot.querySelector("descope-text")}get isCollapsible(){return"true"===this.getAttribute("collapsible")}calcContentHeight(){return this.content.offsetHeight||this.content.scrollHeight}get isCollapsed(){return"true"===this.getAttribute("collapsed")}toggle(){this.setAttribute("collapsed",this.isCollapsed?"false":"true")}collapse(t=!1){const e=()=>{this.content.style.maxHeight="0px"};if(this.icon.classList.add("rotate"),!t)return e();this.content.style.maxHeight=this.calcContentHeight()+"px",setTimeout(e)}expand(t=!1){const e=()=>{this.content.style.maxHeight=""};if(this.icon.classList.remove("rotate"),!t)return e();this.content.addEventListener("transitionend",e,{once:!0}),this.content.style.maxHeight=this.calcContentHeight()+"px"}#li=!1;init(){super.init?.(),this.#li=!0,this.header.addEventListener("click",()=>{this.isCollapsible&&this.toggle()}),w(this,this.textComponent,{includeAttrs:["text-align","text-variant","text-mode"],mapAttrs:{"text-mode":"mode","text-variant":"variant"}})}updateHeaderText(){const t=this.getAttribute("text")||"";this.headerText.innerText=t}attributeChangedCallback(t,e,i){"text"!==t?this.isCollapsed&&this.isCollapsible?this.collapse(this.#li):this.expand(this.#li):this.updateHeaderText()}}const yM={host:()=>":host",icon:()=>"descope-icon",iconWrapper:()=>".icon",header:()=>".header",text:()=>"span",wrapper:()=>".wrapper",content:()=>"div.content"},bM=T(ut({mappings:{hostWidth:{selector:yM.host,property:"width"},hostDirection:{selector:yM.host,property:"direction"},verticalPadding:[{selector:yM.wrapper,property:"padding-top"},{selector:yM.wrapper,property:"padding-bottom"}],horizontalPadding:[{selector:yM.wrapper,property:"padding-left"},{selector:yM.wrapper,property:"padding-right"}],flexDirection:{},justifyContent:{},alignItems:{},gap:[{},{property:"margin-top"}],backgroundColor:{selector:yM.wrapper},backgroundImage:{selector:yM.wrapper},backgroundPositionX:{selector:yM.wrapper},backgroundPositionY:{selector:yM.wrapper},backgroundSize:{selector:yM.wrapper},backgroundRepeat:{selector:yM.wrapper},borderRadius:{selector:yM.wrapper},borderColor:{selector:yM.wrapper},borderStyle:{selector:yM.wrapper},borderWidth:{selector:yM.wrapper},boxShadow:{selector:yM.wrapper},headerIconOrder:{selector:yM.iconWrapper,property:"order"},headerCursor:{selector:yM.header,property:"cursor"},headerGap:{selector:yM.header,property:"gap"},textGrow:{selector:yM.text,property:"flex-grow"},textDirection:{selector:yM.text,property:"direction"},iconAnimationDuration:{selector:yM.icon,property:"transition-duration"},contentAnimationDuration:{selector:yM.content,property:"transition-duration"}}}),pt,ht)(mM),NM=it(ip),IM=bM.cssVarList,[xM,jM,TM]=nt({shadowColor:"#00000020"},MM),{shadowColor:DM}=jM,zM={...xM,[IM.hostWidth]:"100%",[IM.boxShadow]:"none",[IM.backgroundColor]:NM.colors.surface.main,[IM.backgroundImage]:"",[IM.backgroundPositionX]:"center",[IM.backgroundPositionY]:"center",[IM.backgroundSize]:"cover",[IM.backgroundRepeat]:"no-repeat",[IM.borderRadius]:"0px",[IM.hostDirection]:NM.direction,[IM.flexDirection]:"column",[IM.alignItems]:"flex-start",[IM.justifyContent]:"flex-start",[IM.headerGap]:NM.spacing.md,[IM.iconAnimationDuration]:"0.1s",[IM.contentAnimationDuration]:"0.1s",[IM.borderWidth]:"0px",[IM.textGrow]:"0",verticalPadding:{sm:{[IM.verticalPadding]:"5px"},md:{[IM.verticalPadding]:"10px"},lg:{[IM.verticalPadding]:"20px"}},horizontalPadding:{sm:{[IM.horizontalPadding]:"5px"},md:{[IM.horizontalPadding]:"10px"},lg:{[IM.horizontalPadding]:"20px"}},spaceBetween:{sm:{[IM.gap]:"10px"},md:{[IM.gap]:"20px"},lg:{[IM.gap]:"30px"}},shadow:{sm:{[IM.boxShadow]:`${NM.shadow.wide.sm} ${DM}, ${NM.shadow.narrow.sm} ${DM}`},md:{[IM.boxShadow]:`${NM.shadow.wide.md} ${DM}, ${NM.shadow.narrow.md} ${DM}`},lg:{[IM.boxShadow]:`${NM.shadow.wide.lg} ${DM}, ${NM.shadow.narrow.lg} ${DM}`},xl:{[IM.boxShadow]:`${NM.shadow.wide.xl} ${DM}, ${NM.shadow.narrow.xl} ${DM}`},"2xl":{[TM.shadowColor]:"#00000050",[IM.boxShadow]:`${NM.shadow.wide["2xl"]} ${DM}`}},borderRadius:{sm:{[IM.borderRadius]:NM.radius.sm},md:{[IM.borderRadius]:NM.radius.md},lg:{[IM.borderRadius]:NM.radius.lg},xl:{[IM.borderRadius]:NM.radius.xl},"2xl":{[IM.borderRadius]:NM.radius["2xl"]},"3xl":{[IM.borderRadius]:NM.radius["3xl"]}},iconPosition:{left:{[IM.headerIconOrder]:"0"},right:{[IM.headerIconOrder]:"1"}},_fillTitle:{[IM.textGrow]:"1"},_border:{[IM.borderColor]:NM.colors.surface.light,[IM.borderWidth]:NM.border.xs,[IM.borderStyle]:"solid"},_collapsible:{[IM.headerCursor]:"pointer"}},vM={...IM,...TM};var CM=Object.freeze({__proto__:null,default:zM,vars:vM});const SM=L("recovery-codes");class LM extends(bt({componentName:SM,baseSelector:":host > div"})){static get observedAttributes(){return["readonly"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="list"></div>\n <descope-text class="icon-wrapper">\n <vaadin-icon class="icon" icon="vaadin:copy-o" title="Copy"></vaadin-icon>\n </descope-text>\n </div>\n ',this.list=this.shadowRoot.querySelector(".list"),this.icon=this.shadowRoot.querySelector(".icon"),this.iconWrapper=this.shadowRoot.querySelector(".icon-wrapper"),f("\n :host {\n display: inline-block;\n position: relative;\n }\n .wrapper {\n display: flex;\n justify-content: space-between;\n }\n .list {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n }\n descope-text span {\n display: inline-flex;\n align-items: center;\n width: fit-content;\n }\n descope-text span::before {\n content: '\\02022';\n transform: translateY(-0.06em);\n }\n .icon-wrapper {\n align-self: flex-start;\n }\n .icon {\n cursor: pointer;\n }\n .icon.copied {\n cursor: initial;\n }\n .icon.readonly {\n pointer-events: none;\n }\n ",this)}get variant(){return this.getAttribute("variant")}get mode(){return this.getAttribute("mode")}init(){super.init(),this.icon.addEventListener("click",this.onCopy.bind(this)),w(this,this.iconWrapper,{includeAttrs:["variant","mode"]})}onCopy(){navigator.clipboard.writeText(String(this.data.map(t=>t.value).join("\n"))),this.icon.setAttribute("icon","vaadin:check-circle-o"),this.icon.setAttribute("title","Copied"),this.icon.classList.add("copied"),setTimeout(()=>{this.icon.setAttribute("icon","vaadin:copy-o"),this.icon.setAttribute("title","Copy"),this.icon.classList.remove("copied")},5e3)}onReadOnly(t){this.icon.classList.toggle("readonly",t)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),i!==e&&"readonly"===t&&this.onReadOnly("true"===i)}}const AM=T(ut({mappings:{hostWidth:{selector:()=>":host",property:"width"},hostMinWidth:{selector:()=>":host",property:"min-width"},hostDirection:[{selector:()=>":host",property:"direction"},{selector:()=>Ai.componentName,property:Ai.cssVarList.hostDirection}],textAlign:{selector:()=>".list",property:"align-items"},iconColor:{selector:()=>"vaadin-icon",property:"color"},iconSize:{selector:()=>"vaadin-icon",property:"font-size"},iconGap:{selector:()=>".wrapper",property:"gap"},bulletGap:{selector:()=>"descope-text span",property:"gap"}}}),Ut({itemRenderer:({value:t},e,i)=>`\n <descope-text variant="${i.variant}" mode="${i.mode}">\n <span>${t}</span>\n </descope-text>\n `,rerenderAttrsList:["variant","mode"],targetSelector:".list"}),pt,ht)(LM),wM=it(ip),fM=AM.cssVarList,EM=Ai.cssVarList,kM={[fM.hostMinWidth]:"190px",[fM.hostDirection]:wM.direction,[fM.iconColor]:ot(EM.textColor),[fM.iconSize]:ot(EM.fontSize),[fM.iconGap]:"8px",[fM.bulletGap]:"0.35em",textAlign:{right:{[fM.textAlign]:"flex-end"},left:{[fM.textAlign]:"flex-start"},center:{[fM.textAlign]:"center"}},_fullWidth:{[fM.hostWidth]:"100%"}};var OM=Object.freeze({__proto__:null,default:kM,vars:fM});const VM=L("outbound-apps"),UM=({name:t,description:e,logo:i,appId:o,isConnected:n},r,s)=>{const a=n?"disconnect":"connect";return`\n <descope-list-item>\n <descope-avatar\n ${i?`img="${i}"`:""}\n ${t?`display-name="${t}" abbr=${O(t)}`:""}\n size=${s.size}\n ${i?'st-avatar-background-color="none"':""}\n class="app-logo"\n ></descope-avatar>\n\n <div class="content">\n <descope-text\n class="app-title"\n variant="subtitle1"\n mode="primary"\n >${t}</descope-text>\n ${e?`\n <descope-text\n class="app-description"\n variant="body2"\n mode="primary"\n >${e}</descope-text>\n `:""}\n </div>\n <div class="controls">\n <descope-button variant="link" mode="primary" size=${s.size} data-action="${a}" data-outbound-app-id="${o}" data-id="${a}">\n ${n?s.disconnectButtonLabel:s.connectButtonLabel}\n </descope-button>\n </div>\n </descope-list-item>\n`},YM=bt({componentName:VM,baseSelector:"descope-list"}),{host:WM}={host:{selector:()=>":host"}},RM=T(ut({mappings:{hostWidth:{...WM,property:"width"},minHeight:{selector:()=>":host"},hostDirection:[{...WM,property:"direction"},{selector:"descope-list",property:"direction"},{selector:"descope-list-item",property:"direction"}],iconColor:{selector:()=>" descope-icon",property:Lo.cssVarList.fill},errorIconColor:{selector:()=>" descope-icon.error-icon",property:Lo.cssVarList.fill},fontSize:{selector:Ai.componentName,property:Ai.cssVarList.fontSize},appLogoGap:{selector:()=>" .app-logo",property:"margin-inline-end"},contentGap:{selector:()=>" .content",property:"gap"},itemsTextAlign:{selector:Ai.componentName,property:Ai.cssVarList.textAlign},itemCursor:{selector:uu.componentName,property:uu.cssVarList.cursor},itemOutline:{selector:uu.componentName,property:uu.cssVarList.outline},itemBorderColor:{selector:uu.componentName,property:uu.cssVarList.borderColor},itemBackgroundColor:{selector:uu.componentName,property:uu.cssVarList.backgroundColor},listBorderWidth:{selector:()=>gu.componentName,property:gu.cssVarList.borderWidth},listBoxShadow:{selector:()=>gu.componentName,property:gu.cssVarList.boxShadow},listPadding:[{selector:()=>gu.componentName,property:gu.cssVarList.verticalPadding},{selector:()=>gu.componentName,property:gu.cssVarList.horizontalPadding}]}}),pt,Ut({itemRenderer:UM,rerenderAttrsList:["size","connect-button-label","disconnect-button-label"]}),ht)(class extends YM{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n ',this.appsList=this.shadowRoot.querySelector("descope-list"),f("\n :host {\n width: 100%;\n }\n .controls {\n display: flex;\n min-width: 8em;\n justify-content: end;\n }\n .content {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n }\n .app-title,\n .app-description {\n display: flex;\n direction: inherit;\n }\n descope-list {\n display: block;\n }\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=UM,this.appsList.addEventListener("click",this.onAppsListClick.bind(this))}get readonly(){return"true"===this.getAttribute("readonly")}onAppsListClick(t){if(!this.readonly){const e=t.srcElement.getAttribute("data-outbound-app-id"),i=t.srcElement.getAttribute("data-action");e&&i&&this.dispatchEvent(new CustomEvent(`${i}-clicked`,{bubbles:!0,detail:{id:e,action:i}}))}}get size(){return this.getAttribute("size")||"sm"}get connectButtonLabel(){return this.getAttribute("connect-button-label")||"Connect"}get disconnectButtonLabel(){return this.getAttribute("disconnect-button-label")||"Disconnect"}}),QM=RM.cssVarList,PM={[QM.iconColor]:ip.colors.primary.main,[QM.errorIconColor]:ip.colors.error.main,[QM.appLogoGap]:ip.spacing.md,[QM.contentGap]:ip.spacing.xs,[QM.itemCursor]:"default",[QM.itemOutline]:"none",[QM.itemBorderColor]:"transparent",[QM.listPadding]:"0",[QM.listBorderWidth]:"0",[QM.listBoxShadow]:"none",size:{xs:{[QM.fontSize]:"0.6em"},sm:{[QM.fontSize]:"0.8em"},md:{[QM.fontSize]:"1em"},lg:{[QM.fontSize]:"1.5em"}}};var BM=Object.freeze({__proto__:null,default:PM,vars:QM});const ZM=L("outbound-app-button");class FM extends(bt({componentName:ZM,baseSelector:":host > descope-button"})){static get observedAttributes(){return["label","icon-src","icon-fill-current-color"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-button>\n <descope-icon class="icon"></descope-icon>\n <span class="label"></span>\n </descope-button>\n ',f("\n :host {\n display: inline-block;\n }\n .hidden {\n display: none;\n }\n ",this),this.button=this.shadowRoot.querySelector("descope-button"),this.icon=this.shadowRoot.querySelector(".icon"),this.label=this.shadowRoot.querySelector(".label")}init(){super.init?.(),w(this,this.button,{excludeAttrs:["style","class","label","icon-src","icon-fill-current-color"]})}updateLabel(t=""){this.label.textContent=t,this.label.classList.toggle("hidden",!t)}updateIcon(t=""){this.icon.setAttribute("src",t),this.icon.classList.toggle("hidden",!t)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.updateLabel(i):"icon-src"===t&&this.updateIcon(i))}}const GM=T(ut({mappings:{hostWidth:{selector:()=>":host",property:"width"},iconFillCurrentColor:{selector:()=>"descope-icon",property:Oo.cssVarList.iconColor}}}),pt,ht)(FM),HM=GM.cssVarList,JM={[HM.iconFillCurrentColor]:"inherit",_iconFillCurrentColor:{[HM.iconFillCurrentColor]:"currentColor"},_fullWidth:{[HM.hostWidth]:"100%"}},$M=HM;var _M=Object.freeze({__proto__:null,default:JM,vars:$M});const qM=t=>{const e=parseInt(t,10);return Number.isNaN(e)?0:e},XM={desktop:{light:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4QzIxLjEgMTggMjEuOTkgMTcuMSAyMS45OSAxNkwyMiA2QzIyIDQuOSAyMS4xIDQgMjAgNEg0QzIuOSA0IDIgNC45IDIgNl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gwVjIwLjVIMTRWMTcuNUg0VjYuNVpNMjMgOC41SDE3QzE2LjQ1IDguNSAxNiA4Ljk1IDE2IDkuNVYxOS41QzE2IDIwLjA1IDE2LjQ1IDIwLjUgMTcgMjAuNUgyM0MyMy41NSAyMC41IDI0IDIwLjA1IDI0IDE5LjVWOS41QzI0IDguOTUgMjMuNTUgOC41IDIzIDguNVpNMjIgMTcuNUgxOFYxMC41SDIyVjE3LjVaIiBmaWxsPSIjNjM2Qzc0Ii8+Cjwvc3ZnPgo=",dark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkgyMlY0SDRDMi45IDQgMiA0LjkgMiA2VjE3SDBWMjBIMTRWMTdINFY2Wk0yMyA4SDE3QzE2LjQ1IDggMTYgOC40NSAxNiA5VjE5QzE2IDE5LjU1IDE2LjQ1IDIwIDE3IDIwSDIzQzIzLjU1IDIwIDI0IDE5LjU1IDI0IDE5VjlDMjQgOC40NSAyMy41NSA4IDIzIDhaTTIyIDE3SDE4VjEwSDIyVjE3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="}},KM=L("trusted-devices"),tm=({id:t,name:e,lastLoginDate:i,deviceType:o,isCurrent:n},r,s)=>{const a=n?'class="current-device"':"",{iconSrc:l,iconSrcDark:d}=(t=>{const e=XM[t]||XM.unknown;return{iconSrc:e.light,iconSrcDark:e.dark}})(o),c=s.lastLoginLabel?`${s.lastLoginLabel} `:"",u=((t,e)=>{if(Number.isNaN(parseInt(t,10)))return"";const i=new Date(t),o=i.getFullYear(),n=String(i.getMonth()+1).padStart(2,"0"),r=String(i.getDate()).padStart(2,"0"),s=i.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),a={"DD-MM-YYYY":`${r}/${n}/${o}`,"YYYY-MM-DD":`${o}/${n}/${r}`,"MM-DD-YYYY":`${n}/${r}/${o}`};return`${a[e]||a["MM-DD-YYYY"]} ${s}`})(i,s.format),p=n?`<descope-badge\n bordered="true"\n size="xs"\n mode="primary"\n st-host-direction="${s.direction}"\n >\n ${s.currentDeviceLabel}\n </descope-badge>`:"",h=s.hideActions||n?"":`<descope-link\n class="remove-device"\n variant="body1"\n mode="primary"\n data-action="remove-device"\n data-device-id="${t}"\n st-host-direction="${s.direction}"\n ellipsis="true"\n >\n ${s.removeDeviceLabel}\n </descope-link>`,g=document.createElement("template");return g.innerHTML=`\n <descope-list-item ${a}>\n <div class="content">\n <div class="main">\n <span class="device">\n <descope-icon\n class="device-icon"\n src="${l}"\n src-dark="${d}">\n </descope-icon>\n <descope-text\n class="device-name"\n variant="body1"\n mode="primary">\n </descope-text>\n </span>\n <span class="panel">\n ${p}\n ${h}\n </span>\n </div>\n <div class="meta">\n <descope-text\n variant="body2"\n mode="primary"\n >\n ${c}\n </descope-text>\n <descope-text\n class="login-date"\n variant="body2"\n mode="primary"\n >\n ${u}\n </descope-text>\n </div>\n </div>\n </descope-list-item>\n `,g.content.querySelector(".device-name").textContent=e,g},em=bt({componentName:KM,baseSelector:gu.componentName}),{host:im}={host:{selector:()=>":host"}},om=T(ut({mappings:{hostWidth:{...im,property:"width"},hostMinWidth:{...im,property:"min-width"},hostDirection:[{...im,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"}],listItemsGap:{property:gu.cssVarList.gap},listBackgroundColor:{selector:()=>gu.componentName,property:gu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>gu.componentName,property:gu.cssVarList.borderRadius},listBorderWidth:{selector:()=>gu.componentName,property:gu.cssVarList.borderWidth},listBoxShadow:{selector:()=>gu.componentName,property:gu.cssVarList.boxShadow},listPadding:[{selector:()=>gu.componentName,property:gu.cssVarList.verticalPadding},{selector:()=>gu.componentName,property:gu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:uu.componentName,property:uu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:uu.componentName,property:uu.cssVarList.horizontalPadding},itemCursor:{selector:uu.componentName,property:uu.cssVarList.cursor},itemOutline:{selector:uu.componentName,property:uu.cssVarList.outline},itemBorderColor:{selector:uu.componentName,property:uu.cssVarList.borderColor},itemBorderRadius:{selector:uu.componentName,property:uu.cssVarList.borderRadius},itemBackgroundColor:{selector:uu.componentName,property:uu.cssVarList.backgroundColor},itemContentGap:{selector:()=>".content",property:"gap"},badgeBorderColor:{selector:Sc.componentName,property:Sc.cssVarList.borderColor},badgeTextColor:{selector:Sc.componentName,property:Sc.cssVarList.textColor},badgeBackgroundColor:{selector:Sc.componentName,property:Sc.cssVarList.backgroundColor},badgeBorderRadius:{selector:Sc.componentName,property:Sc.cssVarList.borderRadius},devicePanelGap:{selector:()=>".main",property:"gap"},deviceIconGap:{selector:()=>".device",property:"gap"},deviceIconSize:[{selector:()=>".device-icon",property:"width"},{selector:()=>".device-icon",property:"height"}],lastLoginLabelGap:{selector:" .meta",property:"gap"}}}),pt,Ut({itemRenderer:tm,sortFn:(t,e)=>qM(e.lastLoginDate)-qM(t.lastLoginDate),rerenderAttrsList:["remove-device-label","current-device-label","last-login-label","format","hide-actions"]}),ht)(class extends em{constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n ',this.appsList=this.shadowRoot.querySelector("descope-list"),f("\n :host {\n display: inline-block;\n }\n\n .descope-list-item {\n min-width: 0;\n }\n\n .current-device {\n order: -1;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .main {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .panel {\n display: flex;\n flex-shrink: 0;\n max-width: 75%;\n overflow: hidden;\n }\n\n .device {\n display: flex;\n min-width: 0;\n }\n\n .device-icon {\n flex-shrink: 0;\n }\n\n .meta {\n display: flex;\n }\n\n .login-date {\n min-width: fit-content;\n }\n\n descope-badge {\n min-width: 0;\n }\n\n descope-text {\n display: flex;\n align-items: center; \n min-width: 0;\n }\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n descope-link {\n overflow: hidden;\n }\n descope-link.remove-device::part(wrapper) {\n display: flex;\n width: 100%;\n }\n descope-link.remove-device {\n width: 100%;\n }\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=tm,this.appsList.addEventListener("click",this.onRemoveClick.bind(this))}onRemoveClick(t){if(this.readOnly)return;const e=t.target.closest("[data-device-id]"),i=e?.getAttribute("data-device-id");i&&this.dispatchEvent(new CustomEvent("remove-device-clicked",{bubbles:!0,detail:{id:i,action:"remove-device"}}))}get readOnly(){return"true"===this.getAttribute("readonly")}get hideActions(){return"true"===this.getAttribute("hide-actions")}get format(){return this.getAttribute("format")?.toUpperCase()||"MM-DD-YYYY"}get removeDeviceLabel(){return this.getAttribute("remove-device-label")||"Sign out"}get currentDeviceLabel(){return this.getAttribute("current-device-label")||"Current device"}get lastLoginLabel(){return this.getAttribute("last-login-label")||"Last login:"}get direction(){return this.getAttribute("st-host-direction")}}),nm=om.cssVarList,rm={[nm.hostWidth]:"auto",[nm.hostWidth]:"300px",[nm.hostMinWidth]:"300px",[nm.listBackgroundColor]:"transparent",[nm.listBorderRadius]:"0",[nm.listBorderWidth]:"0",[nm.listPadding]:"0",[nm.listBoxShadow]:"none",[nm.listItemsGap]:ip.spacing.lg,[nm.itemBorderColor]:ip.colors.surface.light,[nm.itemVerticalPadding]:ip.spacing.lg,[nm.itemHorizontalPadding]:ip.spacing.lg,[nm.itemBorderRadius]:ip.radius.xs,[nm.itemOutline]:"transparent",[nm.itemBackgroundColor]:"transparent",[nm.itemCursor]:"default",[nm.itemContentGap]:ip.spacing.sm,[nm.badgeBorderColor]:ip.colors.surface.light,[nm.badgeTextColor]:ip.colors.surface.dark,[nm.badgeBorderRadius]:ip.radius.xs,[nm.badgeBackgroundColor]:ip.colors.surface.main,[nm.devicePanelGap]:ip.spacing.md,[nm.deviceIconGap]:ip.spacing.md,[nm.deviceIconSize]:"24px",[nm.lastLoginLabelGap]:ip.spacing.xs,_fullWidth:{[nm.hostWidth]:"100%"}};var sm=Object.freeze({__proto__:null,default:rm,vars:nm});const am=L("multi-sso"),lm=({id:t,name:e,isDefault:i,link:o,authType:n},r,s)=>{const a=!i&&s?.allowDelete?`<span\n class="delete-btn delete-icon"\n data-action="delete"\n role="button"\n tabindex="0"\n title="${s.deleteTooltipLabel}"\n ></span>`:"",l=o&&s?.allowConfigure?`<a\n class="external-link external-link-icon"\n target="_blank"\n rel="noopener noreferrer"\n title="${s.configureTooltipLabel}"\n ></a>`:"",{label:d,configured:c}=(t=>t&&"none"!==t?{label:t.toUpperCase(),configured:!0}:{label:"Not Configured",configured:!1})(n),u=c?'<div class="auth-type-row">\n <descope-badge class="auth-type-badge" size="xs"></descope-badge>\n </div>':`<div class="auth-type-row">\n <descope-text\n not-configured\n variant="body2"\n mode="secondary"\n >${s?.notConfiguredLabel}</descope-text>\n </div>`,p=document.createElement("template");p.innerHTML=`\n <descope-list-item>\n <div class="content">\n <div class="top-row">\n <descope-text\n class="config-name"\n variant="body1"\n mode="primary"\n ></descope-text>\n <span class="action">\n ${a}\n ${l}\n </span>\n </div>\n ${u}\n </div>\n </descope-list-item>\n `,p.content.querySelector(".config-name").textContent=e;const h=p.content.querySelector(".delete-btn");if(h){h.dataset.id=t,h.dataset.name=e,h.setAttribute("aria-label",s.deleteTooltipLabel);const i=V(s,"delete-icon");i&&h.append(i)}const g=p.content.querySelector(".external-link");if(g){g.setAttribute("aria-label",s.configureTooltipLabel),o&&g.setAttribute("href",o);const t=V(s,"external-link-icon");t&&g.append(t)}const M=p.content.querySelector(".auth-type-badge");return M&&(M.textContent=d),p},dm=bt({componentName:am,baseSelector:"span.wrapper"}),{host:cm}={host:{selector:()=>":host"}},um=T(ut({mappings:{hostWidth:{...cm,property:"width"},hostMinWidth:{...cm,property:"min-width"},hostDirection:[{...cm,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"}],headerGap:{selector:()=>".header",property:"gap"},headerListGap:{selector:()=>"descope-list",property:"margin-top"},itemContentGap:{selector:()=>".content",property:"gap"},actionGap:{selector:()=>".action",property:"gap"},unconfiguredAuthTypeTextColor:{selector:()=>"[not-configured]",property:Ai.cssVarList.textColor},unconfiguredAuthTypeTextFontStyle:{selector:()=>"[not-configured]",property:"font-style"},buttonMaxWidth:{selector:Oo.componentName,property:Oo.cssVarList.hostMaxWidth},listItemsGap:{property:gu.cssVarList.gap},listBackgroundColor:{selector:()=>gu.componentName,property:gu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>gu.componentName,property:gu.cssVarList.borderRadius},listBorderWidth:{selector:()=>gu.componentName,property:gu.cssVarList.borderWidth},listBoxShadow:{selector:()=>gu.componentName,property:gu.cssVarList.boxShadow},listPadding:[{selector:()=>gu.componentName,property:gu.cssVarList.verticalPadding},{selector:()=>gu.componentName,property:gu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:uu.componentName,property:uu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:uu.componentName,property:uu.cssVarList.horizontalPadding},itemCursor:{selector:uu.componentName,property:uu.cssVarList.cursor},itemOutline:{selector:uu.componentName,property:uu.cssVarList.outline},itemBorderColor:{selector:uu.componentName,property:uu.cssVarList.borderColor},itemBorderRadius:{selector:uu.componentName,property:uu.cssVarList.borderRadius},itemBackgroundColor:{selector:uu.componentName,property:uu.cssVarList.backgroundColor},badgeBorderColor:{selector:()=>Sc.componentName,property:Sc.cssVarList.borderColor},badgeTextColor:{selector:()=>Sc.componentName,property:Sc.cssVarList.textColor},badgeBackgroundColor:{selector:()=>Sc.componentName,property:Sc.cssVarList.backgroundColor},badgeBorderRadius:{selector:()=>Sc.componentName,property:Sc.cssVarList.borderRadius},titleIconSize:[{selector:()=>'::slotted([slot="title-icon"])',property:"width"},{selector:()=>'::slotted([slot="title-icon"])',property:"height"}],createButtonIconSize:[{selector:()=>'::slotted([slot="create-button-icon"])',property:"width"},{selector:()=>'::slotted([slot="create-button-icon"])',property:"height"}],actionIconSize:[{selector:()=>".delete-icon",property:"width"},{selector:()=>".delete-icon",property:"height"},{selector:()=>".external-link-icon",property:"width"},{selector:()=>".external-link-icon",property:"height"}],actionIconColor:[{selector:()=>".delete-icon",property:Lo.cssVarList.fill},{selector:()=>".external-link-icon",property:Lo.cssVarList.fill}]}}),pt,Ut({targetSelector:"descope-list",itemRenderer:lm,rerenderAttrsList:["allow-delete","allow-configure","not-configured-label","delete-tooltip-label","configure-tooltip-label"]}),ht)(class extends dm{static get observedAttributes(){return["label","create-button-label","not-configured-label","delete-tooltip-label","configure-tooltip-label","empty"].concat(super.observedAttributes)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <span class="wrapper">\n <div class="header">\n <slot name="title-icon"></slot>\n <descope-text class="title" variant="body1" mode="primary"></descope-text>\n <descope-button\n class="create-button"\n size="sm"\n variant="link"\n mode="primary"\n data-action="create"\n >\n <slot name="create-button-icon" slot="prefix"></slot>\n <span class="create-button-label"></span>\n </descope-button>\n </div>\n <descope-list></descope-list>\n <slot name="delete-icon" class="hidden"></slot>\n <slot name="external-link-icon" class="hidden"></slot>\n </span>\n ',this.listEl=this.shadowRoot.querySelector("descope-list"),f('\n :host {\n display: inline-block;\n }\n\n :host(:not([allow-create="true"])) .create-button {\n display: none;\n }\n\n .create-button {\n min-width: 0;\n flex-shrink:1;\n }\n\n .header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n slot[name="title-icon"] {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n }\n\n .title {\n flex: 1;\n min-width: 0;\n width:0;\n flex-shrink: 0;\n\n }\n\n .title::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n width: 100%;\n }\n\n .top-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-width: 0;\n }\n\n .config-name {\n display: flex;\n align-items: center;\n min-width: 0;\n }\n\n .config-name::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n .auth-type-row {\n display: flex;\n align-items: center;\n }\n\n .action {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n }\n\n .hidden {\n display: none;\n }\n\n .delete-btn {\n cursor: pointer;\n display: flex;\n }\n\n .delete-icon > *,\n .external-link-icon > * {\n width: 100%;\n height: 100%;\n }\n\n .external-link {\n cursor: pointer;\n color: inherit;\n display: flex;\n }\n\n descope-text {\n display: flex;\n align-items: center;\n min-width: 0;\n }\n ',this)}get deleteTooltipLabel(){return this.getAttribute("delete-tooltip-label")??""}get configureTooltipLabel(){return this.getAttribute("configure-tooltip-label")??""}init(){super.init?.(),this.shadowRoot.querySelector(".title").textContent=this.label,this.shadowRoot.querySelector(".create-button-label").textContent=this.createButtonLabel,this.listEl.itemRenderer=(t,e)=>lm(t,0,this),this.shadowRoot.querySelector('[data-action="create"]').addEventListener("click",this.onCreateClick.bind(this)),this.listEl.addEventListener("click",this.onItemClick.bind(this)),w(this.listEl,this,{includeAttrs:["empty"]})}onCreateClick(){this.dispatchEvent(new CustomEvent("create-clicked",{bubbles:!0,detail:{}}))}onItemClick(t){const e=t.target.closest('[data-action="delete"]');if(!e)return;const i=e.getAttribute("data-id"),o=e.getAttribute("data-name");i&&this.dispatchEvent(new CustomEvent("delete-clicked",{bubbles:!0,detail:{id:i,name:o}}))}get allowCreate(){return"true"===this.getAttribute("allow-create")}get allowDelete(){return"true"===this.getAttribute("allow-delete")}get allowConfigure(){return"true"===this.getAttribute("allow-configure")}get label(){return this.getAttribute("label")}get createButtonLabel(){return this.getAttribute("create-button-label")}get notConfiguredLabel(){return this.getAttribute("not-configured-label")||"Not Configured"}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i)if("label"===t){const t=this.shadowRoot?.querySelector(".title");t&&(t.textContent=this.label)}else if("create-button-label"===t){const t=this.shadowRoot?.querySelector(".create-button-label");t&&(t.textContent=this.createButtonLabel)}else"empty"===t&&this.listEl.classList.toggle("hidden","true"===i)}}),pm=um.cssVarList,hm=it(ip),gm={[pm.hostWidth]:"300px",[pm.headerGap]:hm.spacing.md,[pm.headerListGap]:hm.spacing.md,[pm.itemContentGap]:hm.spacing.md,[pm.actionGap]:hm.spacing.sm,[pm.unconfiguredAuthTypeTextColor]:hm.colors.surface.dark,[pm.unconfiguredAuthTypeTextFontStyle]:"italic",[pm.buttonMaxWidth]:"50%",[pm.listBackgroundColor]:"transparent",[pm.listBorderRadius]:"0",[pm.listBorderWidth]:"0",[pm.listPadding]:"0",[pm.listBoxShadow]:"none",[pm.listItemsGap]:hm.spacing.lg,[pm.itemBorderColor]:hm.colors.surface.light,[pm.itemVerticalPadding]:hm.spacing.lg,[pm.itemHorizontalPadding]:hm.spacing.lg,[pm.itemBorderRadius]:hm.radius.xs,[pm.itemOutline]:"transparent",[pm.itemBackgroundColor]:"transparent",[pm.itemCursor]:"default",[pm.badgeBorderColor]:hm.colors.surface.light,[pm.badgeTextColor]:hm.colors.surface.dark,[pm.badgeBorderRadius]:hm.radius.xs,[pm.badgeBackgroundColor]:hm.colors.surface.main,[pm.titleIconSize]:"24px",[pm.createButtonIconSize]:"20px",[pm.actionIconSize]:"20px",[pm.actionIconColor]:hm.colors.surface.dark,_fullWidth:{[pm.hostWidth]:"100%"}};var Mm=Object.freeze({__proto__:null,default:gm,vars:pm});const mm=L("tooltip"),ym=["text","position","hide-delay","hover-delay","opened"];class bm extends(bt({componentName:mm,baseSelector:"vaadin-tooltip"})){#di=null;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-anchored>\n <slot></slot>\n <vaadin-tooltip slot="anchored"></vaadin-tooltip>\n </descope-anchored>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),this.tooltip=this.shadowRoot.querySelector("vaadin-tooltip"),this.anchored=this.shadowRoot.querySelector("descope-anchored")}#ci(){const t=this.anchored?.classList?.contains("hidden");this.classList.toggle("hidden",t)}static get observedAttributes(){return ym.concat(super.observedAttributes||[])}get isOpened(){return"true"===this.getAttribute("opened")}get overlay(){return this.tooltip?._overlayElement}get overlayContentNode(){return this.overlay?.shadowRoot.querySelector('[part="content"]')}get tooltipText(){return this.getAttribute("text")?.trim()||""}get isStaticDisplay(){return"true"===this.getAttribute("static-display")}get srLabel(){return this.tooltip?.querySelector('[slot="sr-label"]')}#ui(){this.isStaticDisplay?(this.#pi(),this.setAttribute("inert","true")):this.removeAttribute("inert")}#pi(){this.overlay&&(this.overlay.style.display="block",this.overlay.style.position="static")}init(){super.init?.(),f('\n :host {\n display: inline-block;\n }\n vaadin-tooltip {\n display: block;\n position: absolute;\n width: 0;\n height: 0;\n overflow: hidden;\n }\n /* Stack anchor above the anchored element so the tooltip flows below it inline. */\n :host([static-display="true"]) descope-anchored::part(root) {\n flex-direction: column;\n }\n :host([static-display="true"]) descope-anchored::part(anchored) {\n position: static;\n inset: unset;\n }\n :host([static-display="true"]) vaadin-tooltip {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n }\n :host([static-display="true"]) vaadin-tooltip [slot="sr-label"] {\n display: none;\n }\n',this),this.defaultSlot.addEventListener("slotchange",()=>this.#hi()),this.#hi(),setTimeout(()=>this.#gi())}#Mi(){this.#di?.disconnect(),this.anchored&&(this.#di=z(this.anchored,()=>this.#ci(),{includeAttrs:["class"]}))}connectedCallback(){super.connectedCallback?.(),this.#ci(),this.#Mi()}disconnectedCallback(){super.disconnectedCallback?.(),this.#di?.disconnect()}#hi(){const t=this.defaultSlot?.assignedElements()?.[0];t&&(this.tooltip.target=t)}#gi(){this.#mi(),this.#yi(),w(this,this.tooltip,{includeAttrs:["position","opened"]}),this.#bi()}#Ni(){this.overlayContentNode.innerHTML=""}#Ii(){const t=document.createElement("descope-enriched-text");return t.setAttribute("link-target-blank","true"),t.textContent=this.tooltipText,t}#mi(){this.overlayContentNode&&setTimeout(()=>{this.#Ni(),this.textComponent=this.#Ii(),this.overlayContentNode.appendChild(this.textComponent),this.srLabel&&!this.tooltipText&&this.srLabel.setAttribute("aria-hidden","true"),w(this,this.textComponent,{includeAttrs:["readonly"]})})}#yi(){if(!this.overlay)return;const t=this.overlay._attachOverlay?.bind(this.overlay);this.overlay._detachOverlay=()=>{},this.overlay._attachOverlay=()=>{t?.(),setTimeout(()=>{this.tooltip.shadowRoot.appendChild(this.overlay),this.overlay._updatePosition?.()})},this.isOpened&&setTimeout(()=>{this.tooltip.shadowRoot.appendChild(this.overlay),this.#ui(),this.overlay._updatePosition?.()})}#bi(){this.tooltip?.toggleAttribute("manual",this.isOpened)}#xi(t){if(!this.textComponent)return;const e=(t??"").trim();this.textComponent.textContent=e,this.srLabel&&(e?this.srLabel.removeAttribute("aria-hidden"):this.srLabel.setAttribute("aria-hidden","true"))}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("text"===t&&this.#xi(i),"opened"===t&&this.#bi())}}const{overlay:Nm,content:Im}={overlay:{selector:()=>"vaadin-tooltip-overlay::part(overlay)"},content:{selector:()=>"vaadin-tooltip-overlay::part(content)"}},xm=T(ht,kt({selector:"",mappings:{fontFamily:{...Im,property:Pt.cssVarList.fontFamilyOverride},fontSize:{...Im,property:Pt.cssVarList.fontSizeOverride},fontWeight:{...Im,property:Pt.cssVarList.fontWeightOverride},textColor:{...Im,property:Pt.cssVarList.textColorOverride},hostDirection:{...Im,property:Pt.cssVarList.hostDirectionOverride},backgroundColor:[{...Nm},{...Im}],borderColor:{...Nm},borderStyle:{...Nm},borderWidth:{...Nm},borderRadius:{...Nm},boxShadow:{...Nm},horizontalPadding:[{...Im,property:"padding-left"},{...Im,property:"padding-right"}],verticalPadding:[{...Im,property:"padding-top"},{...Im,property:"padding-bottom"}]},forward:{attributes:["style"],include:!1}}))(bm),jm=it(ip),Tm=xm.cssVarList,[Dm,zm,vm]=nt({shadowColor:"#00000020"},mm),{shadowColor:Cm}=zm,Sm=`${jm.shadow.wide.sm} ${Cm}, ${jm.shadow.narrow.sm} ${Cm}`,Lm={...Dm,[Tm.fontFamily]:jm.fonts.font1.family,[Tm.fontSize]:ip.typography.body2.size,[Tm.fontWeight]:ip.typography.body2.weight,[Tm.textColor]:jm.colors.surface.contrast,[Tm.hostDirection]:jm.direction,[Tm.backgroundColor]:jm.colors.surface.main,[Tm.borderColor]:jm.colors.surface.light,[Tm.borderStyle]:"solid",[Tm.borderWidth]:jm.border.xs,[Tm.borderRadius]:jm.radius.xs,[Tm.horizontalPadding]:jm.spacing.md,[Tm.verticalPadding]:jm.spacing.sm,[Tm.boxShadow]:Sm,shadow:{sm:{[Tm.boxShadow]:Sm},md:{[Tm.boxShadow]:`${jm.shadow.wide.md} ${Cm}, ${jm.shadow.narrow.md} ${Cm}`},lg:{[Tm.boxShadow]:`${jm.shadow.wide.lg} ${Cm}, ${jm.shadow.narrow.lg} ${Cm}`},xl:{[Tm.boxShadow]:`${jm.shadow.wide.xl} ${Cm}, ${jm.shadow.narrow.xl} ${Cm}`},"2xl":{[vm.shadowColor]:"#00000050",[Tm.boxShadow]:`${jm.shadow.wide["2xl"]} ${Cm}`}}};var Am=Object.freeze({__proto__:null,default:Lm,vars:Tm});const wm=async t=>{const e=await fetch(t);if(!e.ok)throw new Error(`[dataService] ${e.status} ${t}`);const i=await e.json();return i.data??i},fm=async t=>wm(`${t}/countries.json`),Em=async(t,e)=>{try{return(await wm(`${e}/countries/${t}/subdivisions.json`)).map(({code:t,...e})=>({...e,state_code:t}))}catch{return[]}},km=async(t,e,i)=>wm(`${i}/countries/${t}/subdivisions/${e}/cities.json`),Om=async t=>{const e=new URL("../labels.json",`${t}/`).href;return wm(e)},Vm=async(t,e)=>wm(`${e}/countries/${t}/cities.json`),Um=L("country-subdivision-city-field-internal"),Ym=Symbol("selecting"),Wm=({name:t,translations:e={}},i)=>i&&(e[i]||e[i.split("-")[0]])||t,Rm=t=>t?String(t).replace(/[&<>"']/g,t=>`&#${t.charCodeAt(0)};`):"",Qm=({name:t,iso2:e,iso3:i,translations:o,lang:n})=>{const r=Wm({name:t,translations:o},n),s=[r,e,i];r!==t&&s.push(t);const a=Rm(e),l=Rm(s.join(" ")),d=Rm(r);return`<div data-id="${a}" data-name="${l}" data-label="${d}">${d}</div>`},Pm=({name:t,state_code:e,translations:i,lang:o})=>{const n=Wm({name:t,translations:i},o),r=[n,e];n!==t&&r.push(t);const s=Rm(e),a=Rm(r.join(" ")),l=Rm(n);return`<div data-id="${s}" data-name="${a}" data-label="${l}">${l}</div>`},Bm=({name:t,translations:e,lang:i})=>{const o=Wm({name:t,translations:e},i),n=[o];o!==t&&n.push(t);const r=Rm(t),s=Rm(n.join(" ")),a=Rm(o);return`<div data-id="${r}" data-name="${s}" data-label="${a}">${a}</div>`},Zm=t=>`<descope-combo-box id="${t}" item-label-path="data-name" item-value-path="data-id" allow-custom-value="false"></descope-combo-box>`,Fm=zt({componentName:Um,baseSelector:""}),Gm=["disabled","readonly","size","bordered"],Hm=["hide-country","hide-subdivision","hide-city"],Jm=[...Gm,"label-type","country-label","subdivision-label","city-label",...Hm,"default-country","allowed-countries","pinned-countries","country-placeholder","subdivision-placeholder","city-placeholder","required","invalid","data-source-base-url","lang"],$m=T()(class extends Fm{static get observedAttributes(){return[].concat(Fm.observedAttributes||[],Jm)}#ji;#Ti;#Di;#zi=!1;#vi=!1;#Ci=new Map;#Si=null;#Li=null;#Ai=null;#wi=null;#fi=null;constructor(){super(),this.innerHTML=`\n <div class="wrapper">\n ${Zm("country-combo")}\n ${Zm("subdivision-combo")}\n ${Zm("city-combo")}\n </div>\n `,this.#ji=this.querySelector("#country-combo"),this.#Ti=this.querySelector("#subdivision-combo"),this.#Di=this.querySelector("#city-combo"),this.#Ei(),this.#ki()}get#Oi(){return"true"===this.getAttribute("hide-country")}get#Vi(){return"true"===this.getAttribute("hide-subdivision")}get#Ui(){return"true"===this.getAttribute("hide-city")}get#Yi(){return!this.#Wi}get#Wi(){return this.getAttribute("data-source-base-url")||void 0}get#Ri(){const t=this.getAttribute("lang")||void 0;if(t)try{const[e]=Intl.getCanonicalLocales(t);return e}catch{return}}get#Qi(){return this.getAttribute("default-country")?.toUpperCase()||void 0}get#Pi(){return this.getAttribute("subdivision-label")||void 0}get#Bi(){return this.getAttribute("subdivision-placeholder")||void 0}get#Zi(){return(this.getAttribute("allowed-countries")||"").split(",").map(t=>t.trim().toUpperCase()).filter(Boolean)}get#Fi(){return(this.getAttribute("pinned-countries")||"").split(",").map(t=>t.trim().toUpperCase()).filter(Boolean)}get#Gi(){return[this.#ji,this.#Ti,this.#Di]}get value(){return{country:this.#Oi?this.#Qi:this.#ji.value||void 0,subdivision:!this.#Vi&&this.#zi&&this.#Ti.value||void 0,city:!this.#Ui&&this.#vi&&this.#Di.value||void 0}}set value(t){if(!t)return;let e;try{e="string"==typeof t?JSON.parse(t):t}catch{return}this.#fi={...e},this.#Wi&&this.#Hi()}init(){this.addEventListener("focus",t=>{if(t.isTrusted){const t=this.#Gi.find(t=>!t.classList.contains(`${Um}-hidden`)&&!t.checkValidity());(t||this.#Ji())?.focus()}}),super.init?.(),this.#$i(),this.#_i(),this.#qi(),this.#Xi()}#Xi(){this.#ji.renderItem=Qm,this.#Ti.renderItem=Pm,this.#Di.renderItem=Bm}attributeChangedCallback(t,e,i){if(super.attributeChangedCallback?.(t,e,i),e!==i)if("required"===t)this.#Ki();else if(Hm.includes(t)||"data-source-base-url"===t)this.#$i(),"data-source-base-url"===t&&this.#qi();else if("default-country"===t){const t=i?.toUpperCase();if(t&&t!==i)return void this.setAttribute("default-country",t);t&&this.#Ci.size?this.#to(t):t&&this.#Oi&&this.#eo()}else"lang"===t?this.#io():"invalid"===t?"true"===i&&this.#oo():"allowed-countries"===t||"pinned-countries"===t?this.#Oi||(this.#Si?this.#no(this.#Si):this.#eo()):"country-label"===t?this.#ro(this.#ji,"label",i):"subdivision-label"===t?this.#ro(this.#Ti,"label",i):"city-label"===t&&this.#ro(this.#Di,"label",i)}getValidity(){if(!this.isRequired)return{};const t=!this.#Oi&&!this.#ji.value,e=!this.#Vi&&(this.#Yi||this.#zi)&&!this.#Ti.value,i=!this.#Ui&&(this.#Yi||this.#vi)&&!this.#Di.value;return t||e||i?{valueMissing:!0}:{}}#oo(){for(const t of[...this.#Gi].reverse())t.classList.contains(`${Um}-hidden`)||t.checkValidity()||t.reportValidity()}#Ei(){[this.#ji,this.#Ti,this.#Di].forEach(t=>{t.customValueTransformFn=e=>{const i=t.baseElement?.items?.find(t=>t["data-name"]===e);return i?.getAttribute("data-label")??e}})}#ki(){this.#Gi.forEach(t=>{w(this,t,{includeAttrs:[...Gm,"label-type"]})}),w(this,this.#ji,{includeAttrs:["default-country"],mapAttrs:{"default-country":"default-value"}}),[[this.#ji,"country-placeholder"],[this.#Ti,"subdivision-placeholder"],[this.#Di,"city-placeholder"]].forEach(([t,e])=>{w(this,t,{includeAttrs:[e],mapAttrs:{[e]:"placeholder"}})})}#_i(){this.#ji.addEventListener("input",()=>this.#so()),this.#Ti.addEventListener("input",()=>this.#ao()),this.#Di.addEventListener("input",()=>this.#lo()),this.handleFocusEventsDispatching(this.#Gi)}#qi(){this.#Wi&&(this.#fi?this.#Hi():this.#Oi&&!this.#Qi||this.#eo())}async#Hi(){const{country:t,subdivision:e,city:i}=this.#fi,o=!!e&&!this.#Vi,n=!!i&&!this.#Ui,r=this.#Si??fm(this.#Wi),s=this.#wi??Om(this.#Wi),a=o&&t?Em(t,this.#Wi):null,l=n&&t?o&&e?km(t,e,this.#Wi):Vm(t,this.#Wi):null,[d,c,u,p]=(await Promise.allSettled([r,s,a,l])).map(t=>"fulfilled"===t.status?t.value:null);if(!this.#fi)return;c&&(this.#wi=c);const h=[];d&&(this.#Si||(this.#Si=d,this.#no(d)),t&&!this.#Oi&&h.push([this.#ji,t]));const g=t?this.#Ci.get(t):null;g?.subdivisionType&&this.#do(g.subdivisionType),u&&(this.#Li=u,this.#zi=u.length>0,u.length>0&&(this.#Ti.data=u.map(t=>({...t,lang:this.#Ri})),e&&h.push([this.#Ti,e]))),p&&(this.#vi=p.length>0,p.length>0&&(this.#Ai=p,this.#Di.data=p.map(t=>({...t,lang:this.#Ri})),i&&h.push([this.#Di,i]))),this.#$i(),this.#fi=Ym,setTimeout(()=>{if(this.#fi===Ym){for(const[t,e]of h){const i=t.items?.find(t=>t["data-id"]===e);i&&(t.selectedItem=i)}this.#fi=null}})}#so(){this.#fi!==Ym&&(this.#fi=null,this.#co(),this.#uo(),this.#to(this.#ji.value),this.#lo())}#ao(){if(this.#fi===Ym)return;this.#fi=null;const t=this.#Ti.value;if(this.#uo(),!this.#Ui&&t){const e=this.#ji.value;e&&this.#po(e,t)}this.#lo()}#to(t){if(!t)return;const e=this.#Ci.get(t);if(!e)return;const{hasSubdivisions:i,subdivisionType:o}=e;!this.#Vi&&i?(this.#do(o),this.#ho(t)):this.#Ui||this.#po(t)}#do(t){const e=this.#go(t);this.#Pi||this.#ro(this.#Ti,"label",e||null),this.#Bi||this.#ro(this.#Ti,"placeholder",e||null)}#go(t){const e=this.#wi?.subdivisionTypes,i=e?.[t]??e?._fallback;if(!i)return t;const o=this.#Ri;return o&&(i[o]||i[o.split("-")[0]])||i.en||t}async#Mo(){try{this.#wi=await Om(this.#Wi)}catch{}}async#eo(){if(this.#Wi){this.#ji.setAttribute("loading","true");try{const[t]=await Promise.all([fm(this.#Wi),this.#Mo()]);this.#Si=t,this.#no(t),!this.#fi&&this.#Qi&&this.#to(this.#Qi)}catch(t){console.error(`[${Um}] Failed to load countries`,t)}finally{this.#ji.removeAttribute("loading")}}}async#ho(t){this.#mo(this.#Ti,!0),this.#Ti.setAttribute("loading","true");try{const e=await Em(t,this.#Wi);this.#Li=e,this.#zi=e.length>0,this.#$i(),e.length>0?this.#Ti.data=e.map(t=>({...t,lang:this.#Ri})):this.#Ui||this.#po(t)}catch(e){console.error(`[${Um}] Failed to load subdivisions for ${t}`,e),this.#zi=!1,this.#yo()}finally{this.#Ti.removeAttribute("loading")}}async#po(t,e){this.#Di.setAttribute("loading","true");try{const i=await(e?km(t,e,this.#Wi):Vm(t,this.#Wi));this.#vi=i.length>0,this.#$i(),i.length>0&&(this.#Ai=i,this.#Di.data=i.map(t=>({...t,lang:this.#Ri})))}catch(i){console.error(`[${Um}] Failed to load cities for ${t}${e?`/${e}`:""}`,i)}finally{this.#Di.removeAttribute("loading")}}#io(){if(this.#Si){const t=this.#ji.value;this.#no(this.#Si),t&&this.#bo(this.#ji,t)}if(this.#Li&&this.#zi){const t=this.#Ti.value;this.#Ti.data=this.#Li.map(t=>({...t,lang:this.#Ri})),t&&this.#bo(this.#Ti,t)}if(this.#Ai&&this.#vi){const t=this.#Di.value;this.#Di.data=this.#Ai.map(t=>({...t,lang:this.#Ri})),t&&this.#bo(this.#Di,t)}const t=this.#ji.value;if(t){const e=this.#Ci.get(t);e?.subdivisionType&&this.#do(e.subdivisionType)}}#no(t){const e=this.#No(t);this.#ji.data=e.map(t=>({...t,lang:this.#Ri})),this.#Ci=new Map(t.map(t=>[t.iso2,t]))}#No(t){const e=this.#Zi,i=this.#Fi;let o=e.length?t.filter(t=>e.includes(t.iso2)):[...t];return o.sort((t,e)=>Wm(t,this.#Ri).localeCompare(Wm(e,this.#Ri),this.#Ri)),i.length?[...i.map(t=>o.find(e=>e.iso2===t)).filter(Boolean),...o.filter(t=>!i.includes(t.iso2))]:o}#yo(){this.#mo(this.#ji,!this.#Oi),this.#mo(this.#Ti,!this.#Vi&&(this.#Yi||this.#zi)),this.#mo(this.#Di,!this.#Ui&&(this.#Yi||this.#vi))}#mo(t,e){t?.classList.toggle(`${Um}-hidden`,!e)}#Ki(){const t=this.hasAttribute("required")?"true":null;this.#ro(this.#ji,"required",this.#Oi?null:t),this.#ro(this.#Ti,"required",this.#Vi||!this.#Yi&&!this.#zi?null:t),this.#ro(this.#Di,"required",this.#Ui||!this.#Yi&&!this.#vi?null:t)}#$i(){this.#yo(),this.#Ki(),this.setCustomValidity("")}#co(){this.#Ti.value="",this.#Ti.data=[],this.#zi=!1,this.#Pi||this.#Ti.removeAttribute("label"),this.#Bi||this.#Ti.removeAttribute("placeholder"),this.#$i()}#uo(){this.#Di.value="",this.#Di.data=[],this.#Ai=null,this.#vi=!1,this.#$i()}#lo(){this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0}))}#ro(t,e,i){i?t.setAttribute(e,i):t.removeAttribute(e)}#Ji(){return this.#Gi.find(t=>!t.classList.contains(`${Um}-hidden`))}#bo(t,e){setTimeout(()=>{const i=t.items?.find(t=>t["data-id"]===e);i&&(t.selectedItem=i)})}}),_m=L("country-subdivision-city-field"),qm={selector:()=>":host"},Xm={selector:`${Um} > .wrapper`},Km={selector:`${Um} > .wrapper > descope-combo-box`},ty=T(ut({componentNameOverride:L("input-wrapper")}),ut({mappings:{hostWidth:{...qm,property:"width"},hostDirection:[{...qm,property:"direction"},{...Km,property:jo.cssVarList.hostDirection}],flexDirection:{...Xm,property:"flex-direction"},flexGap:{...Xm,property:"gap"},itemAlignment:{...Xm,property:"align-items"},itemMinWidth:{...Km,property:"min-width"},itemFlexGrow:{...Km,property:"flex-grow"},itemWidth:{...Km,property:jo.cssVarList.hostWidth}}}),pt,ft({proxyProps:["value"],inputEvent:"input",proxyParentValidation:!0}),ht,t=>class extends t{init(){super.init?.();const t=document.createElement("template");t.innerHTML=`\n <${Um}\n tabindex="-1"\n ></${Um}>\n `,this.baseElement.appendChild(t.content.cloneNode(!0)),this.inputElement=this.shadowRoot.querySelector(Um),w(this,this.inputElement,{includeAttrs:["size","bordered","required","label-type","disabled","readonly","hide-country","hide-subdivision","hide-city","default-country","allowed-countries","pinned-countries","country-label","subdivision-label","city-label","country-placeholder","subdivision-placeholder","city-placeholder","data-source-base-url","lang","invalid"]}),S(this,this.inputElement,{includeAttrs:["invalid"]})}})(St({slots:[],wrappedEleName:"vaadin-custom-field",style:()=>`\n :host {\n display: inline-flex;\n max-width: 100%;\n }\n vaadin-custom-field {\n line-height: unset;\n width: 100%;\n }\n\n ${Um} {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n width: 100%;\n max-width: 100%;\n }\n\n ${Um} > .wrapper {\n display: flex;\n width: 100%;\n flex-wrap: wrap;\n }\n\n .${Um}-hidden {\n display: none;\n }\n\n`,excludeAttrsSync:["tabindex","style","error-message"],componentName:_m})),ey=ty.cssVarList,iy={[ey.hostWidth]:Sp.width,[ey.hostDirection]:Sp.direction,[ey.flexDirection]:"column",[ey.flexGap]:"0.5em",[ey.itemAlignment]:"stretch",[ey.itemFlexGrow]:"0",[ey.itemWidth]:"auto",_fullWidth:{[ey.hostWidth]:"100%"},_horizontal:{[ey.flexDirection]:"row",[ey.itemFlexGrow]:"1"}};var oy=Object.freeze({__proto__:null,default:iy,vars:ey});const ny=L("attachment"),ry=["top-end","top-start","top-center","bottom-start","bottom-end","bottom-center"],sy=ry[0];class ay extends(bt({componentName:ny,baseSelector:"descope-anchored"})){#di=null;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <descope-anchored>\n <slot></slot>\n <div slot="anchored" class="attachment-container">\n <slot name="attachment"></slot>\n </div>\n </descope-anchored>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),this.attachmentSlot=this.shadowRoot.querySelector('slot[name="attachment"]'),this.anchored=this.shadowRoot.querySelector("descope-anchored")}get#Io(){return this.attachmentSlot?.assignedElements()[0]}static get observedAttributes(){return[...super.observedAttributes||[],"position"]}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),"position"===t&&e!==i&&this.#xo()}init(){super.init?.(),f("\n :host {\n display: inline-block;\n }\n :host(.hidden) {\n display: none;\n }\n .attachment-container {\n position: absolute;\n z-index: 1;\n pointer-events: none;\n width: 100%;\n display: flex;\n align-items: center;\n container-type: inline-size;\n }\n",this),this.#xo();const t=this.shadowRoot.querySelector(".attachment-container");z(t,()=>this.#jo(),{includeAttrs:["st-host-direction"]}),this.attachmentSlot.addEventListener("slotchange",()=>this.#jo()),this.defaultSlot.addEventListener("slotchange",()=>{this.#To(),window.requestAnimationFrame(()=>this.#Do())}),window.requestAnimationFrame(()=>this.#To())}#ci(){const t=this.anchored?.classList?.contains("hidden");this.classList.toggle("hidden",t)}#Mi(){this.#di?.disconnect(),this.anchored&&(this.#di=z(this.anchored,()=>this.#ci(),{includeAttrs:["class"]}))}connectedCallback(){super.connectedCallback?.(),this.#ci(),this.#Mi()}disconnectedCallback(){super.disconnectedCallback?.(),this.#di?.disconnect()}#Do(){const t=this.defaultSlot?.assignedElements()?.[0],e=t?.getBoundingClientRect();if(e){const t=e.width;this.#Io?.setAttribute("data-attachment-size",Number(t))}}#To(){const t=this.defaultSlot?.assignedElements()?.length>0;this.classList.toggle("hidden",!t)}#jo(){const t=this.shadowRoot.querySelector(".attachment-container")?.getAttribute("st-host-direction");t&&this.#Io?.setAttribute("st-host-direction",t)}get offsetX(){return this.getAttribute("offset-x")||"0px"}get offsetY(){return this.getAttribute("offset-y")||"0px"}#xo(){const t=this.getAttribute("position");ry.includes(t)||this.setAttribute("position",sy)}}const ly={selector:()=>".attachment-container"},dy=T(ut({mappings:{transform:{...ly},justifyContent:{...ly},maxWidth:{...ly},top:{...ly},bottom:{...ly},left:{...ly},right:{...ly},offsetX:{},offsetY:{}}}),pt,ht)(ay),cy=dy.cssVarList,uy=`calc(8px + var(${cy.offsetX}))`,py={[cy.maxWidth]:"calc(100% - 2 * 8px)",position:{"top-start":{[cy.transform]:"translateY(-50%)",[cy.justifyContent]:"start",[cy.left]:uy,[cy.top]:ot(cy.offsetY)},"top-center":{[cy.transform]:"translate(-50%, -50%)",[cy.justifyContent]:"center",[cy.top]:ot(cy.offsetY),[cy.left]:"50%"},"top-end":{[cy.transform]:"translateY(-50%)",[cy.justifyContent]:"end",[cy.right]:uy,[cy.top]:ot(cy.offsetY)},"bottom-start":{[cy.transform]:"translateY(50%)",[cy.justifyContent]:"start",[cy.left]:uy,[cy.bottom]:ot(cy.offsetY)},"bottom-center":{[cy.bottom]:ot(cy.offsetY),[cy.transform]:"translate(-50%, 50%)",[cy.justifyContent]:"center",[cy.left]:"50%"},"bottom-end":{[cy.transform]:"translateY(50%)",[cy.justifyContent]:"end",[cy.right]:uy,[cy.bottom]:ot(cy.offsetY)}}};var hy=Object.freeze({__proto__:null,default:py}),gy="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkgyMlY0SDRDMi45IDQgMiA0LjkgMiA2VjE3SDBWMjBIMTRWMTdINFY2Wk0yMyA4SDE3QzE2LjQ1IDggMTYgOC40NSAxNiA5VjE5QzE2IDE5LjU1IDE2LjQ1IDIwIDE3IDIwSDIzQzIzLjU1IDIwIDI0IDE5LjU1IDI0IDE5VjlDMjQgOC40NSAyMy41NSA4IDIzIDhaTTIyIDE3SDE4VjEwSDIyVjE3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==",My="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNi41SDIyVjQuNUg0QzIuOSA0LjUgMiA1LjQgMiA2LjVWMTcuNUgwVjIwLjVIMTRWMTcuNUg0VjYuNVpNMjMgOC41SDE3QzE2LjQ1IDguNSAxNiA4Ljk1IDE2IDkuNVYxOS41QzE2IDIwLjA1IDE2LjQ1IDIwLjUgMTcgMjAuNUgyM0MyMy41NSAyMC41IDI0IDIwLjA1IDI0IDE5LjVWOS41QzI0IDguOTUgMjMuNTUgOC41IDIzIDguNVpNMjIgMTcuNUgxOFYxMC41SDI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YSIvPjwvc3ZnPg=="},phone:{light:"data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTYgMWgtOGMtMS42NiAwLTMgMS4zNC0zIDN2MTZjMCAxLjY2IDEuMzQgMyAzIDNoOGMxLjY2IDAgMy0xLjM0IDMtM3YtMTZjMC0xLjY2LTEuMzQtMy0zLTN6bTEgMTdoLTEwdi0xNGgxMHptLTMgM2gtNHYtMWg0eiIgZmlsbD0iIzYzNmM3NCIvPjwvc3ZnPg==",dark:"data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMTYgMWgtOGMtMS42NiAwLTMgMS4zNC0zIDN2MTZjMCAxLjY2IDEuMzQgMyAzIDNoOGMxLjY2IDAgMy0xLjM0IDMtM3YtMTZjMC0xLjY2LTEuMzQtMy0zLTN6bTEgMTdoLTEwdi0xNGgxMHptLTMgM2gtNHYtMWg0eiIgZmlsbD0iI2JlYzRjYSIvPjwvc3ZnPg=="},other:{light:My,dark:gy}},by=L("user-passkeys"),Ny=({id:t,name:e,createdAt:i,passkeyType:o},n,r)=>{const{iconSrc:s,iconSrcDark:a}=(t=>{const e=yy[t]||yy.other;return{iconSrc:e.light,iconSrcDark:e.dark}})(o),l=i&&r.createdAtLabel?`${r.createdAtLabel} `:"",d=((t,e)=>{if(Number.isNaN(parseInt(t,10)))return"";const i=new Date(t),o=i.getFullYear(),n=String(i.getMonth()+1).padStart(2,"0"),r=String(i.getDate()).padStart(2,"0"),s=i.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),a={"DD-MM-YYYY":`${r}/${n}/${o}`,"YYYY-MM-DD":`${o}/${n}/${r}`,"MM-DD-YYYY":`${n}/${r}/${o}`};return`${a[e]||a["MM-DD-YYYY"]} ${s}`})(i,r.format),c=document.createElement("template");return c.innerHTML=`\n <descope-list-item>\n <div class="content">\n <div class="main">\n <span class="item">\n <descope-icon class="item-icon" src="${s}" src-dark="${a}"></descope-icon>\n <descope-text class="item-name" variant="body1" mode="primary"></descope-text>\n </span>\n <span class="item-panel">\n ${r.allowRemove?'<descope-link variant="text" mode="primary" size="md" ellipsis="true" data-action="remove-passkey" class="remove-button">\n <div class="remove-button-content">\n </div>\n </descope-link>':'<descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg=="></descope-icon>'}\n </span>\n </div>\n <div class="meta">\n <descope-text variant="body2" mode="primary">${l}</descope-text>\n <descope-text class="date" variant="body2" mode="primary">\n ${d}\n </descope-text>\n </div>\n </div>\n </descope-list-item>\n `,c.content.querySelector(".item-name").textContent=e,r.allowRemove&&((t,e,i)=>{const o=t.content.querySelector(".remove-button-content");o.dataset.passkeyId=e;const n=V(i,"remove-button");n&&o.append(n)})(c,t,r),c},Iy=bt({componentName:by,baseSelector:gu.componentName}),{host:xy,methodIconSlotted:jy,addIconSlotted:Ty}={host:{selector:()=>":host"},methodIconSlotted:{selector:()=>'slot[name="method-icon"]::slotted(*)'},addIconSlotted:{selector:()=>'slot[name="button-icon"]::slotted(*)'}},Dy=T(ut({mappings:{hostWidth:{...xy,property:"width"},hostMinWidth:{...xy,property:"min-width"},hostDirection:[{...xy,property:"direction"},{selector:()=>"descope-list-item",property:"direction"},{selector:()=>"descope-text",property:"direction"},{selector:()=>"descope-link",property:Ri.cssVarList.hostDirection}],headerGap:{selector:()=>".method",property:"gap"},listGap:{selector:()=>"descope-list",property:"margin-top"},listItemsGap:{property:gu.cssVarList.gap},listBackgroundColor:{selector:()=>gu.componentName,property:gu.cssVarList.backgroundColor},listBorderRadius:{selector:()=>gu.componentName,property:gu.cssVarList.borderRadius},listBorderWidth:{selector:()=>gu.componentName,property:gu.cssVarList.borderWidth},listBoxShadow:{selector:()=>gu.componentName,property:gu.cssVarList.boxShadow},listPadding:[{selector:()=>gu.componentName,property:gu.cssVarList.verticalPadding},{selector:()=>gu.componentName,property:gu.cssVarList.horizontalPadding}],itemVerticalPadding:{selector:uu.componentName,property:uu.cssVarList.verticalPadding},itemHorizontalPadding:{selector:uu.componentName,property:uu.cssVarList.horizontalPadding},itemCursor:{selector:uu.componentName,property:uu.cssVarList.cursor},itemOutline:{selector:uu.componentName,property:uu.cssVarList.outline},itemBorderColor:{selector:uu.componentName,property:uu.cssVarList.borderColor},itemBorderRadius:{selector:uu.componentName,property:uu.cssVarList.borderRadius},itemBackgroundColor:{selector:uu.componentName,property:uu.cssVarList.backgroundColor},itemContentGap:{selector:()=>".content",property:"gap"},itemPanelGap:{selector:()=>".main",property:"gap"},itemIconGap:{selector:()=>".item",property:"gap"},itemIconSize:[{selector:()=>".item-icon",property:"width"},{selector:()=>".item-icon",property:"height"}],addButtonGap:{selector:()=>".button",property:"margin-inline-end"},dateGap:{selector:" .meta",property:"gap"},removeButtonGap:{selector:()=>".remove-button-content",property:"gap"},iconColor:{selector:()=>Oo.componentName,property:Oo.cssVarList.iconColor},iconSize:[{...jy,property:"height"},{...Ty,property:"height"}]}}),pt,Ut({itemRenderer:Ny,sortFn:(t,e)=>my(e.createdAt)-my(t.createdAt),rerenderAttrsList:["created-at-label","format","allow-remove"]}),ht)(class extends Iy{static get observedAttributes(){return["label","add-passkey-button-label","remove-passkey-button-label","empty"].concat(super.observedAttributes)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="header">\n <div class="method">\n <slot name="method-icon"></slot>\n <descope-text class="method-label" st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>\n </div>\n <span class="button">\n <descope-button class="add-passkey-button" size="sm" variant="link" mode="primary">\n <slot name="button-icon"></slot>\n </descope-button>\n </span>\n </div>\n\n <descope-list>\n <slot name="empty-state" slot="empty-state"></slot>\n </descope-list>\n\n <slot name="remove-button" class="hidden"></slot>\n ',this.methodLabel=this.shadowRoot.querySelector(".method-label"),this.addPasskeyButton=this.shadowRoot.querySelector(".add-passkey-button"),this.appsList=this.shadowRoot.querySelector("descope-list"),this.removeButton=this.shadowRoot.querySelector('slot[name="remove-button"]'),f("\n .remove-button-content {\n display: flex;\n align-items: center;\n }\n :host {\n display: inline-block;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .header .method {\n display: flex;\n }\n\n .button {\n min-width: 0;\n }\n\n .add-passkey-button {\n align-self: center;\n max-width: 100%;\n }\n\n .add-passkey-button > span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .descope-list-item {\n min-width: 0;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .main {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .item-panel {\n display: flex;\n flex-shrink: 0;\n max-width: 75%;\n overflow: hidden;\n align-items: center;\n cursor: pointer;\n }\n\n .item {\n display: flex;\n min-width: 0;\n }\n\n .item-icon {\n flex-shrink: 0;\n }\n\n .meta {\n display: flex;\n }\n\n .date {\n min-width: fit-content;\n }\n\n descope-text {\n display: flex;\n align-items: center;\n min-width: 0;\n }\n descope-text::part(text-wrapper) {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n\n descope-link {\n overflow: hidden;\n }\n descope-link.remove-button {\n width: 100%;\n }\n descope-link.remove-button::part(wrapper) {\n display: flex;\n width: 100%;\n }\n .hidden {\n display: none\n }\n\n ",this)}init(){super.init?.(),this.appsList.itemRenderer=Ny,this.appsList.addEventListener("click",this.onRemoveClick.bind(this)),this.addPasskeyButton.addEventListener("click",this.onAddClick.bind(this)),w(this.appsList,this,{includeAttrs:["empty"]}),this.removeButton.addEventListener("slotchange",()=>{this.data=[...this.data]}),this.onLabelChange(),this.updateButtonLabel(this.addPasskeyButton,this.addPasskeyButtonLabel)}onAddClick(){this.readOnly||this.dispatchEvent(new CustomEvent("add-passkey-clicked",{bubbles:!0,detail:{action:"add-passkey"}}))}onRemoveClick(t){if(this.readOnly)return;const e=t.target.closest("[data-passkey-id]"),i=e?.getAttribute("data-passkey-id");i&&this.dispatchEvent(new CustomEvent("remove-passkey-clicked",{bubbles:!0,detail:{id:i,action:"remove-passkey"}}))}get label(){return this.getAttribute("label")||"Passkey"}get readOnly(){return"true"===this.getAttribute("readonly")}get allowRemove(){return"true"===this.getAttribute("allow-remove")}get format(){return this.getAttribute("format")?.toUpperCase()||"MM-DD-YYYY"}get addPasskeyButtonLabel(){return this.getAttribute("add-passkey-button-label")||"Add"}get removePasskeyButtonLabel(){return this.getAttribute("remove-passkey-button-label")||"Remove"}get createdAtLabel(){return this.getAttribute("created-at-label")||"Date added:"}get direction(){return this.getAttribute("st-host-direction")}onLabelChange(){this.methodLabel.innerText=this.label,this.methodLabel.setAttribute("title",this.label)}updateButtonLabel(t,e){let i=t.querySelector("span");e?(i||(i=document.createElement("span"),t.appendChild(i)),i.textContent=e):i&&t.removeChild(i)}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("label"===t?this.onLabelChange():"add-passkey-button-label"===t?this.updateButtonLabel(this.addPasskeyButton,this.addPasskeyButtonLabel):"empty"===t&&this.appsList.classList.toggle("hidden","true"===i))}}),zy=Dy.cssVarList,vy={[zy.hostWidth]:"auto",[zy.hostWidth]:"300px",[zy.hostMinWidth]:"300px",[zy.headerGap]:ip.spacing.lg,[zy.listGap]:ip.spacing.xl,[zy.listBackgroundColor]:"transparent",[zy.listBorderRadius]:"0",[zy.listBorderWidth]:"0",[zy.listPadding]:"0",[zy.listBoxShadow]:"none",[zy.listItemsGap]:ip.spacing.lg,[zy.itemBorderColor]:ip.colors.surface.light,[zy.itemVerticalPadding]:ip.spacing.lg,[zy.itemHorizontalPadding]:ip.spacing.lg,[zy.itemBorderRadius]:ip.radius.xs,[zy.itemOutline]:"transparent",[zy.itemBackgroundColor]:"transparent",[zy.itemCursor]:"default",[zy.itemContentGap]:ip.spacing.sm,[zy.itemPanelGap]:ip.spacing.md,[zy.itemIconGap]:ip.spacing.md,[zy.itemIconSize]:"24px",[zy.addButtonGap]:ip.spacing.sm,[zy.dateGap]:ip.spacing.xs,[zy.removeButtonGap]:ip.spacing.sm,[zy.iconSize]:"1.5em",[zy.iconColor]:"currentcolor",_fullWidth:{[zy.hostWidth]:"100%"}};var Cy=Object.freeze({__proto__:null,default:vy,vars:zy});const Sy=it(ip),Ly=Xn.cssVarList,Ay={[Ly.hostWidth]:Sp.width,[Ly.hostMinWidth]:Sp.minWidth,[Ly.hostDirection]:Sp.direction,[Ly.fontSize]:Sp.fontSize,[Ly.fontFamily]:Sp.fontFamily,[Ly.labelFontSize]:Sp.labelFontSize,[Ly.labelFontWeight]:Sp.labelFontWeight,[Ly.inputValueFontWeight]:Sp.inputValueFontWeight,[Ly.inputPlaceholderFontWeight]:Sp.inputPlaceholderFontWeight,[Ly.helperTextFontWeight]:Sp.helperTextFontWeight,[Ly.errorMessageFontWeight]:Sp.errorMessageFontWeight,[Ly.labelTextColor]:Sp.labelTextColor,[Ly.labelRequiredIndicator]:Sp.requiredIndicator,[Ly.errorMessageTextColor]:Sp.errorMessageTextColor,[Ly.inputValueTextColor]:Sp.valueTextColor,[Ly.inputPlaceholderColor]:Sp.placeholderTextColor,[Ly.inputBorderWidth]:Sp.borderWidth,[Ly.inputBorderStyle]:Sp.borderStyle,[Ly.inputBorderColor]:Sp.borderColor,[Ly.inputBorderRadius]:Sp.borderRadius,[Ly.inputOutlineWidth]:Sp.outlineWidth,[Ly.inputOutlineStyle]:Sp.outlineStyle,[Ly.inputOutlineColor]:Sp.outlineColor,[Ly.inputOutlineOffset]:Sp.outlineOffset,[Ly.inputBackgroundColor]:Sp.backgroundColor,[Ly.inputHeight]:Sp.inputHeight,[Ly.inputHorizontalPadding]:Sp.horizontalPadding,[Ly.helperTextColor]:Sp.helperTextColor,[Ly.textAlign]:Sp.textAlign,textAlign:{right:{[Ly.inputTextAlign]:"right"},left:{[Ly.inputTextAlign]:"left"},center:{[Ly.inputTextAlign]:"center"}},[Ly.labelPosition]:Sp.labelPosition,[Ly.labelTopPosition]:Sp.labelTopPosition,[Ly.labelHorizontalPosition]:Sp.labelHorizontalPosition,[Ly.inputTransformY]:Sp.inputTransformY,[Ly.inputTransition]:Sp.inputTransition,[Ly.marginInlineStart]:Sp.marginInlineStart,[Ly.placeholderOpacity]:Sp.placeholderOpacity,[Ly.inputVerticalAlignment]:Sp.inputVerticalAlignment,[Ly.valueInputHeight]:Sp.valueInputHeight,[Ly.valueInputMarginBottom]:Sp.valueInputMarginBottom,[Ly.inputIconOffset]:Sy.spacing.md,[Ly.inputIconSize]:Sp.inputIconSize,[Ly.inputIconColor]:Sp.placeholderTextColor,[Ly.errorMessageIcon]:Sp.errorMessageIcon,[Ly.errorMessageIconSize]:Sp.errorMessageIconSize,[Ly.errorMessageIconPadding]:Sp.errorMessageIconPadding,[Ly.errorMessageIconRepeat]:Sp.errorMessageIconRepeat,[Ly.errorMessageIconPosition]:Sp.errorMessageIconPosition,[Ly.errorMessageFontSize]:Sp.errorMessageFontSize,[Ly.inputTextSecurity]:Sp.inputTextSecurity};var wy=Object.freeze({__proto__:null,default:Ay,textField:Ay,vars:Ly});class fy{#U=Object.freeze([]);constructor({id:t,min:e,max:i,placeholder:o},n){this.id=t,this.min=e,this.max=i,this.placeholder=o,this.onChange=n}get data(){return this.#U}set data(t){this.#U=Object.freeze(t),this.onChange?.()}get#at(){return this.data.length?this.numberValue:0}get numberValue(){return Number(this.stringValue)}get stringValue(){return(this.data.join("")||this.placeholder).padStart(this.length,"0")}get isFull(){return 10*this.numberValue>this.max||this.data.length===this.length}get isEmpty(){return this.stringValue===this.placeholder}get length(){return this.max.toString().length}set(t){this.data=t.toString().split("")}add(t){let{data:e}=this;return e=[...e,t],Number(e.join(""))>this.max?e=[t]:this.length<e.length&&(e=e.slice(1,e.length)),this.data=e,t}del(){this.data.filter(t=>"0"!==t).filter(Boolean).length?this.data=this.data.slice(0,this.data.length-1):this.data=[]}clear(){this.data=[]}inc(t){this.replaceValue(this.#at<this.max?Math.max(this.#at+(t||1),this.min):this.min)}dec(t){this.replaceValue(this.#at>this.min?Math.min(this.#at-(t||1),this.max):this.max)}isInRange(t){return t>=this.min&&t<=this.max}replaceValue(t){this.isInRange(t)&&(this.data=t.toString().padStart(this.length,0).split(""))}setMin(t){this.min=Number(t)}setMax(t){this.max=Number(t)}}const Ey=["MM/DD","DD/MM"],ky=Ey[0],Oy="/",Vy=[31,29,31,30,31,30,31,31,30,31,30,31],Uy={id:"month",min:1,max:12,placeholder:"MM"},Yy={id:"day",min:1,max:31,placeholder:"DD"},Wy={MM:"(0?[1-9]|1[0-2])",DD:"(0?[1-9]|[12][0-9]|3[01])"},Ry=t=>{const e=(t=>`^${t.split(Oy).map(t=>Wy[t]).join("\\D")}$`)(t),i=(t=>{const e=t.split(Oy);return t=>{const i={};return e.forEach((e,o)=>{i[e]=Number(t[o+1])}),{month:i.MM,day:i.DD}}})(t),o=new RegExp(e);return{pattern:e,validate:t=>o.test(t),getParts:t=>{const e=o.exec(t);return e?i(e):null}}},Qy=Object.fromEntries(Ey.map(t=>[t,Ry(t)])),Py=(t,e)=>{const i=t?.trim?.();return i?Qy[e]?.getParts(i)??null:null},By=L("month-day-field"),Zy=zt({componentName:By,baseSelector:"vaadin-popover"}),Fy=["format","opened","initial-value","readonly","disable-picker"],Gy=["picker-months","picker-label-submit","picker-label-cancel"],Hy=[...Fy,...Gy],Jy=Xn.cssVarList,{host:$y,input:_y,inputEleRTL:qy,toggleButton:Xy,overlay:Ky,backdrop:tb,bottomNav:eb,navButton:ib}={host:{selector:()=>":host"},input:{selector:()=>"descope-text-field"},inputEleRTL:{selector:()=>':host([st-host-direction="rtl"]) descope-text-field'},toggleButton:{selector:()=>".toggle-picker"},overlay:{selector:"vaadin-popover-overlay::part(overlay)"},backdrop:{selector:"vaadin-popover-overlay::part(backdrop)"},bottomNav:{selector:"vaadin-popover-overlay .bottom-nav"},navButton:{selector:"vaadin-popover-overlay .bottom-nav descope-button"}},ob=T(ut({componentNameOverride:L("input-wrapper")}),ut({mappings:{iconMargin:{...Xy,property:"margin-inline-end"},hostWidth:{...$y,property:"width"},hostDirection:{...$y,property:"direction"},textAlign:{..._y,property:"text-align"},rtlInputDirection:{...qy,property:Jy.inputDirection},rtlInputAlignment:{...qy,property:Jy.inputTextAlign},overlayGap:{property:()=>ob.cssVarList.overlayGap},overlayBackgroundColor:{property:()=>ob.cssVarList.overlayBackgroundColor},overlayPadding:{property:()=>ob.cssVarList.overlayPadding},overlayBoxShadow:{property:()=>ob.cssVarList.overlayBoxShadow},overlayOutlineWidth:{property:()=>ob.cssVarList.overlayOutlineWidth},overlayOutlineColor:{property:()=>ob.cssVarList.overlayOutlineColor},overlayOutlineStyle:{property:()=>ob.cssVarList.overlayOutlineStyle},errorMessageIcon:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIcon},errorMessageIconSize:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIconSize},errorMessageIconPadding:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIconPadding},errorMessageIconRepeat:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIconRepeat},errorMessageIconPosition:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageIconPosition},errorMessageFontSize:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageFontSize},labelFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.labelFontWeight},inputValueFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.inputValueFontWeight},inputPlaceholderFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.inputPlaceholderFontWeight},helperTextFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.helperTextFontWeight},errorMessageFontWeight:{selector:Xn.componentName,property:Xn.cssVarList.errorMessageFontWeight}}}),kt({name:"overlay",selector:"",mappings:{marginTop:{...Ky,property:"margin-top"},backgroundColor:{...Ky},backdropBackgroundColor:{...tb,property:"background-color"},backdropPointerEvents:{...tb,property:"pointer-events"},padding:{...Ky},boxShadow:{...Ky},outlineWidth:{...Ky},outlineColor:{...Ky},outlineStyle:{...Ky},bottomNavTopPadding:{...eb,property:"padding-top"},bottomNavBottomPadding:{...eb,property:"padding-bottom"},bottomNavHorizontalPadding:[{...eb,property:"padding-left"},{...eb,property:"padding-right"}],bottomNavAlignment:{...eb,property:"justify-content"},bottomNavGap:{...eb,property:"gap"},navButtonPadding:[{...ib,property:Oo.cssVarList.horizontalPadding},{...ib,property:Oo.cssVarList.verticalPadding}],navButtonOutlineWidth:{...ib,property:Oo.cssVarList.outlineWidth}}}),pt,ht)(class extends Zy{format=ky;#zo=0;#vo=()=>{this.updateCountersDisplay(),this.#Co(),this.#lt()};#So=[new fy(Uy,this.#vo.bind(this)),new fy(Yy,this.#vo.bind(this))];static get observedAttributes(){return[].concat(Zy.observedAttributes||[],Hy)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div>\n <descope-text-field inputmode="numeric">\n <span slot="suffix" class="toggle-picker">\n <descope-icon src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD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NyAxOEgxNS40OTUzQzE1Ljc4NiAxOCAxNiAxOC4yMjYgMTYgMTguNTA0N1YxOS40OTUzQzE2IDE5Ljc4NiAxNS43NzQgMjAgMTUuNDk1MyAyMEgxNC41MDQ3QzE0LjIxNCAyMCAxNCAxOS43NzQgMTQgMTkuNDk1M1YxOC41MDQ3QzE0IDE4LjIxNCAxNC4yMjYgMTggMTQuNTA0NyAxOFpNMTcuNTA0NyAxOEgxOC40OTUzQzE4Ljc4NiAxOCAxOSAxOC4yMjYgMTkgMTguNTA0N1YxOS40OTUzQzE5IDE5Ljc4NiAxOC43NzQgMjAgMTguNDk1MyAyMEgxNy41MDQ3QzE3LjIxNCAyMCAxNyAxOS43NzQgMTcgMTkuNDk1M1YxOC41MDQ3QzE3IDE4LjIxNCAxNy4yMjYgMTggMTcuNTA0NyAxOFpNMTcuNTA0NyAxMkgxOC40OTUzQzE4Ljc4NiAxMiAxOSAxMi4yMjYgMTkgMTIuNTA0N1YxMy40OTUzQzE5IDEzLjc4NiAxOC43NzQgMTQgMTguNDk1MyAxNEgxNy41MDQ3QzE3LjIxNCAxNCAxNyAxMy43NzQgMTcgMTMuNDk1M1YxMi41MDQ3QzE3IDEyLjIxNCAxNy4yMjYgMTIgMTcuNTA0NyAxMlpNMTcuNTA0NyA5SDE4LjQ5NTNDMTguNzg2IDkgMTkgOS4yMjU5NiAxOSA5LjUwNDY4VjEwLjQ5NTNDMTkgMTAuNzg2IDE4Ljc3NCAxMSAxOC40OTUzIDExSDE3LjUwNDdDMTcuMjE0IDExIDE3IDEwLjc3NCAxNyAxMC40OTUzVjkuNTA0NjhDMTcgOS4yMTQwNCAxNy4yMjYgOSAxNy41MDQ3IDlaIiBmaWxsPSIjODA4MDgwIi8+Cjwvc3ZnPgo="></descope-icon>\n </span>\n </descope-text-field>\n <vaadin-popover></vaadin-popover>\n </div>\n ',f('\n :host {\n display: inline-block;\n box-sizing: border-box;\n user-select: none;\n max-width: 100%;\n }\n\n :host ::slotted {\n padding: 0;\n }\n\n .toggle-picker {\n cursor: pointer;\n display: flex;\n align-self: center;\n z-index: 1;\n height: 100%;\n align-items: center;\n }\n\n :host([readonly="true"]) .toggle-picker {\n pointer-events: none;\n }\n\n .hidden {\n display: none;\n }\n ',this),this.inputElement=this.shadowRoot.querySelector("descope-text-field"),this.popoverToggleButton=this.inputElement.querySelector(".toggle-picker")}get validationTarget(){return this.inputElement}get opened(){return"true"===this.getAttribute("opened")}get monthCounter(){return this.#So.find(t=>t.id===Uy.id)}get dayCounter(){return this.#So.find(t=>t.id===Yy.id)}get sortedCounters(){return this.format.split(Oy).map(t=>this.#So.find(e=>e.placeholder===t))}get activeCounter(){return this.sortedCounters[this.#zo]}get countersValue(){return this.sortedCounters.map(t=>t.stringValue).join(Oy)}get isCountersEmpty(){return this.#So.every(t=>t.isEmpty)}get isCountersOutOfRange(){return this.#So.some(t=>!t.isInRange(t.numberValue))}get disablePicker(){return"true"===this.getAttribute("disable-picker")}get overlay(){return this.baseElement.shadowRoot?.querySelector("vaadin-popover-overlay")}get backdrop(){return this.overlay?.shadowRoot?.querySelector("#backdrop")}get picker(){return this.overlay?.querySelector("descope-month-day-field-picker")}get isRTL(){const t=getComputedStyle(this.baseElement).getPropertyValue("direction");return t?"rtl"===t:"rtl"===this.getAttribute("st-host-direction")}get value(){return this.isCountersEmpty||this.isCountersOutOfRange?"":((t,e)=>this.format.replace(/MM|DD/g,i=>String("MM"===i?t:e).padStart(2,"0")))(this.monthCounter.numberValue,this.dayCounter.numberValue)}set value(t){const e=t?Py(String(t),this.format):null;e?this.#Lo(e.month,e.day):(this.#So.forEach(t=>t.clear()),this.clearInputEle())}get isSelectAll(){const{value:t,selectionStart:e,selectionEnd:i}=this.inputElement;return t.length===e+i}getValidity(){return this.isRequired&&this.isCountersEmpty?{valueMissing:!0}:!this.isCountersEmpty&&this.isCountersOutOfRange?{patternMismatch:!0}:{}}reportValidity(){this.inputElement.reportValidity()}#Co(){const t=this.monthCounter.numberValue,e=Vy[t-1]??31;this.dayCounter.max!==e&&this.dayCounter.setMax(e)}#Lo(t,e){this.monthCounter.replaceValue(t),this.#Co(),e>this.dayCounter.max?this.dayCounter.clear():this.dayCounter.replaceValue(e)}updateCountersDisplay(){this.inputElement.value=this.countersValue}#lt(){this.dispatchEvent(new Event("input",{bubbles:!0}))}resetCounters(){this.#So.forEach(t=>t.clear())}clearInputEle(){this.inputElement.value=""}init(){super.init?.(),this.#Ao(),this.#wo(),this.#vo(),this.#fo(),setTimeout(()=>this.#it(),0)}#fo(){this.inputElement.getValidity=this.getValidity.bind(this),this.popoverToggleButton.addEventListener("click",this.#Eo.bind(this)),this.inputElement.addEventListener("focus",this.#ko.bind(this)),this.inputElement.addEventListener("blur",this.#Oo.bind(this)),this.inputElement.addEventListener("click",this.#Vo.bind(this)),this.inputElement.addEventListener("keydown",this.#Uo.bind(this)),this.inputElement.addEventListener("beforeinput",this.#Yo.bind(this)),this.inputElement.addEventListener("pointerdown",this.#Wo.bind(this)),this.inputElement.addEventListener("paste",this.#Ro.bind(this)),w(this,this.inputElement,{includeAttrs:["label","label-type","placeholder","disabled","readonly","bordered","required","full-width","st-host-direction","pattern","data-errormessage-value-missing","data-errormessage-pattern-mismatch","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]})}#wo(){this.baseElement.trigger=["click"],this.baseElement.withBackdrop=!0,this.baseElement.renderer=this.#dt.bind(this),this.baseElement.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation()})}#ct;#dt(t){t.firstChild||(this.overlay.positionTarget=this.shadowRoot.querySelector(".toggle-picker"),t.appendChild(this.#ut()),(t=>{const e=new CSSStyleSheet;e.insertRule(":host{display:block!important;}"),t?.shadowRoot?.adoptedStyleSheets?.push(e)})(this.baseElement),this.backdrop?.addEventListener("click",this.closePopover.bind(this)),f("\n .overlay-hidden { visibility: hidden; }\n .bottom-nav {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n }\n ",t.getRootNode())),this.#Qo(),t.classList.add("overlay-hidden"),setTimeout(()=>{this.#pt(),t.classList.remove("overlay-hidden")},100)}#pt(){const t=this.shadowRoot.querySelector("vaadin-popover").shadowRoot;if(!t||!this.picker)return;this.#ct?.replaceSync("vaadin-popover-overlay::part(overlay) { transform: none; }");const e=document.body.getBoundingClientRect(),i=this.getBoundingClientRect(),o=this.picker.getBoundingClientRect(),n=this.isRTL?"right":"left",r=i[n]-o[n],s=o.left,a=e.width-o.right;let l;l=r>0?Math.min(r,a):-1*Math.min(Math.abs(r),s);const d=`\n vaadin-popover-overlay::part(overlay) {\n transform: translateX(${l}px);\n }\n `;this.#ct?this.#ct.replaceSync(d):this.#ct=f(d,t)}#ut(){const t=document.createElement("span");t.innerHTML='\n <descope-month-day-field-picker></descope-month-day-field-picker>\n <nav class="bottom-nav">\n <descope-button class="cancel-button" variant="link" mode="primary"></descope-button>\n <descope-button class="submit-button" variant="link" mode="primary" disabled="true"></descope-button>\n </nav>\n ';const e=t.querySelector("descope-month-day-field-picker");return this.cancelButton=t.querySelector(".cancel-button"),this.submitButton=t.querySelector(".submit-button"),this.#Po(),this.cancelButton.addEventListener("click",this.#Bo.bind(this)),this.submitButton.addEventListener("click",this.#Zo.bind(this)),e.addEventListener("change",this.#Fo.bind(this)),t}#it(){this.overlay&&(this.overlay._attachOverlay=()=>this.overlay.bringToFront(),this.overlay._detachOverlay=()=>{},this.overlay._enterModalState=()=>{})}#Qo(){this.picker&&(this.isCountersEmpty?this.picker.value="":(this.picker.month=this.monthCounter.isEmpty?null:this.monthCounter.numberValue,this.picker.day=this.dayCounter.isEmpty?null:this.dayCounter.numberValue),w(this,this.picker,{includeAttrs:["st-host-direction","readonly","disabled","picker-months"]}))}get#Go(){return this.getAttribute("picker-label-submit")||"Done"}get#Ho(){return this.getAttribute("picker-label-cancel")||"Cancel"}#Po(){this.submitButton&&(this.submitButton.textContent=this.#Go,this.cancelButton.textContent=this.#Ho)}#Fo(t){const{month:e,day:i}=t.detail||{};this.#Jo(null==e||null==i)}#Jo(t){if(!this.submitButton)return;const e=this.submitButton.shadowRoot?.querySelector("vaadin-button");t?(this.submitButton.setAttribute("disabled","true"),e?.setAttribute("disabled","true")):(this.submitButton.removeAttribute("disabled"),e?.removeAttribute("disabled"))}#Bo(){this.closePopover()}#Zo(){if(this.isReadOnly)return void this.closePopover();const t=this.picker?.month,e=this.picker?.day;null!=t&&null!=e?(this.#Lo(t,e),this.#lt(),this.closePopover()):this.closePopover()}#Eo(){this.opened?this.closePopover():this.openPopover()}openPopover(){this.disablePicker||this.setAttribute("opened","true")}closePopover(){this.removeAttribute("opened"),this.inputElement.focus()}#$o(t){t?this.popoverToggleButton.classList.remove("hidden"):this.popoverToggleButton.classList.add("hidden")}#Yo(t){var e;t.preventDefault(),this.#_o(),t.data&&(e=t.data,String(e||"").trim()&&!Number.isNaN(Number(e)))?(this.#qo(t.data),this.updateCountersDisplay()):t.inputType&&this.#Xo(t)}#_o(){this.isSelectAll&&this.#Ko()}#qo(t){this.activeCounter.add(t),this.activeCounter.isFull&&this.#tn(),this.#en()}#in(t){const[e,i]=this.sortedCounters.map(t=>t.length);return t<=e?0:1}#on(t){this.#zo=this.#in(t.target?.selectionStart||this.inputElement.selectionStart)}#Ko(){this.#zo=0}#tn(){this.#zo<this.#So.length-1&&(this.#zo=Math.min(this.#zo+1,1))}#nn(){this.#zo>0&&(this.#zo=0)}#en(){this.#zo<0||setTimeout(()=>{const t=this.sortedCounters.slice(0,this.#zo).reduce((t,e)=>t+e.length,this.#zo);this.inputElement.setSelectionRange(t,t+this.sortedCounters[this.#zo].length)})}#Uo(t){t.metaKey||t.ctrlKey?"x"===t.key.toLowerCase()&&this.#rn(t):(this.#_o(),"ArrowUp"===t.key?this.activeCounter.inc():"ArrowDown"===t.key?this.activeCounter.dec():"ArrowRight"===t.key?this.#tn():"ArrowLeft"===t.key&&this.#nn(),this.#en())}#Xo(t){this.isReadOnly||(this.opened&&this.closePopover(),this.activeCounter&&("deleteContentBackward"===t.inputType&&this.#sn(),this.#en()))}#sn(){if(this.isSelectAll)return void this.#an();const t=this.activeCounter;t.isEmpty?(this.#nn(),this.#en()):t.set(""),setTimeout(()=>{this.updateCountersDisplay(),this.#en()})}#Vo(t){this.opened||(t.preventDefault(),this.#on(t),this.#en())}#Wo(t){setTimeout(()=>this.#Vo(t),150)}#ko(){this.isReadOnly||setTimeout(()=>this.#ln())}#Oo(){this.opened||this.inputElement.value===this.format&&this.clearInputEle()}#ln(){this.inputElement.value||(this.inputElement.value=this.format),this.#Ko(),this.inputElement.setSelectionRange(0,this.sortedCounters[0].length)}#an(){this.resetCounters(),this.#Ko(),this.#ln()}#dn(t){Object.keys(Qy).includes(t)&&(this.format=t,this.#Ao(),this.updateCountersDisplay())}#Ao(){const t=this.getAttribute("format")||this.format||ky,e=Qy[t]?t:ky;this.format=e,this.setAttribute("pattern",Qy[e].pattern)}#rn(t){t.preventDefault(),this.isSelectAll?(this.#ht(this.countersValue),this.#an()):(this.#ht(this.activeCounter.stringValue),this.activeCounter.set("")),this.#en()}#ht(t){try{navigator.clipboard.writeText(t)}catch(t){console.error("Failed to copy month/day value:",t)}}#Ro(t){t.preventDefault();const e=(t.clipboardData||window.clipboardData).getData("Text"),i=Py(e,this.format);if(i)return this.#Lo(i.month,i.day),this.#vo(),void setTimeout(()=>this.inputElement.setSelectionRange(0,this.inputElement.value.length));const o=Number(e);o&&this.activeCounter.isInRange(o)&&(this.activeCounter.set(String(o)),setTimeout(()=>this.#en()))}#cn(t){this.value||setTimeout(()=>{t&&(this.value=t)})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("disable-picker"===t&&this.#$o("true"!==i),Fy.includes(t)?(i&&"format"===t&&this.#dn(i),"initial-value"===t&&this.#cn(i)):"picker-label-submit"===t||"picker-label-cancel"===t?this.#Po():Gy.includes(t)&&(i?this.picker?.setAttribute(t,i):this.picker?.removeAttribute(t)))}}),nb=it(ip),rb="#00000020",{shadow:sb}=nb,ab=ob.cssVarList,lb={[ab.hostWidth]:Sp.width,[ab.hostDirection]:Sp.direction,[ab.iconMargin]:"0.375em",[ab.overlay.marginTop]:Sp.outlineWidth,[ab.overlay.backgroundColor]:Sp.backgroundColor,[ab.overlay.backdropBackgroundColor]:"transparent",[ab.overlay.backdropPointerEvents]:"all",[ab.overlay.boxShadow]:`${sb.wide.xl} ${rb}, ${sb.narrow.xl} ${rb}`,[ab.overlay.outlineWidth]:"0",[ab.overlay.outlineColor]:"transparent",[ab.overlay.outlineStyle]:"none",[ab.overlay.padding]:"0",[ab.overlay.bottomNavTopPadding]:"0",[ab.overlay.bottomNavBottomPadding]:"0.75em",[ab.overlay.bottomNavHorizontalPadding]:"1em",[ab.overlay.bottomNavAlignment]:"space-between",[ab.overlay.bottomNavGap]:"0.5em",[ab.overlay.navButtonPadding]:"0",[ab.overlay.navButtonOutlineWidth]:"0",[ab.rtlInputDirection]:"ltr",[ab.rtlInputAlignment]:"right",[ab.errorMessageIcon]:Sp.errorMessageIcon,[ab.errorMessageIconSize]:Sp.errorMessageIconSize,[ab.errorMessageIconPadding]:Sp.errorMessageIconPadding,[ab.errorMessageIconRepeat]:Sp.errorMessageIconRepeat,[ab.errorMessageIconPosition]:Sp.errorMessageIconPosition,[ab.errorMessageFontSize]:Sp.errorMessageFontSize,[ab.labelFontWeight]:Sp.labelFontWeight,[ab.inputValueFontWeight]:Sp.inputValueFontWeight,[ab.inputPlaceholderFontWeight]:Sp.inputPlaceholderFontWeight,[ab.helperTextFontWeight]:Sp.helperTextFontWeight,[ab.errorMessageFontWeight]:Sp.errorMessageFontWeight};var db=Object.freeze({__proto__:null,default:lb,vars:ab});const cb=[31,29,31,30,31,30,31,31,30,31,30,31],ub=["January","February","March","April","May","June","July","August","September","October","November","December"],pb=L("month-day-field-picker"),hb=["initial-value","picker-months","st-host-direction","disabled","full-width"],gb=zt({componentName:pb,baseSelector:"div"}),Mb=(t,e)=>{const i=document.createDocumentFragment();t.forEach(({id:t,name:e})=>{const o=document.createElement("div");o.className="combo-box-item",o.setAttribute("data-id",String(t)),o.setAttribute("data-name",e),o.textContent=e,i.appendChild(o)}),e.replaceChildren(i)},{picker:mb,monthInput:yb,dayInput:bb,inputsRow:Nb}={picker:{selector:()=>".picker"},monthInput:{selector:()=>".month-input"},dayInput:{selector:()=>".day-input"},inputsRow:{selector:()=>".inputs-row"}},Ib=T(ut({componentNameOverride:L("input-wrapper")}),ut({mappings:{fontSize:{},fontFamily:{},hostWidth:{selector:()=>":host",property:"width"},hostDirection:{property:"direction"},pickerPadding:{...mb,property:"padding"},inputsRowGap:{...Nb,property:"gap"},inputWidth:[{...yb,property:"width"},{...bb,property:"width"}]}}),pt,ht)(class extends gb{static get observedAttributes(){return[].concat(gb.observedAttributes||[],hb)}#un=null;#pn=null;constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="picker">\n <div class="inputs-row">\n <descope-combo-box\n class="month-input"\n bordered="true"\n label-type="static"\n allow-custom-value="false"\n full-width="true"\n item-label-path="data-name"\n item-value-path="data-id"\n ></descope-combo-box>\n <descope-combo-box\n class="day-input"\n bordered="true"\n label-type="static"\n allow-custom-value="false"\n full-width="true"\n item-label-path="data-name"\n item-value-path="data-id"\n ></descope-combo-box>\n </div>\n </div>\n ',f("\n :host {\n display: inline-block;\n box-sizing: border-box;\n max-width: 100%;\n user-select: none;\n -webkit-user-select: none;\n }\n\n .inputs-row {\n display: flex;\n }\n\n .inputs-row > descope-combo-box {\n flex: 1;\n min-width: 0;\n }\n ",this),this.monthInput=this.shadowRoot.querySelector(".month-input"),this.dayInput=this.shadowRoot.querySelector(".day-input")}get month(){return this.#un}set month(t){const e=Number(t);!Number.isInteger(e)||e<1||e>12?this.#un=null:this.#un=e,null!=this.#pn&&null!=this.#un&&this.#pn>cb[this.#un-1]&&(this.#pn=1),this.#hn(),this.#gn(),this.#Mn(),this.#D()}get day(){return this.#pn}set day(t){const e=Number(t);!Number.isInteger(e)||e<1||null!=this.#un&&e>cb[this.#un-1]?this.#pn=null:this.#pn=e,this.#Mn(),this.#D()}set value(t){if(!t)return void this.#mn();const e=/^(0?[1-9]|1[0-2])\D(0?[1-9]|[12][0-9]|3[01])$/.exec(String(t).trim());if(!e)return;const i=Number(e[1]),o=Number(e[2]);this.month=i,this.day=o}#mn(){const t=new Date;this.month=t.getMonth()+1,this.day=t.getDate()}get value(){return null==this.#un||null==this.#pn?"":`${String(this.#un).padStart(2,"0")}/${String(this.#pn).padStart(2,"0")}`}init(){super.init?.(),this.#yn(),this.#bn();const t=this.getAttribute("initial-value");t?this.value=t:null==this.#un&&this.#mn(),w(this,this.monthInput,{includeAttrs:["disabled","size","st-host-direction"]}),w(this,this.dayInput,{includeAttrs:["disabled","size","st-host-direction"]})}attributeChangedCallback(t,e,i){super.attributeChangedCallback?.(t,e,i),e!==i&&("initial-value"===t?this.value=i:"picker-months"===t&&this.#Nn())}get#In(){return(t=>{const e=t?.split(",");return(t=>Array.isArray(t)&&12===t.length&&12===t.filter(Boolean).length)(e)?e:ub})(this.getAttribute("picker-months"))}#yn(){this.#Nn(),this.monthInput.addEventListener("input",this.#xn.bind(this))}#bn(){this.dayInput.addEventListener("input",this.#jn.bind(this))}#Nn(){Mb(this.#In.map((t,e)=>({id:e+1,name:t})),this.monthInput),this.#hn()}#gn(){const t=cb[this.#un-1]??0;Mb((t=>Array.from({length:t},(t,e)=>({id:e+1,name:String(e+1)})))(t),this.dayInput)}#hn(){this.monthInput&&setTimeout(()=>{this.monthInput&&(this.monthInput.value=null!=this.#un?String(this.#un):"")})}#Mn(){setTimeout(()=>{this.dayInput&&(this.dayInput.value=null!==this.#pn?String(this.#pn):"")})}#xn(t){const e=t.target?.value,i=e?Number(e):null;i!==this.#un&&(this.month=i)}#jn(t){const e=t.target?.value,i=e?Number(e):null;i!==this.#pn&&(this.day=i)}#D(){this.dispatchEvent(new CustomEvent("change",{detail:{month:this.#un,day:this.#pn},bubbles:!0,composed:!0}))}getValidity(){return{}}}),xb=Ib.cssVarList,jb={[xb.fontFamily]:Sp.fontFamily,[xb.fontSize]:Sp.fontSize,[xb.hostDirection]:Sp.direction,[xb.inputWidth]:"130px",[xb.pickerPadding]:"1em 1em",[xb.inputsRowGap]:"0.5em",_fullWidth:{[xb.hostWidth]:"100%"}};var Tb=Object.freeze({__proto__:null,default:jb,vars:xb});const Db=Kt("input-wrapper"),zb=Ce(qu),[vb,Cb,Sb]=Ve({labelTextColor:zb.colors.surface.dark,labelFontSize:"14px",labelFontWeight:"500",inputValueFontWeight:"400",inputPlaceholderFontWeight:"400",helperTextFontWeight:"400",errorMessageFontWeight:"400",valueTextColor:zb.colors.surface.contrast,placeholderTextColor:zb.colors.surface.dark,requiredIndicator:"'*'",helperTextColor:zb.colors.surface.dark,errorMessageTextColor:zb.colors.error.main,successMessageTextColor:zb.colors.success.main,borderWidth:zb.border.xs,borderRadius:zb.radius.xs,borderColor:"transparent",outlineWidth:zb.border.sm,outlineStyle:"solid",outlineColor:"transparent",outlineOffset:"0px",minWidth:"10em",toggleButtonSize:"1.5em",inputIconSize:"1em",inputHeight:"3em",horizontalPadding:"0.5em",verticalPadding:"0.5em",textAlign:"start",backgroundColor:zb.colors.surface.main,fontFamily:zb.fonts.font1.family,direction:zb.direction,overlayOpacity:"0.3",errorMessageIcon:"",errorMessageIconSize:"0",errorMessageIconPadding:"0",errorMessageIconPosition:"0 0.4em",errorMessageFontSize:"0.8125rem",errorMessageIconRepeat:"no-repeat",size:{xs:{fontSize:"12px",chipFontSize:"10px"},sm:{fontSize:"14px",chipFontSize:"12px"},md:{fontSize:"16px",chipFontSize:"14px"},lg:{fontSize:"18px",chipFontSize:"16px"}},labelType:{static:{valueInputHeight:"3em",valueInputMarginBottom:"auto"},floating:{labelPosition:"absolute",labelTopPosition:"0",labelHorizontalPosition:"0.9em",labelFontSize:"1em",placeholderOpacity:0,inputHeight:"3.5em",inputVerticalAlignment:"flex-end",inputTransformY:"translateY(1.55em)",inputTransition:"all 75ms ease-in-out",marginInlineStart:"0",valueInputHeight:"1.5702em",valueInputMarginBottom:"0.5em",_focused:{labelFontSize:"0.75em",inputTransformY:"translateY(1.05em)",labelFontWeight:"400",placeholderOpacity:1},_readOnly:{placeholderOpacity:0},_hasValue:{inputTransformY:"translateY(1.05em)",labelFontSize:"0.75em",labelFontWeight:"400"}}},_fullWidth:{width:"100%"},_bordered:{outlineWidth:zb.border.xs,borderColor:zb.colors.surface.light,borderStyle:"solid",_invalid:{borderColor:zb.colors.error.main}},_focused:{outlineColor:zb.colors.surface.light,_invalid:{outlineColor:zb.colors.error.main}},_disabled:{labelTextColor:zb.colors.surface.light,borderColor:zb.colors.surface.light,valueTextColor:zb.colors.surface.light,placeholderTextColor:zb.colors.surface.light,helperTextColor:zb.colors.surface.light,backgroundColor:zb.colors.surface.main},_obfuscated:{inputTextSecurity:"disc"}},Db);var Lb=Object.freeze({__proto__:null,default:vb,refs:Cb,vars:Sb});const Ab=Ce(qu),wb=us.cssVarList,fb={[wb.hostWidth]:Cb.width,[wb.hostMinWidth]:Cb.minWidth,[wb.hostDirection]:Cb.direction,[wb.fontSize]:Cb.fontSize,[wb.fontFamily]:Cb.fontFamily,[wb.labelFontSize]:Cb.labelFontSize,[wb.labelFontWeight]:Cb.labelFontWeight,[wb.inputValueFontWeight]:Cb.inputValueFontWeight,[wb.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[wb.helperTextFontWeight]:Cb.helperTextFontWeight,[wb.errorMessageFontWeight]:Cb.errorMessageFontWeight,[wb.labelTextColor]:Cb.labelTextColor,[wb.errorMessageTextColor]:Cb.errorMessageTextColor,[wb.inputHorizontalPadding]:Cb.horizontalPadding,[wb.inputHeight]:Cb.inputHeight,[wb.inputBackgroundColor]:Cb.backgroundColor,[wb.labelRequiredIndicator]:Cb.requiredIndicator,[wb.inputValueTextColor]:Cb.valueTextColor,[wb.inputPlaceholderTextColor]:Cb.placeholderTextColor,[wb.inputBorderWidth]:Cb.borderWidth,[wb.inputBorderStyle]:Cb.borderStyle,[wb.inputBorderColor]:Cb.borderColor,[wb.inputBorderRadius]:Cb.borderRadius,[wb.inputOutlineWidth]:Cb.outlineWidth,[wb.inputOutlineStyle]:Cb.outlineStyle,[wb.inputOutlineColor]:Cb.outlineColor,[wb.inputOutlineOffset]:Cb.outlineOffset,[wb.revealButtonOffset]:Ab.spacing.md,[wb.revealButtonSize]:Cb.toggleButtonSize,[wb.revealButtonColor]:Cb.placeholderTextColor,[wb.labelPosition]:Cb.labelPosition,[wb.labelTopPosition]:Cb.labelTopPosition,[wb.labelHorizontalPosition]:Cb.labelHorizontalPosition,[wb.inputTransformY]:Cb.inputTransformY,[wb.inputTransition]:Cb.inputTransition,[wb.marginInlineStart]:Cb.marginInlineStart,[wb.placeholderOpacity]:Cb.placeholderOpacity,[wb.inputVerticalAlignment]:Cb.inputVerticalAlignment,[wb.valueInputHeight]:Cb.valueInputHeight,[wb.errorMessageIcon]:Cb.errorMessageIcon,[wb.errorMessageIconSize]:Cb.errorMessageIconSize,[wb.errorMessageIconPadding]:Cb.errorMessageIconPadding,[wb.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[wb.errorMessageIconPosition]:Cb.errorMessageIconPosition,[wb.errorMessageFontSize]:Cb.errorMessageFontSize};var Eb=Object.freeze({__proto__:null,default:fb,vars:wb});const kb=wr.cssVarList,Ob={[kb.hostWidth]:Cb.width,[kb.hostMinWidth]:Cb.minWidth,[kb.hostDirection]:Cb.direction,[kb.fontSize]:Cb.fontSize,[kb.fontFamily]:Cb.fontFamily,[kb.labelFontSize]:Cb.labelFontSize,[kb.labelFontWeight]:Cb.labelFontWeight,[kb.inputValueFontWeight]:Cb.inputValueFontWeight,[kb.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[kb.helperTextFontWeight]:Cb.helperTextFontWeight,[kb.errorMessageFontWeight]:Cb.errorMessageFontWeight,[kb.labelTextColor]:Cb.labelTextColor,[kb.errorMessageTextColor]:Cb.errorMessageTextColor,[kb.inputValueTextColor]:Cb.valueTextColor,[kb.inputPlaceholderColor]:Cb.placeholderTextColor,[kb.inputBorderWidth]:Cb.borderWidth,[kb.inputBorderStyle]:Cb.borderStyle,[kb.inputBorderColor]:Cb.borderColor,[kb.inputBorderRadius]:Cb.borderRadius,[kb.inputOutlineWidth]:Cb.outlineWidth,[kb.inputOutlineStyle]:Cb.outlineStyle,[kb.inputOutlineColor]:Cb.outlineColor,[kb.inputOutlineOffset]:Cb.outlineOffset,[kb.inputBackgroundColor]:Cb.backgroundColor,[kb.labelRequiredIndicator]:Cb.requiredIndicator,[kb.inputHorizontalPadding]:Cb.horizontalPadding,[kb.inputHeight]:Cb.inputHeight,[kb.labelPosition]:Cb.labelPosition,[kb.labelTopPosition]:Cb.labelTopPosition,[kb.labelHorizontalPosition]:Cb.labelHorizontalPosition,[kb.inputTransformY]:Cb.inputTransformY,[kb.inputTransition]:Cb.inputTransition,[kb.marginInlineStart]:Cb.marginInlineStart,[kb.placeholderOpacity]:Cb.placeholderOpacity,[kb.inputVerticalAlignment]:Cb.inputVerticalAlignment,[kb.valueInputHeight]:Cb.valueInputHeight,[kb.valueInputMarginBottom]:Cb.valueInputMarginBottom,[kb.errorMessageIcon]:Cb.errorMessageIcon,[kb.errorMessageIconSize]:Cb.errorMessageIconSize,[kb.errorMessageIconPadding]:Cb.errorMessageIconPadding,[kb.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[kb.errorMessageIconPosition]:Cb.errorMessageIconPosition,[kb.errorMessageFontSize]:Cb.errorMessageFontSize};var Vb=Object.freeze({__proto__:null,default:Ob,vars:kb});const Ub=jr.cssVarList,Yb={[Ub.hostWidth]:Cb.width,[Ub.hostMinWidth]:Cb.minWidth,[Ub.hostDirection]:Cb.direction,[Ub.fontSize]:Cb.fontSize,[Ub.fontFamily]:Cb.fontFamily,[Ub.labelFontSize]:Cb.labelFontSize,[Ub.labelFontWeight]:Cb.labelFontWeight,[Ub.inputValueFontWeight]:Cb.inputValueFontWeight,[Ub.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[Ub.helperTextFontWeight]:Cb.helperTextFontWeight,[Ub.errorMessageFontWeight]:Cb.errorMessageFontWeight,[Ub.labelTextColor]:Cb.labelTextColor,[Ub.errorMessageTextColor]:Cb.errorMessageTextColor,[Ub.inputValueTextColor]:Cb.valueTextColor,[Ub.labelRequiredIndicator]:Cb.requiredIndicator,[Ub.inputPlaceholderColor]:Cb.placeholderTextColor,[Ub.inputBorderWidth]:Cb.borderWidth,[Ub.inputBorderStyle]:Cb.borderStyle,[Ub.inputBorderColor]:Cb.borderColor,[Ub.inputBorderRadius]:Cb.borderRadius,[Ub.inputOutlineWidth]:Cb.outlineWidth,[Ub.inputOutlineStyle]:Cb.outlineStyle,[Ub.inputOutlineColor]:Cb.outlineColor,[Ub.inputOutlineOffset]:Cb.outlineOffset,[Ub.inputBackgroundColor]:Cb.backgroundColor,[Ub.inputHorizontalPadding]:Cb.horizontalPadding,[Ub.inputHeight]:Cb.inputHeight,[Ub.labelPosition]:Cb.labelPosition,[Ub.labelTopPosition]:Cb.labelTopPosition,[Ub.labelHorizontalPosition]:Cb.labelHorizontalPosition,[Ub.inputTransformY]:Cb.inputTransformY,[Ub.inputTransition]:Cb.inputTransition,[Ub.marginInlineStart]:Cb.marginInlineStart,[Ub.placeholderOpacity]:Cb.placeholderOpacity,[Ub.inputVerticalAlignment]:Cb.inputVerticalAlignment,[Ub.valueInputHeight]:Cb.valueInputHeight,[Ub.valueInputMarginBottom]:Cb.valueInputMarginBottom,[Ub.errorMessageIcon]:Cb.errorMessageIcon,[Ub.errorMessageIconSize]:Cb.errorMessageIconSize,[Ub.errorMessageIconPadding]:Cb.errorMessageIconPadding,[Ub.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[Ub.errorMessageIconPosition]:Cb.errorMessageIconPosition,[Ub.errorMessageFontSize]:Cb.errorMessageFontSize};var Wb=Object.freeze({__proto__:null,default:Yb,vars:Ub});const Rb=xs.cssVarList,Qb={[Rb.hostWidth]:Cb.width,[Rb.hostMinWidth]:Cb.minWidth,[Rb.hostDirection]:Cb.direction,[Rb.fontSize]:Cb.fontSize,[Rb.fontFamily]:Cb.fontFamily,[Rb.labelFontSize]:Cb.labelFontSize,[Rb.labelFontWeight]:Cb.labelFontWeight,[Rb.inputValueFontWeight]:Cb.inputValueFontWeight,[Rb.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[Rb.helperTextFontWeight]:Cb.helperTextFontWeight,[Rb.errorMessageFontWeight]:Cb.errorMessageFontWeight,[Rb.labelTextColor]:Cb.labelTextColor,[Rb.labelRequiredIndicator]:Cb.requiredIndicator,[Rb.errorMessageTextColor]:Cb.errorMessageTextColor,[Rb.inputBackgroundColor]:Cb.backgroundColor,[Rb.inputValueTextColor]:Cb.valueTextColor,[Rb.inputPlaceholderTextColor]:Cb.placeholderTextColor,[Rb.inputBorderRadius]:Cb.borderRadius,[Rb.inputBorderWidth]:Cb.borderWidth,[Rb.inputBorderStyle]:Cb.borderStyle,[Rb.inputBorderColor]:Cb.borderColor,[Rb.inputOutlineWidth]:Cb.outlineWidth,[Rb.inputOutlineStyle]:Cb.outlineStyle,[Rb.inputOutlineColor]:Cb.outlineColor,[Rb.inputOutlineOffset]:Cb.outlineOffset,[Rb.inputResizeType]:"vertical",[Rb.inputMinHeight]:"5em",[Rb.errorMessageIcon]:Cb.errorMessageIcon,[Rb.errorMessageIconSize]:Cb.errorMessageIconSize,[Rb.errorMessageIconPadding]:Cb.errorMessageIconPadding,[Rb.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[Rb.errorMessageIconPosition]:Cb.errorMessageIconPosition,[Rb.errorMessageFontSize]:Cb.errorMessageFontSize,textAlign:{right:{[Rb.inputTextAlign]:"right"},left:{[Rb.inputTextAlign]:"left"},center:{[Rb.inputTextAlign]:"center"}},_readonly:{[Rb.inputResizeType]:"none"}};var Pb=Object.freeze({__proto__:null,default:Qb,vars:Rb});const Bb=vi.cssVarList,Zb="1.35em",Fb={[Bb.hostWidth]:Cb.width,[Bb.hostDirection]:Cb.direction,[Bb.fontSize]:Cb.fontSize,[Bb.fontFamily]:Cb.fontFamily,[Bb.labelTextColor]:Cb.labelTextColor,[Bb.labelRequiredIndicator]:Cb.requiredIndicator,[Bb.labelFontWeight]:"400",[Bb.labelLineHeight]:Zb,[Bb.labelSpacing]:"1em",[Bb.errorMessageTextColor]:Cb.errorMessageTextColor,[Bb.inputOutlineWidth]:Cb.outlineWidth,[Bb.inputOutlineOffset]:Cb.outlineOffset,[Bb.inputOutlineColor]:Cb.outlineColor,[Bb.inputOutlineStyle]:Cb.outlineStyle,[Bb.inputBorderRadius]:Cb.borderRadius,[Bb.inputBorderColor]:Cb.borderColor,[Bb.inputBorderWidth]:Cb.borderWidth,[Bb.inputBorderStyle]:Cb.borderStyle,[Bb.inputBackgroundColor]:Cb.backgroundColor,[Bb.inputSize]:Zb,[Bb.inputValueTextColor]:Cb.valueTextColor,[Bb.errorMessageIcon]:Cb.errorMessageIcon,[Bb.errorMessageIconSize]:Cb.errorMessageIconSize,[Bb.errorMessageIconPadding]:Cb.errorMessageIconPadding,[Bb.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[Bb.errorMessageIconPosition]:Cb.errorMessageIconPosition,[Bb.errorMessageFontSize]:Cb.errorMessageFontSize};var Gb=Object.freeze({__proto__:null,default:Fb,vars:Bb});const Hb="2px",Jb=Ce(qu),$b=_i.cssVarList,_b={[$b.hostWidth]:Cb.width,[$b.hostDirection]:Cb.direction,[$b.fontSize]:Cb.fontSize,[$b.fontFamily]:Cb.fontFamily,[$b.inputOutlineWidth]:Cb.outlineWidth,[$b.inputOutlineOffset]:Cb.outlineOffset,[$b.inputOutlineColor]:Cb.outlineColor,[$b.inputOutlineStyle]:Cb.outlineStyle,[$b.trackBorderStyle]:Cb.borderStyle,[$b.trackBorderWidth]:Cb.borderWidth,[$b.trackBorderColor]:Cb.borderColor,[$b.trackBackgroundColor]:Cb.backgroundColor,[$b.trackBorderRadius]:Jb.radius.md,[$b.trackWidth]:"2.5em",[$b.trackHeight]:"1.25em",[$b.knobSize]:`calc(1em - ${Hb})`,[$b.knobRadius]:"50%",[$b.knobTopOffset]:"1px",[$b.knobLeftOffset]:Hb,[$b.knobColor]:Cb.labelTextColor,[$b.knobTransitionDuration]:"0.3s",[$b.labelTextColor]:Cb.labelTextColor,[$b.labelFontWeight]:"400",[$b.labelLineHeight]:"1.35em",[$b.labelSpacing]:"1em",[$b.labelRequiredIndicator]:Cb.requiredIndicator,[$b.errorMessageTextColor]:Cb.errorMessageTextColor,[$b.errorMessageIcon]:Cb.errorMessageIcon,[$b.errorMessageIconSize]:Cb.errorMessageIconSize,[$b.errorMessageIconPadding]:Cb.errorMessageIconPadding,[$b.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[$b.errorMessageIconPosition]:Cb.errorMessageIconPosition,[$b.errorMessageFontSize]:Cb.errorMessageFontSize,_checked:{[$b.trackBorderColor]:Cb.borderColor,[$b.knobLeftOffset]:`calc(100% - var(${$b.knobSize}) - ${Hb})`,[$b.knobColor]:Cb.valueTextColor,[$b.knobTextColor]:Cb.valueTextColor},_disabled:{[$b.knobColor]:Jb.colors.surface.light,[$b.trackBorderColor]:Jb.colors.surface.light,[$b.trackBackgroundColor]:Jb.colors.surface.main,[$b.labelTextColor]:Cb.labelTextColor,_checked:{[$b.knobColor]:Jb.colors.surface.light,[$b.trackBackgroundColor]:Jb.colors.surface.main}},_invalid:{[$b.trackBorderColor]:Jb.colors.error.main,[$b.knobColor]:Jb.colors.error.main}};var qb=Object.freeze({__proto__:null,default:_b,vars:$b});const Xb=Ce(qu),Kb=ao.cssVarList,[tN,eN,iN]=Ve({verticalAlignment:{start:{verticalAlignment:"start"},center:{verticalAlignment:"safe center"},end:{verticalAlignment:"end"}},horizontalAlignment:{start:{horizontalAlignment:"start"},center:{horizontalAlignment:"safe center"},end:{horizontalAlignment:"end"}},shadowColor:"#00000020"},ro),{shadowColor:oN}=eN,nN={...tN,[Kb.itemsGrow]:"0",[Kb.hostWidth]:"100%",[Kb.hostHeight]:"auto",[Kb.boxShadow]:"none",[Kb.backgroundColor]:Xb.colors.surface.main,[Kb.backgroundImage]:"",[Kb.backgroundPositionX]:"center",[Kb.backgroundPositionY]:"center",[Kb.backgroundSize]:"cover",[Kb.backgroundRepeat]:"no-repeat",[Kb.color]:Xb.colors.surface.contrast,[Kb.borderRadius]:"0px",[Kb.hostDirection]:Xb.direction,[Kb.borderStyle]:"none",[Kb.borderWidth]:"unset",[Kb.borderColor]:"unset",verticalPadding:{sm:{[Kb.verticalPadding]:"5px"},md:{[Kb.verticalPadding]:"10px"},lg:{[Kb.verticalPadding]:"20px"}},horizontalPadding:{sm:{[Kb.horizontalPadding]:"5px"},md:{[Kb.horizontalPadding]:"10px"},lg:{[Kb.horizontalPadding]:"20px"}},direction:{row:{[Kb.flexDirection]:"row",[Kb.alignItems]:eN.verticalAlignment,[Kb.justifyContent]:eN.horizontalAlignment,[Kb.flexWrap]:"wrap",horizontalAlignment:{spaceBetween:{[iN.horizontalAlignment]:"space-between"}}},column:{[Kb.flexDirection]:"column",[Kb.alignItems]:eN.horizontalAlignment,[Kb.justifyContent]:eN.verticalAlignment,verticalAlignment:{spaceBetween:{[iN.verticalAlignment]:"space-between"}}}},spaceBetween:{sm:{[Kb.gap]:"10px"},md:{[Kb.gap]:"20px"},lg:{[Kb.gap]:"30px"}},shadow:{sm:{[Kb.boxShadow]:`${Xb.shadow.wide.sm} ${oN}, ${Xb.shadow.narrow.sm} ${oN}`},md:{[Kb.boxShadow]:`${Xb.shadow.wide.md} ${oN}, ${Xb.shadow.narrow.md} ${oN}`},lg:{[Kb.boxShadow]:`${Xb.shadow.wide.lg} ${oN}, ${Xb.shadow.narrow.lg} ${oN}`},xl:{[Kb.boxShadow]:`${Xb.shadow.wide.xl} ${oN}, ${Xb.shadow.narrow.xl} ${oN}`},"2xl":{[iN.shadowColor]:"#00000050",[Kb.boxShadow]:`${Xb.shadow.wide["2xl"]} ${oN}`}},"&borderRadius":{sm:{[Kb.borderRadius]:Xb.radius.sm},md:{[Kb.borderRadius]:Xb.radius.md},lg:{[Kb.borderRadius]:Xb.radius.lg},xl:{[Kb.borderRadius]:Xb.radius.xl},"2xl":{[Kb.borderRadius]:Xb.radius["2xl"]},"3xl":{[Kb.borderRadius]:Xb.radius["3xl"]}}},rN={...Kb,...iN};var sN=Object.freeze({__proto__:null,default:nN,vars:rN});const aN=zr.cssVarList,lN={[aN.fallbackUrl]:"url(https://imgs.descope.com/components/no-logo-placeholder.svg)"};var dN=Object.freeze({__proto__:null,default:lN,vars:aN});const cN=Cr.cssVarList,uN={[cN.fallbackUrl]:"url(https://imgs.descope.com/components/totp-placeholder.svg)"};var pN=Object.freeze({__proto__:null,default:uN,vars:cN});const hN=Lr.cssVarList,gN={[hN.fallbackUrl]:"url(https://imgs.descope.com/components/notp-placeholder.svg)"};var MN=Object.freeze({__proto__:null,default:gN,vars:hN});const mN=Ce(qu),yN=Ir.cssVarList,[bN,NN,IN]=Ve({thickness:"2px",spacing:"10px"},hr),xN={...bN,[yN.hostDirection]:mN.direction,[yN.alignItems]:"center",[yN.flexDirection]:"row",[yN.alignSelf]:"stretch",[yN.hostWidth]:"100%",[yN.stripeColor]:mN.colors.surface.light,[yN.stripeColorOpacity]:"0.5",[yN.stripeHorizontalThickness]:NN.thickness,[yN.labelTextWidth]:"fit-content",[yN.labelTextMaxWidth]:"calc(100% - 100px)",[yN.labelTextHorizontalSpacing]:NN.spacing,[yN.textAlign]:"center",_vertical:{[yN.minHeight]:"200px",[yN.flexDirection]:"column",[yN.hostWidth]:"fit-content",[yN.hostPadding]:`0 calc(${NN.thickness} * 3)`,[yN.stripeVerticalThickness]:NN.thickness,[yN.labelTextWidth]:"fit-content",[yN.labelTextMaxWidth]:"100%",[yN.labelTextVerticalSpacing]:NN.spacing}},jN={...yN,...IN};var TN=Object.freeze({__proto__:null,default:xN,vars:jN});const DN=Kr.cssVarList,zN={[DN.hostDirection]:Cb.direction,[DN.fontFamily]:Cb.fontFamily,[DN.fontSize]:Cb.fontSize,[DN.labelTextColor]:Cb.labelTextColor,[DN.labelRequiredIndicator]:Cb.requiredIndicator,[DN.labelFontWeight]:Cb.labelFontWeight,[DN.errorMessageTextColor]:Cb.errorMessageTextColor,[DN.errorMessageFontWeight]:Cb.errorMessageFontWeight,[DN.digitValueTextColor]:Cb.valueTextColor,[DN.digitValueFontWeight]:Cb.inputValueFontWeight,[DN.digitPadding]:"0",[DN.digitTextAlign]:"center",[DN.digitSpacing]:"4px",[DN.hostWidth]:Cb.width,[DN.digitOutlineColor]:"transparent",[DN.digitOutlineWidth]:Cb.outlineWidth,[DN.focusedDigitFieldOutlineColor]:Cb.outlineColor,[DN.digitSize]:Cb.inputHeight,[DN.errorMessageIcon]:Cb.errorMessageIcon,[DN.errorMessageIconSize]:Cb.errorMessageIconSize,[DN.errorMessageIconPadding]:Cb.errorMessageIconPadding,[DN.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[DN.errorMessageIconPosition]:Cb.errorMessageIconPosition,[DN.errorMessageFontSize]:Cb.errorMessageFontSize,size:{xs:{[DN.spinnerSize]:"15px"},sm:{[DN.spinnerSize]:"20px"},md:{[DN.spinnerSize]:"20px"},lg:{[DN.spinnerSize]:"20px"}},_hideCursor:{[DN.digitCaretTextColor]:"transparent"},_loading:{[DN.overlayOpacity]:Cb.overlayOpacity}};var vN=Object.freeze({__proto__:null,default:zN,vars:DN});const CN=Ce(qu),SN=eo.cssVarList,LN={[SN.hostDisplay]:"inline-block",[SN.hostWidth]:"100%",[SN.barColor]:CN.colors.surface.contrast,[SN.barWidth]:"20%",[SN.barBackgroundColor]:CN.colors.surface.light,[SN.barBorderRadius]:"4px",[SN.animationDuration]:"2s",[SN.animationTimingFunction]:"linear",[SN.animationIterationCount]:"infinite",[SN.verticalPadding]:"0.25em",size:{xs:{[SN.barHeight]:"2px"},sm:{[SN.barHeight]:"4px"},md:{[SN.barHeight]:"6px"},lg:{[SN.barHeight]:"8px"}},mode:{primary:{[SN.barColor]:CN.colors.primary.main},secondary:{[SN.barColor]:CN.colors.secondary.main}},_hidden:{[SN.hostDisplay]:"none"}};var AN=Object.freeze({__proto__:null,default:LN,vars:SN});const wN=Ce(qu),fN=no.cssVarList,[EN,kN,ON]=Ve({spinnerColor:wN.colors.surface.contrast,mode:{primary:{spinnerColor:wN.colors.primary.main},secondary:{spinnerColor:wN.colors.secondary.main}}},io),VN={...EN,[fN.animationDuration]:"2s",[fN.animationTimingFunction]:"linear",[fN.animationIterationCount]:"infinite",[fN.spinnerBorderStyle]:"solid",[fN.spinnerBorderWidth]:"0.2em",[fN.spinnerBorderRadius]:"50%",[fN.spinnerQuadrant1Color]:kN.spinnerColor,[fN.spinnerQuadrant2Color]:"transparent",[fN.spinnerQuadrant3Color]:kN.spinnerColor,[fN.spinnerQuadrant4Color]:"transparent",size:{xs:{[fN.spinnerSize]:"20px"},sm:{[fN.spinnerSize]:"30px"},md:{[fN.spinnerSize]:"40px"},lg:{[fN.spinnerSize]:"60px"},xl:{[fN.spinnerSize]:"80px"}},_hidden:{[fN.hostDisplay]:"none"}},UN={...fN,...ON};var YN=Object.freeze({__proto__:null,default:VN,vars:UN});const WN=Fs.cssVarList,RN={[WN.hostWidth]:Cb.width,[WN.hostDirection]:Cb.direction,[WN.fontSize]:Cb.fontSize,[WN.fontFamily]:Cb.fontFamily,[WN.labelFontSize]:Cb.labelFontSize,[WN.labelFontWeight]:Cb.labelFontWeight,[WN.inputValueFontWeight]:Cb.inputValueFontWeight,[WN.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[WN.helperTextFontWeight]:Cb.helperTextFontWeight,[WN.errorMessageFontWeight]:Cb.errorMessageFontWeight,[WN.labelTextColor]:Cb.labelTextColor,[WN.labelRequiredIndicator]:Cb.requiredIndicator,[WN.errorMessageTextColor]:Cb.errorMessageTextColor,[WN.inputValueTextColor]:Cb.valueTextColor,[WN.inputPlaceholderTextColor]:Cb.placeholderTextColor,[WN.inputBorderStyle]:Cb.borderStyle,[WN.inputBorderWidth]:Cb.borderWidth,[WN.inputBorderColor]:Cb.borderColor,[WN.inputBorderRadius]:Cb.borderRadius,[WN.inputOutlineStyle]:Cb.outlineStyle,[WN.inputOutlineWidth]:Cb.outlineWidth,[WN.inputOutlineColor]:Cb.outlineColor,[WN.inputOutlineOffset]:Cb.outlineOffset,[WN.phoneInputWidth]:Cb.minWidth,[WN.countryCodeInputWidth]:"5em",[WN.countryCodeDropdownWidth]:"20em",[WN.marginInlineStart]:"-0.25em",[WN.valueInputHeight]:Cb.valueInputHeight,[WN.valueInputMarginBottom]:Cb.valueInputMarginBottom,[WN.errorMessageIcon]:Cb.errorMessageIcon,[WN.errorMessageIconSize]:Cb.errorMessageIconSize,[WN.errorMessageIconPadding]:Cb.errorMessageIconPadding,[WN.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[WN.errorMessageIconPosition]:Cb.errorMessageIconPosition,[WN.errorMessageFontSize]:Cb.errorMessageFontSize};var QN=Object.freeze({__proto__:null,default:RN,vars:WN});const PN=la.cssVarList,BN={[PN.hostWidth]:"16em",[PN.hostMinWidth]:Cb.minWidth,[PN.hostDirection]:Cb.direction,[PN.fontSize]:Cb.fontSize,[PN.fontFamily]:Cb.fontFamily,[PN.labelFontSize]:Cb.labelFontSize,[PN.labelFontWeight]:Cb.labelFontWeight,[PN.inputValueFontWeight]:Cb.inputValueFontWeight,[PN.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[PN.helperTextFontWeight]:Cb.helperTextFontWeight,[PN.errorMessageFontWeight]:Cb.errorMessageFontWeight,[PN.labelTextColor]:Cb.labelTextColor,[PN.labelRequiredIndicator]:Cb.requiredIndicator,[PN.errorMessageTextColor]:Cb.errorMessageTextColor,[PN.inputValueTextColor]:Cb.valueTextColor,[PN.inputPlaceholderTextColor]:Cb.placeholderTextColor,[PN.inputBorderStyle]:Cb.borderStyle,[PN.inputBorderWidth]:Cb.borderWidth,[PN.inputBorderColor]:Cb.borderColor,[PN.inputBorderRadius]:Cb.borderRadius,[PN.inputOutlineStyle]:Cb.outlineStyle,[PN.inputOutlineWidth]:Cb.outlineWidth,[PN.inputOutlineColor]:Cb.outlineColor,[PN.inputOutlineOffset]:Cb.outlineOffset,[PN.labelPosition]:Cb.labelPosition,[PN.labelTopPosition]:Cb.labelTopPosition,[PN.labelHorizontalPosition]:Cb.labelHorizontalPosition,[PN.inputTransformY]:Cb.inputTransformY,[PN.inputTransition]:Cb.inputTransition,[PN.marginInlineStart]:Cb.marginInlineStart,[PN.valueInputHeight]:Cb.valueInputHeight,[PN.valueInputMarginBottom]:Cb.valueInputMarginBottom,[PN.inputHorizontalPadding]:"0",[PN.errorMessageIcon]:Cb.errorMessageIcon,[PN.errorMessageIconSize]:Cb.errorMessageIconSize,[PN.errorMessageIconPadding]:Cb.errorMessageIconPadding,[PN.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[PN.errorMessageIconPosition]:Cb.errorMessageIconPosition,[PN.errorMessageFontSize]:Cb.errorMessageFontSize,_fullWidth:{[PN.hostWidth]:Cb.width}};var ZN=Object.freeze({__proto__:null,default:BN,vars:PN});const FN=Ce(qu),GN=Aa.cssVarList,HN={[GN.hostWidth]:Cb.width,[GN.hostMinWidth]:Cb.minWidth,[GN.hostDirection]:Cb.direction,[GN.fontSize]:Cb.fontSize,[GN.fontFamily]:Cb.fontFamily,[GN.labelFontSize]:Cb.labelFontSize,[GN.labelFontWeight]:Cb.labelFontWeight,[GN.inputValueFontWeight]:Cb.inputValueFontWeight,[GN.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[GN.helperTextFontWeight]:Cb.helperTextFontWeight,[GN.errorMessageFontWeight]:Cb.errorMessageFontWeight,[GN.labelTextColor]:Cb.labelTextColor,[GN.spaceBetweenInputs]:"1em",[GN.errorMessageTextColor]:Cb.errorMessageTextColor,[GN.policyPreviewBackgroundColor]:"none",[GN.policyPreviewPadding]:FN.spacing.lg,[GN.valueInputHeight]:Cb.valueInputHeight,[GN.errorMessageIcon]:Cb.errorMessageIcon,[GN.errorMessageIconSize]:Cb.errorMessageIconSize,[GN.errorMessageIconPadding]:Cb.errorMessageIconPadding,[GN.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[GN.errorMessageIconPosition]:Cb.errorMessageIconPosition,[GN.errorMessageFontSize]:Cb.errorMessageFontSize,_required:{[GN.inputsRequiredIndicator]:Cb.requiredIndicator}};var JN=Object.freeze({__proto__:null,default:HN,vars:GN});const $N=tl.cssVarList,_N={[$N.hostDirection]:Cb.direction,[$N.labelTextColor]:Cb.labelTextColor,[$N.fontFamily]:Cb.fontFamily,[$N.iconSize]:"2em",[$N.hostPadding]:"0.75em",[$N.gap]:"0.5em",[$N.fontSize]:"16px",[$N.titleFontWeight]:"500",[$N.lineHeight]:"1em",[$N.borderWidth]:Cb.borderWidth,[$N.borderColor]:Cb.borderColor,[$N.borderRadius]:Cb.borderRadius,[$N.borderStyle]:"dashed",_required:{[$N.requiredIndicator]:Cb.requiredIndicator},size:{xs:{[$N.hostHeight]:"196px",[$N.hostWidth]:"200px",[$N.titleFontSize]:"0.875em",[$N.descriptionFontSize]:"0.875em",[$N.lineHeight]:"1.25em"},sm:{[$N.hostHeight]:"216px",[$N.hostWidth]:"230px",[$N.titleFontSize]:"1em",[$N.descriptionFontSize]:"0.875em",[$N.lineHeight]:"1.25em"},md:{[$N.hostHeight]:"256px",[$N.hostWidth]:"312px",[$N.titleFontSize]:"1.125em",[$N.descriptionFontSize]:"1em",[$N.lineHeight]:"1.5em"},lg:{[$N.hostHeight]:"280px",[$N.hostWidth]:"336px",[$N.titleFontSize]:"1.125em",[$N.descriptionFontSize]:"1.125em",[$N.lineHeight]:"1.75em"}},_fullWidth:{[$N.hostWidth]:Cb.width}};var qN=Object.freeze({__proto__:null,default:_N,vars:$N});const XN=Ce(qu),KN=ml.cssVarList,tI={[KN.hostDirection]:"inherit",[KN.backgroundColor]:XN.colors.surface.main,[KN.labelTextColor]:XN.colors.surface.contrast,[KN.borderColor]:XN.colors.surface.light,[KN.borderStyle]:"solid",[KN.borderRadius]:XN.radius.sm,[KN.outlineColor]:"transparent",[KN.borderWidth]:XN.border.xs,_hover:{[KN.backgroundColor]:XN.colors.surface.highlight},_focused:{[KN.outlineColor]:XN.colors.surface.light},_selected:{[KN.borderColor]:XN.colors.surface.contrast,[KN.backgroundColor]:XN.colors.surface.contrast,[KN.labelTextColor]:XN.colors.surface.main}};var eI=Object.freeze({__proto__:null,default:tI,vars:KN});const iI=Ce(qu),oI=t=>({[t.hostDirection]:Cb.direction,[t.fontFamily]:Cb.fontFamily,[t.labelTextColor]:Cb.labelTextColor,[t.labelRequiredIndicator]:Cb.requiredIndicator,[t.itemsSpacing]:iI.spacing.sm,[t.hostWidth]:Cb.width,[t.errorMessageTextColor]:Cb.errorMessageTextColor,[t.errorMessageIcon]:Cb.errorMessageIcon,[t.errorMessageIconSize]:Cb.errorMessageIconSize,[t.errorMessageIconPadding]:Cb.errorMessageIconPadding,[t.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[t.errorMessageIconPosition]:Cb.errorMessageIconPosition,[t.errorMessageFontSize]:Cb.errorMessageFontSize}),nI=hl.cssVarList,rI={...oI(nI)};var sI=Object.freeze({__proto__:null,default:rI,vars:nI});const aI=Il.cssVarList,lI={...oI(aI)};var dI=Object.freeze({__proto__:null,default:lI,vars:aI});const cI=Ce(qu),uI=ic.cssVarList,pI={[uI.overlayBackgroundColor]:cI.colors.surface.main,[uI.overlayShadow]:cI.shadow.wide["2xl"],[uI.overlayWidth]:"540px",[uI.overlayBackdropColor]:"hsla(214, 53%, 23%, 0.16)"},hI={...uI};var gI=Object.freeze({__proto__:null,default:pI,vars:hI});const MI=Ce(qu),mI=Kd.cssVarList,yI={[mI.hostWidth]:"100%",[mI.hostHeight]:"100%",[mI.hostMinHeight]:"400px",[mI.fontWeight]:"400",[mI.backgroundColor]:MI.colors.surface.main,[mI.fontSize]:Cb.fontSize,[mI.fontFamily]:Cb.fontFamily,[mI.sortIndicatorsColor]:MI.colors.surface.light,[mI.activeSortIndicator]:MI.colors.surface.dark,[mI.resizeHandleColor]:MI.colors.surface.light,[mI.borderWidth]:Cb.borderWidth,[mI.borderStyle]:Cb.borderStyle,[mI.borderRadius]:Cb.borderRadius,[mI.borderColor]:"transparent",[mI.headerRowTextColor]:MI.colors.surface.dark,[mI.separatorColor]:MI.colors.surface.light,[mI.valueTextColor]:MI.colors.surface.contrast,[mI.selectedBackgroundColor]:MI.colors.surface.highlight,[mI.hostDirection]:MI.direction,[mI.toggleDetailsPanelButtonSize]:"1em",[mI.toggleDetailsPanelButtonOpenedColor]:MI.colors.surface.contrast,[mI.toggleDetailsPanelButtonClosedColor]:MI.colors.surface.light,[mI.toggleDetailsPanelButtonCursor]:"pointer",[mI.detailsPanelBackgroundColor]:MI.colors.surface.highlight,[mI.detailsPanelBorderTopColor]:MI.colors.surface.light,[mI.detailsPanelLabelsColor]:MI.colors.surface.dark,[mI.detailsPanelLabelsFontSize]:"0.8em",[mI.detailsPanelItemsGap]:"2em",[mI.detailsPanelPadding]:"12px 0",_bordered:{[mI.borderColor]:Cb.borderColor}};var bI=Object.freeze({__proto__:null,default:yI,grid:yI,vars:mI});const NI=Ce(qu),II=sc.cssVarList,xI="#00000020",jI={[II.hostMinWidth]:"415px",[II.fontFamily]:NI.fonts.font1.family,[II.fontSize]:NI.typography.body1.size,[II.backgroundColor]:NI.colors.surface.main,[II.textColor]:NI.colors.surface.contrast,[II.boxShadow]:`${NI.shadow.wide.xl} ${xI}, ${NI.shadow.narrow.xl} ${xI}`,[II.verticalPadding]:"0.625em",[II.horizontalPadding]:"1.5em",[II.borderRadius]:NI.radius.xs,_bordered:{[II.borderWidth]:NI.border.sm,[II.borderStyle]:"solid",[II.borderColor]:"transparent"},size:{xs:{[II.fontSize]:"12px"},sm:{[II.fontSize]:"14px"},md:{[II.fontSize]:"16px"},lg:{[II.fontSize]:"18px"}},mode:{primary:{[II.backgroundColor]:NI.colors.primary.main,[II.textColor]:NI.colors.primary.contrast,[II.borderColor]:NI.colors.primary.light},success:{[II.backgroundColor]:NI.colors.success.main,[II.textColor]:NI.colors.success.contrast,[II.borderColor]:NI.colors.success.light},error:{[II.backgroundColor]:NI.colors.error.main,[II.textColor]:NI.colors.error.contrast,[II.borderColor]:NI.colors.error.light}}};var TI=Object.freeze({__proto__:null,default:jI,vars:II});const DI=Ce(qu),zI=jc.cssVarList,vI={[zI.hostWidth]:Cb.width,[zI.hostDirection]:Cb.direction,[zI.fontSize]:Cb.fontSize,[zI.fontFamily]:Cb.fontFamily,[zI.separatorFontSize]:"14px",[zI.labelsFontSize]:"14px",[zI.labelsLineHeight]:"1",[zI.labelsMarginBottom]:"6px",[zI.labelTextColor]:Cb.labelTextColor,[zI.itemMarginBottom]:"1em",[zI.valueLabelMinWidth]:Cb.minWidth,[zI.attrLabelMinWidth]:`calc(12em + 2 * ${DI.border.xs})`,[zI.separatorWidth]:"70px",[zI.removeButtonWidth]:"60px"};var CI=Object.freeze({__proto__:null,default:vI,mappingsField:vI,vars:zI});const SI=Ce(qu),LI=Uc.cssVarList,AI={[LI.labelMinWidth]:"150px",[LI.hostDirection]:SI.direction,[LI.contentMinWidth]:`calc(100% - ${Oe(LI.labelMinWidth)} - ${Oe(LI.itemsGap)})`,[LI.badgeMaxWidth]:"85px",[LI.itemsGap]:"4px",[LI.hostMinWidth]:"310px",[LI.hostWidth]:"530px",[LI.hostMaxWidth]:"100%",[LI.iconColor]:"currentcolor",_fullWidth:{[LI.hostWidth]:"100%"}};var wI=Object.freeze({__proto__:null,default:AI,vars:LI});const fI=Ce(qu),EI=Gc.cssVarList,kI={[EI.hostDirection]:fI.direction,[EI.itemsGap]:"16px",[EI.hostMinWidth]:"310px",[EI.hostWidth]:"530px",[EI.hostMaxWidth]:"100%",[EI.iconSize]:"24px",[EI.iconColor]:"currentcolor",_fullWidth:{[EI.hostWidth]:"100%"}};var OI=Object.freeze({__proto__:null,default:kI,vars:EI});const VI=Kc.cssVarList,UI={[VI.hostWidth]:Cb.width,[VI.hostDirection]:Cb.direction,[VI.groupNameInputMarginBottom]:"1em",[VI.errorMessageIcon]:Cb.errorMessageIcon,[VI.errorMessageIconSize]:Cb.errorMessageIconSize,[VI.errorMessageIconPadding]:Cb.errorMessageIconPadding,[VI.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[VI.errorMessageIconPosition]:Cb.errorMessageIconPosition,[VI.errorMessageFontSize]:Cb.errorMessageFontSize};var YI=Object.freeze({__proto__:null,default:UI,samlGroupMappings:UI,vars:VI});const WI=Ce(qu),RI=Ia.cssVarList,QI={[RI.fontFamily]:Cb.fontFamily,[RI.fontSize]:Cb.labelFontSize,[RI.textColor]:Cb.labelTextColor,[RI.borderWidth]:Cb.borderWidth,[RI.borderStyle]:Cb.borderStyle,[RI.borderColor]:Cb.borderColor,[RI.borderRadius]:WI.radius.sm,[RI.backgroundColor]:"none",[RI.padding]:"0px",[RI.labelMargin]:WI.spacing.sm,[RI.itemsSpacing]:WI.spacing.lg,[RI.itemSymbolDefault]:"'\\2022'",[RI.itemSymbolSuccess]:"'\\2713'",[RI.itemSymbolError]:"'\\2A09'",[RI.itemSymbolSuccessColor]:WI.colors.success.main,[RI.itemSymbolErrorColor]:WI.colors.error.main};var PI=Object.freeze({__proto__:null,default:QI,vars:RI});const BI=Ce(qu),ZI=Cd.cssVarList,FI="#d73a49",GI="#6f42c1",HI="#005cc5",JI="#e36209",$I="#6a737d",_I="#22863a",qI="#24292e",XI="#f0fff4",KI="#032f62",tx="#ff7b72",ex="#d2a8ff",ix="#79c0ff",ox="#ffa657",nx="#8b949e",rx="#7ee787",sx="#c9d1d9",ax="#f0fff4",lx="#a5d6ff",dx={[ZI.copyButtonSize]:"32px",[ZI.copyButtonBorderRadius]:BI.radius.xs,[ZI.copyButtonBorderWidth]:BI.border.xs,[ZI.copyButtonBorderColor]:BI.colors.surface.light,[ZI.copyButtonBgColor]:BI.colors.surface.highlight,[ZI.copyButtonHoverBgColor]:BI.colors.surface.light,[ZI.copyButtonColor]:BI.colors.surface.contrast,[ZI.rootBgColor]:BI.colors.surface.main,[ZI.rootTextColor]:BI.colors.surface.contrast,[ZI.docTagTextColor]:FI,[ZI.keywordTextColor]:FI,[ZI.metaKeywordTextColor]:FI,[ZI.templateTagTextColor]:FI,[ZI.templateVariableTextColor]:FI,[ZI.typeTextColor]:FI,[ZI.variableLanguageTextColor]:FI,[ZI.titleTextColor]:GI,[ZI.titleClassTextColor]:GI,[ZI.titleClassInheritedTextColor]:GI,[ZI.titleFunctionTextColor]:GI,[ZI.attrTextColor]:HI,[ZI.attributeTextColor]:HI,[ZI.literalTextColor]:HI,[ZI.metaTextColor]:HI,[ZI.numberTextColor]:HI,[ZI.operatorTextColor]:HI,[ZI.variableTextColor]:HI,[ZI.selectorAttrTextColor]:HI,[ZI.selectorClassTextColor]:HI,[ZI.selectorIdTextColor]:HI,[ZI.regexpTextColor]:KI,[ZI.stringTextColor]:KI,[ZI.metaStringTextColor]:KI,[ZI.builtInTextColor]:JI,[ZI.symbolTextColor]:JI,[ZI.commentTextColor]:$I,[ZI.codeTextColor]:$I,[ZI.formulaTextColor]:$I,[ZI.nameTextColor]:_I,[ZI.quoteTextColor]:_I,[ZI.selectorTagTextColor]:_I,[ZI.selectorPseudoTextColor]:_I,[ZI.substTextColor]:qI,[ZI.sectionTextColor]:HI,[ZI.bulletTextColor]:"#735c0f",[ZI.emphasisTextColor]:qI,[ZI.strongTextColor]:qI,[ZI.additionTextColor]:_I,[ZI.additionBgColor]:XI,[ZI.deletionTextColor]:FI,[ZI.deletionBgColor]:XI},cx={codeSnippet:{[ZI.rootBgColor]:BI.colors.surface.main,[ZI.rootTextColor]:BI.colors.surface.contrast,[ZI.docTagTextColor]:tx,[ZI.keywordTextColor]:tx,[ZI.metaKeywordTextColor]:tx,[ZI.templateTagTextColor]:tx,[ZI.templateVariableTextColor]:tx,[ZI.typeTextColor]:tx,[ZI.variableLanguageTextColor]:tx,[ZI.titleTextColor]:ex,[ZI.titleClassTextColor]:ex,[ZI.titleClassInheritedTextColor]:ex,[ZI.titleFunctionTextColor]:ex,[ZI.attrTextColor]:ix,[ZI.attributeTextColor]:ix,[ZI.literalTextColor]:ix,[ZI.metaTextColor]:ix,[ZI.numberTextColor]:ix,[ZI.operatorTextColor]:ix,[ZI.variableTextColor]:ix,[ZI.selectorAttrTextColor]:ix,[ZI.selectorClassTextColor]:ix,[ZI.selectorIdTextColor]:ix,[ZI.regexpTextColor]:lx,[ZI.stringTextColor]:lx,[ZI.metaStringTextColor]:lx,[ZI.builtInTextColor]:ox,[ZI.symbolTextColor]:ox,[ZI.commentTextColor]:nx,[ZI.codeTextColor]:nx,[ZI.formulaTextColor]:nx,[ZI.nameTextColor]:rx,[ZI.quoteTextColor]:rx,[ZI.selectorTagTextColor]:rx,[ZI.selectorPseudoTextColor]:rx,[ZI.substTextColor]:sx,[ZI.sectionTextColor]:ix,[ZI.bulletTextColor]:"#735c0f",[ZI.emphasisTextColor]:sx,[ZI.strongTextColor]:sx,[ZI.additionTextColor]:rx,[ZI.additionBgColor]:ax,[ZI.deletionTextColor]:tx,[ZI.deletionBgColor]:ax}};var ux=Object.freeze({__proto__:null,codeSnippetDarkThemeOverrides:cx,default:dx,vars:ZI});const px=ou.cssVarList,hx=Ce(qu),gx={[px.buttonsRowGap]:"9px",[px.hostWidth]:Cb.width,[px.hostDirection]:Cb.direction,[px.fontSize]:Cb.fontSize,[px.fontFamily]:Cb.fontFamily,[px.labelTextColor]:Cb.labelTextColor,[px.labelRequiredIndicator]:Cb.requiredIndicator,[px.errorMessageTextColor]:Cb.errorMessageTextColor,[px.errorMessageIcon]:Cb.errorMessageIcon,[px.errorMessageIconSize]:Cb.errorMessageIconSize,[px.errorMessageIconPadding]:Cb.errorMessageIconPadding,[px.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[px.errorMessageIconPosition]:Cb.errorMessageIconPosition,[px.errorMessageFontSize]:Cb.errorMessageFontSize,[px.helperTextColor]:Cb.helperTextColor,[px.itemsLabelColor]:hx.colors.surface.contrast,textAlign:{right:{[px.inputTextAlign]:"right"},left:{[px.inputTextAlign]:"left"},center:{[px.inputTextAlign]:"center"}},_fullWidth:{[px.buttonsSpacing]:"space-between"},_disabled:{[px.itemsLabelColor]:hx.colors.surface.light}};var Mx=Object.freeze({__proto__:null,default:gx,radioGroup:gx,vars:px});const mx=eu.cssVarList,yx=Ce(qu),bx={[mx.fontFamily]:Cb.fontFamily,[mx.radioSize]:"calc(1em + 6px)",[mx.radioMargin]:"auto 4px",[mx.radioCheckedSize]:`calc(var(${mx.radioSize})/5)`,[mx.radioCheckedColor]:yx.colors.surface.light,[mx.radioBackgroundColor]:yx.colors.surface.light,[mx.radioBorderColor]:"none",[mx.radioBorderWidth]:0,_checked:{[mx.radioBackgroundColor]:yx.colors.surface.contrast},_hover:{cursor:"pointer"},size:{xs:{[mx.fontSize]:"12px"},sm:{[mx.fontSize]:"14px"},md:{[mx.fontSize]:"16px"},lg:{[mx.fontSize]:"18px"}}};var Nx=Object.freeze({__proto__:null,default:bx,radioButton:bx,vars:mx});const Ix=Ce(qu),xx=fn.cssVarList,jx={[xx.fontFamily]:Cb.fontFamily,[xx.fontSize]:Cb.fontSize,[xx.hostDirection]:Cb.direction,[xx.calendarPadding]:"1em",[xx.topNavVerticalPadding]:"1em",[xx.topNavAlignment]:"space-between",[xx.topNavGap]:"0",[xx.topNavSelectorsGap]:"0.5em",[xx.bottomNavVerticalPadding]:"0.75em",[xx.bottomNavHorizontalPadding]:"1.5em",[xx.bottomNavAlignment]:"space-between",[xx.bottomNavGap]:"0.5em",[xx.navMarginBottom]:"0.75em",[xx.navBorderBottomWidth]:"1px",[xx.navBorderBottomColor]:Ix.colors.surface.highlight,[xx.navBorderBottomStyle]:"solid",[xx.yearInputWidth]:"6em",[xx.monthInputWidth]:"8em",[xx.navButtonSize]:"24px",[xx.navButtonCursor]:"pointer",[xx.weekdayFontSize]:"0.875em",[xx.weekdayFontWeight]:"500",[xx.dayHeight]:"3.125em",[xx.daySize]:"2.125em",[xx.dayFontSize]:"1em",[xx.dayRadius]:"50%",[xx.dayTextAlign]:"center",[xx.dayPadding]:"0",[xx.dayTextColor]:Ix.colors.surface.contrast,[xx.dayFontWeight]:"500",[xx.dayBackgroundColor]:"transparent",[xx.dayCursor]:"pointer",[xx.dayBackgroundColorHover]:Ix.colors.primary.highlight,[xx.daySelectedBackgroundColor]:Ix.colors.primary.main,[xx.daySelectedTextdColor]:Ix.colors.primary.contrast,[xx.dayDisabledTextdColor]:Ix.colors.surface.light,[xx.currentDayBorderColor]:Ix.colors.surface.light,[xx.currentDayBorderWidth]:"1px",[xx.currentDayBorderStyle]:"solid",size:{xs:{[xx.fontSize]:"12px"},sm:{[xx.fontSize]:"14px"},md:{[xx.fontSize]:"16px"},lg:{[xx.fontSize]:"18px"}},[xx.navButtonRotation]:"rotate(180deg)",_disabled:{[xx.navButtonOpacity]:"0.5",[xx.dayBackgroundColorHover]:"none",[xx.navButtonCursor]:"default",[xx.dayCursor]:"default"},_fullWidth:{[xx.hostWidth]:"100%",[xx.dayBlockAlign]:"0 auto"}};var Tx=Object.freeze({__proto__:null,default:jx,vars:xx});const Dx=Ce(qu),zx="#00000020",{shadow:vx}=Dx,Cx=pr.cssVarList,Sx={[Cx.hostWidth]:Cb.width,[Cx.hostDirection]:Cb.direction,[Cx.iconMargin]:"0.375em",[Cx.overlay.marginTop]:`calc(${Cb.outlineWidth} + 1px)`,[Cx.overlay.backgroundColor]:Cb.backgroundColor,[Cx.overlay.backdropBackgroundColor]:"transparent",[Cx.overlay.backdropPointerEvents]:"all",[Cx.overlay.boxShadow]:`${vx.wide.xl} ${zx}, ${vx.narrow.xl} ${zx}`,[Cx.overlay.outlineWidth]:"0",[Cx.overlay.outlineColor]:"transparent",[Cx.overlay.outlineStyle]:"none",[Cx.overlay.padding]:"0",[Cx.rtlInputDirection]:"ltr",[Cx.rtlInputAlignment]:"right",[Cx.errorMessageIcon]:Cb.errorMessageIcon,[Cx.errorMessageIconSize]:Cb.errorMessageIconSize,[Cx.errorMessageIconPadding]:Cb.errorMessageIconPadding,[Cx.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[Cx.errorMessageIconPosition]:Cb.errorMessageIconPosition,[Cx.errorMessageFontSize]:Cb.errorMessageFontSize,[Cx.labelFontWeight]:Cb.labelFontWeight,[Cx.inputValueFontWeight]:Cb.inputValueFontWeight,[Cx.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[Cx.helperTextFontWeight]:Cb.helperTextFontWeight,[Cx.errorMessageFontWeight]:Cb.errorMessageFontWeight};var Lx=Object.freeze({__proto__:null,default:Sx,vars:Cx});const Ax=du.cssVarList,wx={[Ax.requiredInputBorderColor]:vb._disabled[Sb.borderColor],[Ax.requiredInputValueTextColor]:vb._disabled[Sb.valueTextColor],[Ax.hostWidth]:"280px",_fullWidth:{[Ax.hostWidth]:"100%"}};var fx=Object.freeze({__proto__:null,default:wx,vars:Ax});const Ex=Ce(qu),kx=Nu.cssVarList,Ox={[kx.gap]:Ex.spacing.lg,[kx.arrowsColor]:Ex.colors.surface.dark,[kx.thirdPartyAppLogoFallback]:"url(https://imgs.descope.com/components/third-party-app-logo-placeholder.svg)",[kx.companyLogoFallback]:"url(https://imgs.descope.com/components/project-logo-placeholder.svg)",size:{xs:{[kx.logoMaxHeight]:"30px",[kx.logoMaxWidth]:"120px"},sm:{[kx.logoMaxHeight]:"40px",[kx.logoMaxWidth]:"160px"},md:{[kx.logoMaxHeight]:"48px",[kx.logoMaxWidth]:"200px"},lg:{[kx.logoMaxHeight]:"60px",[kx.logoMaxWidth]:"240px"}}};var Vx=Object.freeze({__proto__:null,default:Ox,vars:kx});const Ux=Du.cssVarList,Yx={[Ux.hostWidth]:"fit-content",_fullWidth:{[Ux.hostWidth]:"100%"}};var Wx=Object.freeze({__proto__:null,default:Yx,vars:Ux});const Rx=fu.cssVarList,Qx={[Rx.hostWidth]:"min-content",[Rx.questionCursor]:"pointer",_fullWidth:{[Rx.hostWidth]:"100%"},[Rx.questionFontSize]:Cb.fontSize,[Rx.questionFontFamily]:Cb.fontFamily};var Px=Object.freeze({__proto__:null,default:Qx,vars:Rx});const Bx=Wu.cssVarList,Zx={[Bx.hostDirection]:Cb.direction,[Bx.labelFontWeight]:Cb.labelFontWeight,[Bx.inputValueFontWeight]:Cb.inputValueFontWeight,[Bx.inputPlaceholderFontWeight]:Cb.inputPlaceholderFontWeight,[Bx.helperTextFontWeight]:Cb.helperTextFontWeight,[Bx.errorMessageFontWeight]:Cb.errorMessageFontWeight,[Bx.errorMessageIcon]:Cb.errorMessageIcon,[Bx.errorMessageIconSize]:Cb.errorMessageIconSize,[Bx.errorMessageIconPadding]:Cb.errorMessageIconPadding,[Bx.errorMessageIconRepeat]:Cb.errorMessageIconRepeat,[Bx.errorMessageIconPosition]:Cb.errorMessageIconPosition,[Bx.errorMessageFontSize]:Cb.errorMessageFontSize,_fullWidth:{[Bx.hostWidth]:"100%"}};var Fx=Object.freeze({__proto__:null,default:Zx,vars:Bx});const Gx=Ce(qu),Hx=Bu.cssVarList,Jx={[Hx.hostDirection]:Gx.direction,[Hx.backgroundColor]:"transparent",[Hx.iconSize]:"1.35em",[Hx.alignItems]:"center",[Hx.borderRadius]:Gx.radius.md,[Hx.horizontalPadding]:"0",[Hx.verticalPadding]:"0",[Hx.gap]:"0.5em",[Hx.fontSize]:Oe(gp.fontSize),mode:{error:{[Hx.textColor]:Gx.colors.error.main,_bordered:{[Hx.borderColor]:Gx.colors.error.main}},success:{[Hx.textColor]:Gx.colors.success.main,_bordered:{[Hx.borderColor]:Gx.colors.success.main}}},spacing:{xs:{[Hx.horizontalPadding]:Gx.spacing.xs,[Hx.verticalPadding]:Gx.spacing.xs},sm:{[Hx.horizontalPadding]:Gx.spacing.sm,[Hx.verticalPadding]:Gx.spacing.sm},md:{[Hx.horizontalPadding]:Gx.spacing.md,[Hx.verticalPadding]:Gx.spacing.md},lg:{[Hx.horizontalPadding]:Gx.spacing.lg,[Hx.verticalPadding]:Gx.spacing.lg},xl:{[Hx.horizontalPadding]:Gx.spacing.xl,[Hx.verticalPadding]:Gx.spacing.xl}},textAlign:{left:{[Hx.justifyContent]:"left"},center:{[Hx.justifyContent]:"center"},right:{[Hx.justifyContent]:"right"}},_bordered:{[Hx.borderWidth]:Gx.border.xs,[Hx.borderColor]:"transparent",[Hx.borderStyle]:"solid",[Hx.borderWidth]:Gx.border.xs,[Hx.borderRadius]:Gx.radius.sm},_fullWidth:{[Hx.hostWidth]:"100%"}};var $x=Object.freeze({__proto__:null,default:Jx,vars:Hx});const _x=Hu.cssVarList,qx={enabled:{false:{[_x.maxHeight]:"70px"}}},Xx={button:pp,textField:wy,password:Eb,numberField:Vb,emailField:Wb,textArea:Pb,checkbox:Gb,switchToggle:qb,container:sN,logo:dN,totpImage:pN,notpImage:MN,text:mp,enrichedText:Dp,link:Ip,divider:TN,passcode:vN,loaderRadial:YN,loaderLinear:AN,comboBox:fp,phoneField:QN,phoneInputBoxField:ZN,newPassword:JN,inputWrapper:Lb,uploadFile:qN,buttonSelectionGroupItem:eI,buttonSelectionGroup:sI,buttonMultiSelectionGroup:dI,modal:gI,grid:bI,notificationCard:TI,multiSelectComboBox:tg,badge:Wp,avatar:_p,mappingsField:CI,userAttribute:wI,userAuthMethod:OI,samlGroupMappings:YI,policyValidation:PI,image:th,icon:Xp,codeSnippet:ux,radioGroup:Mx,radioButton:Nx,calendar:Tx,dateField:Lx,monthDayField:db,monthDayFieldPicker:Tb,list:mh,listItem:Ih,multiLineMappings:_h,appsList:ah,scopesList:fx,thirdPartyAppLogo:Vx,securityQuestionsSetup:Wx,securityQuestionsVerify:Px,hybridField:Fx,alert:$x,autocompleteField:ug,addressField:Cg,countrySubdivisionCityField:oy,timer:Wg,timerButton:eM,passwordStrength:gM,collapsibleContainer:CM,recoveryCodes:OM,hcaptcha:Object.freeze({__proto__:null,default:qx,vars:_x}),outboundApps:BM,outboundAppButton:_M,trustedDevices:sm,multiSso:Mm,tooltip:Am,attachment:hy,userPasskeys:Cy},Kx=Object.keys(Xx).reduce((t,e)=>({...t,[e]:Xx[e].default}),{}),tj=Object.keys(Xx).reduce((t,e)=>({...t,[e]:Xx[e].vars}),{}),ej={globals:qu,components:Kx},ij={globals:Xu,components:tj},oj=a()({},ej,{globals:{colors:{surface:{main:"#181a1c",dark:"#bec4ca",light:"#555f68",highlight:"#22262a",contrast:"#f5f6f7"},primary:{main:"#1f80ff",dark:"#71aeff",light:"#004094",highlight:"#00214d",contrast:"#000000"},secondary:{main:"#a665eb",dark:"#b9a0f3",light:"#683ae6",highlight:"#361299",contrast:"#000000"},success:{main:"#27963c",dark:"#8bc3a2",light:"#004d0f",highlight:"#001f00",contrast:"#000000"},error:{main:"#f85249",dark:"#fa7c75",light:"#c51107",highlight:"#4a0603",contrast:"#000000"},warning:{main:"#EF7A33",dark:"#FF985A",light:"#FF6304",highlight:"#C45512",contrast:"#000000"}}},components:{...cx}});customElements.define(eg,class extends ig{static get observedAttributes(){return[].concat(ig.observedAttributes||[],og)}get allowCustomValue(){return"true"===this.getAttribute("allow-custom-value")}get minSearchLength(){return this.getAttribute("min-search-length")||3}get noResultsFoundMessage(){return this.getAttribute("no-results-message")||"No results found"}get errorFetchingResultsMessage(){return this.getAttribute("error-fetching-results-message")||"An error occurred fetching results"}constructor(){super(),this.innerHTML='\n <div class="autocomplete-field">\n <descope-combo-box clear-button-visible="true" auto-open-disabled="true" has-dynamic-data="true" item-label-path="data-name" item-value-path="data-id" hide-toggle-button="true"></descope-combo-box>\n </div>\n ',this.comboBox=this.querySelector("descope-combo-box")}get value(){return this.comboBox.value}set value(t){this.allowCustomValue?this.comboBox.value=t:(this.comboBox.data=[{label:t,value:t}],setTimeout(()=>{this.comboBox.value=t}))}get defaultValue(){return this.getAttribute("default-value")}async#Tn(t){const{results:e,error:i}=await this.fetchResults(t);return i?{error:i}:{results:e}}#Dn(t,e,i,o){return`<span data-name="${i}" data-id="${e}" ${o?'disabled="true"':""}>${t||i}</span>`}#zn(){this.comboBox.renderer=(t,e,i)=>{"true"===i.item.getAttribute("disabled")?t.setAttribute("disabled","true"):t.removeAttribute("disabled"),t.innerHTML=i.item.outerHTML},this.comboBox.renderItem=({displayName:t,value:e,label:i,disabled:o})=>this.#Dn(t,e,i,o)}focus(){this.comboBox.focus()}init(){this.addEventListener("focus",t=>{t.isTrusted&&this.comboBox.focus()}),super.init?.(),this.#vn(),S(this,this.comboBox,{includeAttrs:["invalid"]})}#vn(){this.debouncedSearch=(t=>{let e=0;const i=new Set,o=new Set,n=r()((n,r)=>{t(...n).then(t=>{r===e&&(i.forEach(e=>e(t)),i.clear())}).catch(t=>{o.forEach(e=>e(t)),o.clear()})},250);return(...t)=>(e++,new Promise((r,s)=>{i.add(r),o.add(s),n(t,e)}))})(async t=>{try{const{results:e,error:i}=await this.#Tn(t);return{results:e,error:i,value:t}}catch(e){return{error:e,value:t}}}),w(this,this.comboBox,{includeAttrs:["size","bordered","label","label-type","placeholder","disabled","readonly","required","full-width","helper-text","invalid","error-message","data-errormessage-value-missing","st-host-direction","allow-custom-value","st-error-message-icon","st-error-message-icon-size","st-error-message-icon-padding"]}),this.comboBox.addEventListener("filter-changed",this.onSearch.bind(this)),this.#zn()}#Cn(){return[{label:this.noResultsFoundMessage,value:ng,disabled:!0}]}#Sn(){return[{label:this.errorFetchingResultsMessage,value:ng,disabled:!0}]}async onSearch(t){const e=t.detail.value;if(!e||e.length<this.minSearchLength)return;this.comboBox.loading=!0,this.comboBox.setAttribute("opened","true");const i=await this.debouncedSearch(e);i&&i.value===e&&(this.comboBox.loading=!1,i.error?this.comboBox.data=this.#Sn():0===i.results?.length?this.comboBox.data=this.#Cn():this.comboBox.data=i.results||[])}fetchResults(t){return console.warn("fetchResults","needs to be implemented"),{results:[],error:void 0}}getValidity(){return this.isRequired&&!this.value?{valueMissing:!0}:{valid:!0}}}),customElements.define(rg,ag),customElements.define(gg,xg),customElements.define(jg,Dg);const nj=L("anchored");class rj extends(bt({componentName:nj,baseSelector:".anchored-root"})){#Ln=null;#An=null;#wn=null;#fn=null;get#En(){return this.defaultSlot.assignedElements({flatten:!0})[0]}get#kn(){return this.shadowRoot.querySelector('slot[name="anchored"]')?.assignedElements()[0]}get#On(){return this.getRootNode().host}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="anchored-root" part="root">\n <slot></slot>\n <div class="anchored-host" part="anchored">\n <slot name="anchored"></slot>\n </div>\n </div>\n ',this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])")}init(){super.init?.(),f("\n :host {\n display: inline-flex;\n position: relative;\n box-sizing: border-box;\n }\n\n :host(:not([has-anchor])) {\n display: none;\n }\n\n .anchored-root {\n position: relative;\n display: flex;\n width: 100%;\n min-width: 0;\n }\n\n /* Make anchor fill the flex row and allow it to shrink. */\n ::slotted(*:not([slot])) {\n flex-grow: 1; /* fill the flex row */\n flex-shrink: 1; /* compress when constrained */\n flex-basis: auto; /* start from the anchor's natural size */\n min-width: 0; /* flex items won't shrink below content size without this */\n }\n\n /* Anchored container covers the anchor but is invisible to pointer events. */\n .anchored-host {\n position: absolute;\n inset: 0;\n pointer-events: none;\n }\n\n /* Restore interactivity for actual anchored content. */\n ::slotted([slot=\"anchored\"]) {\n pointer-events: auto;\n }\n ",this),this.#Vn(),this.defaultSlot.addEventListener("slotchange",()=>this.#Un()),this.#Un()}#ci(){const t=this.#En?.classList?.contains("hidden");this.classList.toggle("hidden",t)}#Un(){this.#Yn(),this.#Ln=this.#Wn(this.#Ln,this.#On,"stretch"),this.#An=this.#Wn(this.#An,this.#kn,"st-host-direction"),this.#Rn()}#Rn(){this.#fn?.disconnect(),this.#En&&(this.#fn=z(this.#En,()=>this.#ci(),{includeAttrs:["class"]}))}connectedCallback(){super.connectedCallback?.(),this.#Rn(),this.#ci()}#Vn(){const t="\n descope-anchored {\n width: 100%; /* fill the outer host so the anchored element spans the full anchor width */\n }\n :host([stretch]) {\n display: inline-flex; /* switch from inline-block so internal children are flex items */\n width: 100%; /* fill non-flex parents */\n flex-grow: 1; /* absorb extra space in flex parents */\n flex-shrink: 0; /* hold full width — shrink:1 would let siblings squeeze it below 100% */\n flex-basis: auto; /* defer to width:100% on the main axis; avoids forcing 100% height in column-flex parents */\n min-width: 0; /* prevent overflow when the outer host is itself inside a constrained flex row */\n }\n ";this.#wn?this.#wn.replaceSync(t):this.#On&&(this.#wn=f(t,this.#On))}#Wn(t,e,i){return t?.disconnect(),e?.removeAttribute(i),this.#En&&e?w(this.#En,e,{includeAttrs:[i]}):null}disconnectedCallback(){super.disconnectedCallback?.(),this.#Ln?.disconnect(),this.#An?.disconnect(),this.#fn?.disconnect()}#Yn(){this.toggleAttribute("has-anchor",!!this.#En),this.#ci()}}const sj=T(ht)(rj);customElements.define(nj,sj),customElements.define(Rp,Fp),customElements.define(eh,ih),customElements.define(ny,dy),customElements.define(MM,bM),customElements.define(Um,$m),customElements.define(_m,ty),customElements.define(pb,Ib),customElements.define(By,ob),customElements.define(xh,Vh),customElements.define(Uh,Hh),customElements.define(am,um),customElements.define(ZM,GM),customElements.define(VM,RM),customElements.define(iM,dM);var aj=Object.freeze({__proto__:null,PasswordStrengthClass:dM,componentName:iM});const lj=L("ponyhot"),dj="dhp-",cj=bt({componentName:lj,baseSelector:""}),uj=T(ht)(class extends cj{get type(){return this.getAttribute("type")}get value(){return this.input?.value||""}init(){this.input=this.querySelector("input"),this.input&&(this.#Qn(),this.#Pn(),this.#Bn())}#Qn(){const t=["input","change","click","keydown","keyup","mouseover","mousedown"],e=i=>{this.input.value=`${dj}${i.type}`,t.forEach(t=>{this.input.removeEventListener(t,e)})};t.forEach(t=>{this.input.addEventListener(t,e)})}#Pn(){const t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");Object.defineProperty(this.input,"value",{get(){return t.get.call(this)},set(e){const i=t.get.call(this);e&&!e.startsWith(dj)&&e!==i?t.set.call(this,`${dj}direct-set`):t.set.call(this,e)},configurable:!0})}#Bn(){Object.entries({position:"absolute",opacity:"0.01",width:"1px",height:"1px",pointerEvents:"none",zIndex:"-1",left:"-999999px"}).forEach(([t,e])=>{this.style[t]=e})}});customElements.define(lj,uj),customElements.define(SM,AM),customElements.define(Lg,Og),customElements.define(Rg,qg),customElements.define(mm,xm),customElements.define(KM,om),customElements.define(by,Dy);const pj={translations:N.A,graphs:y.K,dictionary:{...y.z,...b.z}};m.u2.setOptions(pj);var hj=Object.freeze({__proto__:null,default:m.K1,options:pj})}}]);
|
|
2
2
|
//# sourceMappingURL=222.js.map
|