@descope/web-components-ui 2.1.16 → 2.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +229 -135
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +112 -18
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/8961.js +1 -1
- package/dist/umd/8961.js.map +1 -1
- package/dist/umd/9365.js +1 -1
- package/dist/umd/9365.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-apps-list.js +2 -2
- package/dist/umd/descope-apps-list.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +28 -28
- package/src/mixins/createStyleMixin/helpers.js +15 -2
- package/src/mixins/createStyleMixin/index.js +2 -2
package/dist/umd/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DescopeUI=t():e.DescopeUI=t()}(self,()=>(()=>{var e,t,n,r={3047:(e,t,n)=>{"use strict";n.d(t,{$m:()=>r,IM:()=>s,WJ:()=>i,aE:()=>o});const r="descope",o=5,s="host",i="@"},4097:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=new class{static mountOnPropName="DescopeThemeManager";#e={};#t="light";#n=new Set;#r(){this.#n.forEach(e=>e?.())}get currentThemeName(){return this.#t}set currentThemeName(e){this.#t=e,this.#r()}get currentTheme(){return this.#e[this.currentThemeName]}onCurrentThemeChange(e){return this.#n.add(e),()=>{this.#n.delete(e)}}set themes(e){this.#e=e,this.#r()}get hasThemes(){return!!Object.keys(this.#e).length}}},9696:(e,t,n)=>{"use strict";n.d(t,{AG:()=>l,GL:()=>o,Tn:()=>a,Zz:()=>i,dk:()=>s,gU:()=>c,kW:()=>r,wy:()=>u});const r=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),o=(...e)=>r(e.filter(e=>!!e).join("-")),s=(...e)=>e.filter(Boolean).map((e,t)=>{return 0===t?e:(n=e).charAt(0).toUpperCase()+n.slice(1);var n}).join(""),i=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),a=e=>"function"==typeof e,c=e=>{try{return new URL(e),!0}catch(e){return!1}},l=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!==t.length)return!1;const n=e.slice().sort(),r=t.slice().sort();for(let e=0;e<n.length;e++)if(n[e]!==r[e])return!1;return!0},u=e=>e.replace(/([A-Z])/g," $1").trim().split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")},16295:(e,t,n)=>{const r=n(95256),o={};for(const e of Object.keys(r))o[r[e]]=e;const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=s;for(const e of Object.keys(s)){if(!("channels"in s[e]))throw new Error("missing channels property: "+e);if(!("labels"in s[e]))throw new Error("missing channel labels property: "+e);if(s[e].labels.length!==s[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=s[e];delete s[e].channels,delete s[e].labels,Object.defineProperty(s[e],"channels",{value:t}),Object.defineProperty(s[e],"labels",{value:n})}function i(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}s.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),s=Math.max(t,n,r),i=s-o;let a,c;s===o?a=0:t===s?a=(n-r)/i:n===s?a=2+(r-t)/i:r===s&&(a=4+(t-n)/i),a=Math.min(60*a,360),a<0&&(a+=360);const l=(o+s)/2;return c=s===o?0:l<=.5?i/(s+o):i/(2-s-o),[a,100*c,100*l]},s.rgb.hsv=function(e){let t,n,r,o,s;const i=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(i,a,c),u=l-Math.min(i,a,c),d=function(e){return(l-e)/6/u+.5};return 0===u?(o=0,s=0):(s=u/l,t=d(i),n=d(a),r=d(c),i===l?o=r-n:a===l?o=1/3+t-r:c===l&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*s,100*l]},s.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=s.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*i,100*r]},s.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},s.rgb.keyword=function(e){const t=o[e];if(t)return t;let n,s=1/0;for(const t of Object.keys(r)){const o=i(e,r[t]);o<s&&(s=o,n=t)}return n},s.keyword.rgb=function(e){return r[e]},s.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;return t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},s.rgb.lab=function(e){const t=s.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];return n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,[116*r-16,500*(n-r),200*(r-o)]},s.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,s,i;if(0===n)return i=255*r,[i,i,i];o=r<.5?r*(1+n):r+n-r*n;const a=2*r-o,c=[0,0,0];for(let e=0;e<3;e++)s=t+1/3*-(e-1),s<0&&s++,s>1&&s--,i=6*s<1?a+6*(o-a)*s:2*s<1?o:3*s<2?a+(o-a)*(2/3-s)*6:a,c[e]=255*i;return c},s.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const s=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,o*=s<=1?s:2-s,[t,100*(0===r?2*o/(s+o):2*n/(r+n)),(r+n)/2*100]},s.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,s=t-Math.floor(t),i=255*r*(1-n),a=255*r*(1-n*s),c=255*r*(1-n*(1-s));switch(r*=255,o){case 0:return[r,c,i];case 1:return[a,r,i];case 2:return[i,r,c];case 3:return[i,a,r];case 4:return[c,i,r];case 5:return[r,i,a]}},s.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let s,i;i=(2-n)*r;const a=(2-n)*o;return s=n*o,s/=a<=1?a:2-a,s=s||0,i/=2,[t,100*s,100*i]},s.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let s;o>1&&(n/=o,r/=o);const i=Math.floor(6*t),a=1-r;s=6*t-i,1&i&&(s=1-s);const c=n+s*(a-n);let l,u,d;switch(i){default:case 6:case 0:l=a,u=c,d=n;break;case 1:l=c,u=a,d=n;break;case 2:l=n,u=a,d=c;break;case 3:l=n,u=c,d=a;break;case 4:l=c,u=n,d=a;break;case 5:l=a,u=n,d=c}return[255*l,255*u,255*d]},s.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},s.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,s,i;return o=3.2406*t+-1.5372*n+-.4986*r,s=-.9689*t+1.8758*n+.0415*r,i=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),i=Math.min(Math.max(0,i),1),[255*o,255*s,255*i]},s.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},s.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const o=n**3,s=t**3,i=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=i>.008856?i:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},s.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;return o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360),[t,Math.sqrt(n*n+r*r),o]},s.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},s.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let i=null===t?s.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let a=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},s.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},s.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},s.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},s.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),s=Math.min(Math.min(t,n),r),i=o-s;let a,c;return a=i<1?s/(1-i):0,c=i<=0?0:o===t?(n-r)/i%6:o===n?2+(r-t)/i:4+(t-n)/i,c/=6,c%=1,[360*c,100*i,100*a]},s.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},s.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},s.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],s=t%1*6,i=s%1,a=1-i;let c=0;switch(Math.floor(s)){case 0:o[0]=1,o[1]=i,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=i;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=i,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return c=(1-n)*r,[255*(n*o[0]+c),255*(n*o[1]+c),255*(n*o[2]+c)]},s.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},s.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},s.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},s.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=function(e){return[0,0,e[0]]},s.gray.hsv=s.gray.hsl,s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},18524:(e,t,n)=>{const r=n(43426),o=n(45362),s=["keyword","gray","hex"],i={};for(const e of Object.keys(o))i[[...o[e].labels].sort().join("")]=e;const a={};function c(e,t){if(!(this instanceof c))return new c(e,t);if(t&&t in s&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);let n,l;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof c)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=r.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,l=o[this.model].channels,this.color=t.value.slice(0,l),this.valpha="number"==typeof t.value[l]?t.value[l]:1}else if(e.length>0){this.model=t||"rgb",l=o[this.model].channels;const n=Array.prototype.slice.call(e,0,l);this.color=p(n,l),this.valpha="number"==typeof e[l]?e[l]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const r=t.sort().join("");if(!(r in i))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=i[r];const{labels:s}=o[this.model],a=[];for(n=0;n<s.length;n++)a.push(e[s[n]]);this.color=p(a)}if(a[this.model])for(l=o[this.model].channels,n=0;n<l;n++){const e=a[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}c.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in r.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to[t.model](n)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=o[this.model],{labels:n}=o[this.model];for(let r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new c([...this.color.map(l(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new c([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:u("rgb",0,d(255)),green:u("rgb",1,d(255)),blue:u("rgb",2,d(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:u("hsl",1,d(100)),lightness:u("hsl",2,d(100)),saturationv:u("hsv",1,d(100)),value:u("hsv",2,d(100)),chroma:u("hcg",1,d(100)),gray:u("hcg",2,d(100)),white:u("hwb",1,d(100)),wblack:u("hwb",2,d(100)),cyan:u("cmyk",0,d(100)),magenta:u("cmyk",1,d(100)),yellow:u("cmyk",2,d(100)),black:u("cmyk",3,d(100)),x:u("xyz",0,d(95.047)),y:u("xyz",1,d(100)),z:u("xyz",2,d(108.833)),l:u("lab",0,d(100)),a:u("lab",1),b:u("lab",2),keyword(e){return void 0!==e?new c(e):o[this.model].keyword(this.color)},hex(e){return void 0!==e?new c(e):r.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new c(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),r.to.hex(t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const e=r/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return c.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),r=this.rgb(),o=void 0===t?.5:t,s=2*o-1,i=n.alpha()-r.alpha(),a=((s*i===-1?s:(s+i)/(1+s*i))+1)/2,l=1-a;return c.rgb(a*n.red()+l*r.red(),a*n.green()+l*r.green(),a*n.blue()+l*r.blue(),n.alpha()*o+r.alpha()*(1-o))}};for(const e of Object.keys(o)){if(s.includes(e))continue;const{channels:t}=o[e];c.prototype[e]=function(...t){return this.model===e?new c(this):t.length>0?new c(t,e):new c([...(n=o[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},c[e]=function(...n){let r=n[0];return"number"==typeof r&&(r=p(n,t)),new c(r,e)}}function l(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function u(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(a[r]||(a[r]=[]))[t]=n;return e=e[0],function(r){let o;return void 0!==r?(n&&(r=n(r)),o=this[e](),o.color[t]=r,o):(o=this[e]().color[t],n&&(o=n(o)),o)}}function d(e){return function(t){return Math.max(0,Math.min(e,t))}}function p(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}e.exports=c},21642:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",i="[object Function]",a="[object Object]",c=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[s]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[i]=u["[object Map]"]=u["[object Number]"]=u[a]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d,p,h,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,b="object"==typeof self&&self&&self.Object===Object&&self,g=f||b||Function("return this")(),m=t&&!t.nodeType&&t,y=m&&e&&!e.nodeType&&e,v=y&&y.exports===m,x=v&&f.process,j=function(){try{return y&&y.require&&y.require("util").types||x&&x.binding&&x.binding("util")}catch(e){}}(),w=j&&j.isTypedArray,k=Array.prototype,_=Function.prototype,$=Object.prototype,O=g["__core-js_shared__"],M=_.toString,A=$.hasOwnProperty,E=(d=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",S=$.toString,P=M.call(Object),z=RegExp("^"+M.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),T=v?g.Buffer:void 0,I=g.Symbol,C=g.Uint8Array,N=(T&&T.allocUnsafe,p=Object.getPrototypeOf,h=Object,function(e){return p(h(e))}),F=Object.create,q=$.propertyIsEnumerable,U=k.splice,L=I?I.toStringTag:void 0,D=function(){try{var e=ae(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),W=T?T.isBuffer:void 0,G=Math.max,R=Date.now,B=ae(g,"Map"),J=ae(Object,"create"),V=function(){function e(){}return function(t){if(!ve(t))return{};if(F)return F(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function H(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=this.__data__=new Z(e);this.size=t.size}function X(e,t,n){(void 0!==n&&!pe(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function Y(e,t,n){var r=e[t];A.call(e,t)&&pe(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(pe(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&D?D(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=J?J(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return n===r?void 0:n}return A.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:A.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=J&&void 0===t?r:t,this},Z.prototype.clear=function(){this.__data__=[],this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():U.call(t,n,1),--this.size,0))},Z.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},Z.prototype.has=function(e){return ee(this.__data__,e)>-1},Z.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},H.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(B||Z),string:new K}},H.prototype.delete=function(e){var t=ie(this,e).delete(e);return this.size-=t?1:0,t},H.prototype.get=function(e){return ie(this,e).get(e)},H.prototype.has=function(e){return ie(this,e).has(e)},H.prototype.set=function(e,t){var n=ie(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new Z,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new H(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":L&&L in Object(e)?function(e){var t=A.call(e,L),n=e[L];try{e[L]=void 0;var r=!0}catch(e){}var o=S.call(e);return r&&(t?e[L]=n:delete e[L]),o}(e):function(e){return S.call(e)}(e)}function re(e){return xe(e)&&ne(e)==s}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),s=n(e),i=s.length;i--;){var a=s[++r];if(!1===t(o[a],a,o))break}}(t,function(s,i){if(o||(o=new Q),ve(s))!function(e,t,n,r,o,s,i){var c=ue(e,n),l=ue(t,n),u=i.get(l);if(u)X(e,n,u);else{var d,p,h,f,b,g=s?s(c,l,n+"",e,t,i):void 0,m=void 0===g;if(m){var y=fe(l),v=!y&&ge(l),x=!y&&!v&&je(l);g=l,y||v||x?fe(c)?g=c:xe(b=c)&&be(b)?g=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(c):v?(m=!1,g=function(e){return e.slice()}(l)):x?(m=!1,f=new(h=(d=l).buffer).constructor(h.byteLength),new C(f).set(new C(h)),p=f,g=new d.constructor(p,d.byteOffset,d.length)):g=[]:function(e){if(!xe(e)||ne(e)!=a)return!1;var t=N(e);if(null===t)return!0;var n=A.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&M.call(n)==P}(l)||he(l)?(g=c,he(c)?g=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var i=t[o],a=void 0;void 0===a&&(a=e[i]),r?te(n,i,a):Y(n,i,a)}return n}(e,we(e))}(c):ve(c)&&!me(c)||(g=function(e){return"function"!=typeof e.constructor||le(e)?{}:V(N(e))}(l))):m=!1}m&&(i.set(l,g),o(g,l,r,s,i),i.delete(l)),X(e,n,g)}}(e,t,i,n,oe,r,o);else{var c=r?r(ue(e,i),s,i+"",e,t,o):void 0;void 0===c&&(c=s),X(e,i,c)}},we)}var se=D?function(e,t){return D(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:$e;function ie(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ae(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!ve(e)||function(e){return!!E&&E in e}(e))&&(me(e)?z:c).test(function(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function ce(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function le(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$)}function ue(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var de=function(e){var t=0,n=0;return function(){var r=R(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(se);function pe(e,t){return e===t||e!=e&&t!=t}var he=re(function(){return arguments}())?re:function(e){return xe(e)&&A.call(e,"callee")&&!q.call(e,"callee")},fe=Array.isArray;function be(e){return null!=e&&ye(e.length)&&!me(e)}var ge=W||function(){return!1};function me(e){if(!ve(e))return!1;var t=ne(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function ve(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xe(e){return null!=e&&"object"==typeof e}var je=w?function(e){return function(t){return e(t)}}(w):function(e){return xe(e)&&ye(e.length)&&!!u[ne(e)]};function we(e){return be(e)?function(e,t){var n=fe(e),r=!n&&he(e),o=!n&&!r&&ge(e),s=!n&&!r&&!o&&je(e),i=n||r||o||s,a=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=a.length;for(var l in e)!t&&!A.call(e,l)||i&&("length"==l||o&&("offset"==l||"parent"==l)||s&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ce(l,c))||a.push(l);return a}(e,!0):function(e){if(!ve(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=le(e),n=[];for(var r in e)("constructor"!=r||!t&&A.call(e,r))&&n.push(r);return n}(e)}var ke,_e=(ke=function(e,t,n){oe(e,t,n)},function(e,t){return de(function(e,t,n){return t=G(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=G(r.length-t,0),i=Array(s);++o<s;)i[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(i),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,a)}}(e,t,$e),e+"")}(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,s=r>2?t[2]:void 0;for(o=ke.length>3&&"function"==typeof o?(r--,o):void 0,s&&function(e,t,n){if(!ve(n))return!1;var r=typeof t;return!!("number"==r?be(n)&&ce(t,n.length):"string"==r&&t in n)&&pe(n[t],e)}(t[0],t[1],s)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var i=t[n];i&&ke(e,i,n)}return e}));function $e(e){return e}e.exports=_e},25628:(e,t,n)=>{"use strict";var r=n(55308),o=Array.prototype.concat,s=Array.prototype.slice,i=e.exports=function(e){for(var t=[],n=0,i=e.length;n<i;n++){var a=e[n];r(a)?t=o.call(t,s.call(a)):t.push(a)}return t};i.wrap=function(e){return function(){return e(i(arguments))}}},25964:(e,t,n)=>{"use strict";n.d(t,{EA:()=>d,Ge:()=>i,Gh:()=>c,Ix:()=>u,fz:()=>h,ie:()=>g,mx:()=>s,q:()=>p,xE:()=>l});var r=n(63200),o=n(69591);const s=(e,t,{excludeAttrs:n=[],includeAttrs:r=[]})=>{const o=Array.from(e.attributes).filter(e=>!n.includes(e.name)&&(!r.length||r.includes(e.name))).map(e=>e.name);t(o),new MutationObserver(e=>{e.forEach(e=>{"attributes"!==e.type||n.includes(e.attributeName)||r.length&&!r.includes(e.attributeName)||t([e.attributeName])})}).observe(e,{attributes:!0})},i=(e,t)=>{t({addedNodes:Array.from(e.children),removedNodes:[]}),new MutationObserver(e=>{e.forEach(e=>{"childList"!==e.type&&"characterData"!==e.type||t(e)})}).observe(e,{childList:!0,characterData:!0,subtree:!0})},a=(e,t,n={})=>r=>{r.forEach(r=>{const o=n[r]||r,s=e.getAttribute(r);null!==s?t.getAttribute(o)!==s&&t.setAttribute(o,s):t.removeAttribute(o)})},c=(e,t,n)=>{s(e,a(e,t),n),s(t,a(t,e),n)},l=e=>(0,r.GL)(o.$m,e),u=(...e)=>`--${(0,r.GL)(...e)}`,d=(e,t,n={})=>{s(e,a(e,t,n.mapAttrs),n)},p=(e,t,n=[])=>{if(!n.length)return;const r=n.reduce((t,n)=>Object.assign(t,{[n]:{get:()=>e[n],set(t){e[n]=t}}}),{});Object.defineProperties(t,r)},h=(e,t,{prepend:n=!1}={})=>{let r;try{r=new CSSStyleSheet}catch(r){return b(e,t,{prepend:n})}const o=t?.shadowRoot||t;if(e&&r.replaceSync(e),o){const e=[...o.adoptedStyleSheets||[]];e[n?"unshift":"push"](r),o.adoptedStyleSheets=e}return r};class f{constructor(e,t,{prepend:n=!1}={}){this.styleEle=document.createElement("style"),this.styleEle.textContent=e,this.styleEle.setAttribute("nonce",window.DESCOPE_NONCE),this.ref=t?.shadowRoot||t,this.ref&&(n?this.ref.prepend(this.styleEle):this.ref.append(this.styleEle))}replaceSync(e){this.styleEle.textContent=e}get cssRules(){return this.styleEle.sheet?.cssRules}}const b=(e,t,{prepend:n=!1}={})=>new f(e,t,{prepend:n}),g=(e,t=2)=>e.trim().split(" ").splice(0,t).map(e=>e[0]?.toUpperCase()).join("")},25990:(e,t,n)=>{const{componentsThemeManager:r}=n(73227),o=n(97301);e.exports=o.keys().reduce((e,t)=>{const n=t.replace(/.*?([^\/]+)\/index\.js$/,"$1");return n.endsWith("-internal")||(e[n]=()=>o(t)),e},{}),e.exports.componentsThemeManager=r,e.exports["descope-address-field"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(8248),n.e(7620),n.e(8618),n.e(4914),n.e(9871),n.e(7774),n.e(8961),n.e(7092),n.e(8822)]).then(n.bind(n,25278)),e.exports["descope-apps-list"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(5260),n.e(7182),n.e(8618),n.e(1995),n.e(8961),n.e(3580)]).then(n.bind(n,47477)),e.exports["descope-autocomplete-field"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(8248),n.e(7620),n.e(8618),n.e(4914),n.e(9871),n.e(7774),n.e(8961),n.e(7092),n.e(8712)]).then(n.bind(n,93847)),e.exports["descope-avatar"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(5260),n.e(7182),n.e(8618),n.e(1995),n.e(8961),n.e(2272)]).then(n.bind(n,53557)),e.exports["descope-badge"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(4188)]).then(n.bind(n,11065)),e.exports["descope-button"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(4467),n.e(5414),n.e(8961),n.e(5087)]).then(n.bind(n,30576)),e.exports["descope-collapsible-container"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(6367)]).then(n.bind(n,96945)),e.exports["descope-combo-box"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(8248),n.e(7620),n.e(8618),n.e(4914),n.e(9871),n.e(8961),n.e(7092),n.e(5691)]).then(n.bind(n,27092)),e.exports["descope-enriched-text"]=()=>Promise.all([n.e(2672),n.e(2540),n.e(8961),n.e(9261)]).then(n.bind(n,55838)),e.exports["descope-icon"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(6724)]).then(n.bind(n,56737)),e.exports["descope-image"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(1202)]).then(n.bind(n,53455)),e.exports["descope-link"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(4159)]).then(n.bind(n,74778)),e.exports["descope-list"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(4551)]).then(n.bind(n,45400)),e.exports["descope-list-item"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(461)]).then(n.bind(n,24542)),e.exports["descope-outbound-app-button"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(4467),n.e(5414),n.e(8961),n.e(8634)]).then(n.bind(n,81422)),e.exports["descope-outbound-apps"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(4467),n.e(5260),n.e(5414),n.e(7182),n.e(8618),n.e(1995),n.e(8961),n.e(4292)]).then(n.bind(n,58204)),e.exports["descope-password-strength"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(9458)]).then(n.bind(n,13241)),e.exports["descope-recovery-codes"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(5260),n.e(7182),n.e(6063),n.e(8961),n.e(9175)]).then(n.bind(n,88568)),e.exports["descope-text"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(2294)]).then(n.bind(n,63595)),e.exports["descope-timer"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(2250)]).then(n.bind(n,15887)),e.exports["descope-timer-button"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(4467),n.e(5414),n.e(8961),n.e(743)]).then(n.bind(n,60096)),e.exports["descope-trusted-devices"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(7750)]).then(n.bind(n,66747))},40070:(e,t,n)=>{"use strict";n.d(t,{e:()=>g,t:()=>m});var r=n(18524),o=n.n(r);const s=.4,i=.25,a=.1,c=(e,t)=>e.darken(t).hex(),l=e=>{const t=e.isDark();return e.mix(o()(t?"white":"black"),1).saturate(1).hex()},u=(e,t)=>e.lightness()<.5?e.lightness(100*t).hex():e.lighten(t).hex(),d=e=>e.luminosity()<.01,p=e=>e.luminosity()>.99,h=(e,t)=>"dark"===t?p(e)?c(e,i):u(e,s):d(e)?u(e,i):c(e,s),f=(e,t)=>"dark"===t?d(e)?u(e,i):c(e,s):p(e)?c(e,i):u(e,s),b=(e,t)=>"dark"===t?d(e)?u(e,a):c(e,.8):p(e)?c(e,a):u(e,.8),g=(e,t)=>{const n=new(o())(e.main||e);return{main:n.hex(),dark:e.dark||h(n,t),light:e.light||f(n,t),highlight:e.highlight||b(n,t),contrast:e.contrast||l(n)}},m=e=>Object.keys(e).reduce((t,n)=>{const r=e[n];return Object.assign(t,{[n]:g(r)})},{})},43426:(e,t,n)=>{var r=n(95256),o=n(25628),s=Object.hasOwnProperty,i=Object.create(null);for(var a in r)s.call(r,a)&&(i[r[a]]=a);var c=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}c.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=c.get.hsl(e),n="hsl";break;case"hwb":t=c.get.hwb(e),n="hwb";break;default:t=c.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},c.get.rgb=function(e){if(!e)return null;var t,n,o,i=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],n=0;n<3;n++){var a=2*n;i[n]=parseInt(t.slice(a,a+2),16)}o&&(i[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],n=0;n<3;n++)i[n]=parseInt(t[n]+t[n],16);o&&(i[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)i[n]=parseInt(t[n+1],0);t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:s.call(r,t[1])?((i=r[t[1]])[3]=1,i):null:null;for(n=0;n<3;n++)i[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}for(n=0;n<3;n++)i[n]=l(i[n],0,255);return i[3]=l(i[3],0,1),i},c.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},c.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},c.to.hex=function(){var e=o(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},c.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},c.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},c.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},c.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},c.to.keyword=function(e){return i[e.slice(0,3)]}},45362:(e,t,n)=>{const r=n(16295),o=n(55223),s={};Object.keys(r).forEach(e=>{s[e]={},Object.defineProperty(s[e],"channels",{value:r[e].channels}),Object.defineProperty(s[e],"labels",{value:r[e].labels});const t=o(e);Object.keys(t).forEach(n=>{const r=t[n];s[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),s[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})}),e.exports=s},55223:(e,t,n)=>{const r=n(16295);function o(e,t){return function(n){return t(e(n))}}function s(e,t){const n=[t[e].parent,e];let s=r[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)n.unshift(t[i].parent),s=o(r[t[i].parent][i],s),i=t[i].parent;return s.conversion=n,s}e.exports=function(e){const t=function(e){const t=function(){const e={},t=Object.keys(r);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),o=Object.keys(r[e]);for(let r=o.length,s=0;s<r;s++){const r=o[s],i=t[r];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,n.unshift(r))}}return t}(e),n={},o=Object.keys(t);for(let e=o.length,r=0;r<e;r++){const e=o[r];null!==t[e].parent&&(n[e]=s(e,t))}return n}},55308:e=>{e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},63200:(e,t,n)=>{"use strict";n.d(t,{GL:()=>s,Tn:()=>c,Zz:()=>a,dk:()=>i,g5:()=>r.g,kW:()=>o});var r=n(86507);const o=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),s=(...e)=>o(e.filter(e=>!!e).join("-")),i=(...e)=>e.filter(Boolean).map((e,t)=>{return 0===t?e:(n=e).charAt(0).toUpperCase()+n.slice(1);var n}).join(""),a=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),c=e=>"function"==typeof e},68049:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),d=Object.prototype.toString,p=Math.max,h=Math.min,f=function(){return u.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=s.test(e);return n||i.test(e)?a(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,s,i,a,c,l=0,u=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,s=o;return r=o=void 0,l=t,i=e.apply(s,n)}function v(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=s}function x(){var e=f();if(v(e))return j(e);a=setTimeout(x,function(e){var n=t-(e-c);return d?h(n,s-(e-l)):n}(e))}function j(e){return a=void 0,m&&r?y(e):(r=o=void 0,i)}function w(){var e=f(),n=v(e);if(r=arguments,o=this,c=e,n){if(void 0===a)return function(e){return l=e,a=setTimeout(x,t),u?y(e):i}(c);if(d)return a=setTimeout(x,t),y(c)}return void 0===a&&(a=setTimeout(x,t)),i}return t=g(t)||0,b(n)&&(u=!!n.leading,s=(d="maxWait"in n)?p(g(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m),w.cancel=function(){void 0!==a&&clearTimeout(a),l=0,r=c=o=a=void 0},w.flush=function(){return void 0===a?i:j(f())},w}},69461:(e,t,n)=>{"use strict";n.d(t,{$J:()=>a,I4:()=>o,Kl:()=>c,cy:()=>r,fu:()=>i,lS:()=>s});const r=e=>`\n :host {\n padding: calc(var(${e.inputOutlineWidth}) + var(${e.inputOutlineOffset}))\n }\n`,o=e=>`\n ${e} > label,\n ${e}::part(label),\n ${e}::part(required-indicator) {\n cursor: pointer;\n }\n`,s=(e,t="input")=>`\n ${e}[disabled] > ${t}:placeholder-shown,\n\t${e}[readonly] > ${t}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,i=e=>`\n ${e}::part(input-field)::after {\n opacity: 0;\n }\n`,a=e=>`\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 ${e} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,c=()=>'\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 '},69591:(e,t,n)=>{"use strict";n.d(t,{$m:()=>r,IM:()=>s,aE:()=>o});const r="descope",o=5,s="host"},73227:(e,t,n)=>{"use strict";n.r(t),n.d(t,{componentsThemeManager:()=>c.br,createComponentsTheme:()=>x,createHelperVars:()=>k,genColor:()=>l.e,genColors:()=>l.t,getThemeRefs:()=>g,getThemeVars:()=>m,globalsThemeToStyle:()=>y,inputFloatingLabelStyle:()=>u.Kl,resetInitialHeight:()=>u.T8,resetInputAutoFill:()=>u.AI,resetInputContainer:()=>u.zm,resetInputCursor:()=>u.I4,resetInputElement:()=>u.mC,resetInputField:()=>u.Qv,resetInputFieldDefaultWidth:()=>u.X6,resetInputFieldInvalidBackgroundColor:()=>u.kG,resetInputFieldUnderlayingBorder:()=>u.cQ,resetInputLabelPosition:()=>u.$J,resetInputOverrides:()=>u.LJ,resetInputPlaceholder:()=>u.lS,resetInputReadonlyStyle:()=>u.fu,themeToCSSVarsObj:()=>b,themeToStyle:()=>j,useHostExternalPadding:()=>u.cy,useVar:()=>w});var r=n(21642),o=n.n(r),s=n(3047),i=n(9696),a=n(97810),c=n(79673),l=n(40070),u=n(73551);const d=e=>(0,a.Ix)(s.$m,...e),p=(e,t,n)=>{const r=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return r.reduce((e,t,o)=>(void 0===e[t]&&(e[t]={}),o===r.length-1&&(e[t]=n),e[t]),e),e},h=(e,t,n)=>Object.entries(e).reduce((e,[r,s])=>s?.constructor!==Object?o()(e,n(t.concat(r),s)):o()(e,h(s,[...t,r],n)),{}),f=e=>{switch(!0){case Array.isArray(e):return e.map(e=>e.includes(" ")?`"${e}"`:e).join(", ");case(0,i.gU)(e):return`url(${e})`;default:return e}},b=e=>h(e,[],(e,t)=>({[d(e)]:f(t)})),g=(e,t)=>h(e,[],e=>p({},e,`var(${d(t?[t,...e]:e)})`)),m=(e,t)=>h(e,[],e=>p({},e,d(t?[t,...e]:e))),y=(e,t="")=>{const n=Object.entries(b(e)).reduce((e,t)=>`${e}${t.join(":")};\n`,"");return t?`*[data-theme="${t}"] {${n}}`:n},v=e=>Object.entries(e).reduce((e,[t,n])=>`${e}${t} { \n${Object.entries(n).map(([e,t])=>`${e}: ${t}`).join(";\n")} \n}\n\n`,""),x=e=>{const t=(e=>h(e,[],(e,t)=>{const[n,...r]=e,o=r.pop(),c=(0,a.xE)(n);"undefined"===o&&console.warn(c,`theme value: "${t}" is mapped to an invalid property`);let l=s.IM;r[0]&&r[0].startsWith(s.WJ)&&(l=r.shift());const u=r.reduce((e,t,n)=>{const[o,s]=function(e){const t=e.match(/^(&+)?(.*)$/);return[t[1]||"",t[2]||""]}(t),a=Math.min(o.length+1,3);if(s.startsWith("_"))return e+`[${(0,i.kW)(s.replace(/^_/,""))}="true"]`.repeat(a);const c=r[n+1];return"string"!=typeof c||c.startsWith("_")||c.startsWith("&")?(console.error("theme generator",`your theme structure is invalid, attribute "${t}" is followed by "${c}" which is not allowed`),e):e+`[${(0,i.kW)(s)}="${r.splice(n+1,1).join("")}"]`.repeat(a)},""),d=":host"+(u?`(${u})`:"");return{[c]:{[l]:{[d]:{[o]:f(t)}}}}}))(e);return Object.keys(t).reduce((e,n)=>{const r=t[n];return Object.assign(e,{[n]:Object.keys(r).reduce((e,t)=>Object.assign(e,{[t]:v(r[t])}),{})})},{})},j=({globals:e,components:t},n)=>({globals:y(e,n),components:x(t)}),w=(...e)=>e.reduceRight((e,t)=>t.startsWith("--")?`var(${t}${e?`, ${e}`:e})`:`${t}${e?`, ${e}`:e}`,""),k=(e,t)=>{const n=h(e,[],(e,n)=>{const r=[...e],o=r.splice(-1),s=(0,a.Ix)(t,o),i={[o]:s},c={[o]:w(s)};return{theme:p({},[...r,s],n),useVars:c,vars:i}});return[n.theme,n.useVars,n.vars]}},73551:(e,t,n)=>{"use strict";n.d(t,{$J:()=>g,AI:()=>d,I4:()=>l,Kl:()=>m,LJ:()=>b,Qv:()=>c,T8:()=>s,X6:()=>p,cQ:()=>o,cy:()=>r,fu:()=>h,kG:()=>f,lS:()=>u,mC:()=>i,zm:()=>a});const r=e=>`\n :host {\n padding: calc(var(${e.inputOutlineWidth}) + var(${e.inputOutlineOffset}))\n }\n`,o=e=>`\n ${e}::part(input-field)::after {\n border: none;\n }\n`,s=e=>`\n ${e}::before {\n\t\theight: unset;\n\t}\n`,i=e=>`\n ${e} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`,a=e=>`\n ${e} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`,c=e=>`\n ${e}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`,l=e=>`\n ${e} > label,\n ${e}::part(label),\n ${e}::part(required-indicator) {\n cursor: pointer;\n }\n`,u=(e,t="input")=>`\n ${e}[disabled] > ${t}:placeholder-shown,\n\t${e}[readonly] > ${t}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,d=(e,t)=>`\n ${e} input:-webkit-autofill,\n ${e} input:-webkit-autofill::first-line,\n ${e} input:-webkit-autofill:hover,\n ${e} input:-webkit-autofill:active,\n ${e} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${t.inputValueTextColor});\n box-shadow: 0 0 0 var(${t.inputHeight}) var(${t.inputBackgroundColor}) inset;\n }\n`,p=()=>"\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n",h=e=>`\n ${e}::part(input-field)::after {\n opacity: 0;\n }\n`,f=e=>`\n ${e}::part(input-field)::after {\n background: none;\n }\n`,b=(e,t)=>`\n ${a(e)}\n ${l(e)}\n ${u(e)}\n ${c(e)}\n ${d(e,t)}\n ${f(e)}\n ${s(e)}\n ${i(e)}\n ${o(e)}\n`,g=e=>`\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 ${e} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,m=()=>'\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 '},74556:(e,t,n)=>{},79673:(e,t,n)=>{"use strict";n.d(t,{$J:()=>o.$J,I4:()=>o.I4,Kl:()=>o.Kl,br:()=>r.b,cy:()=>o.cy,fu:()=>o.fu,lS:()=>o.lS}),n(21642),n(63200),n(25964);var r=n(4097),o=(n(74556),n(69461))},86507:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var r=n(68049),o=n.n(r);const s=(e,t)=>{let n=0;const r=new Set,s=new Set,i=o()((t,o)=>{e(...t).then(e=>{o===n&&(r.forEach(t=>t(e)),r.clear())}).catch(e=>{s.forEach(t=>t(e)),s.clear()})},t);return(...e)=>(n++,new Promise((t,o)=>{r.add(t),s.add(o),i(e,n)}))}},95256:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},97301:(e,t,n)=>{var r={"./boolean-fields/descope-boolean-field-internal/index.js":[3274,2672,9365,7362],"./boolean-fields/descope-checkbox/index.js":[49582,2672,6818,676,8968,9275,8248,7620,4467,7291,9365,4838],"./boolean-fields/descope-switch-toggle/index.js":[21934,2672,6818,676,8968,9275,8248,7620,4467,7291,9365,1448],"./button-selection-group-fields/descope-button-multi-selection-group-internal/index.js":[91831,2672,9365,8399],"./button-selection-group-fields/descope-button-multi-selection-group/index.js":[55162,2672,6818,676,8968,9275,4467,5414,9365,8961,1837,3829],"./button-selection-group-fields/descope-button-selection-group-internal/index.js":[72415,2672,9365,7079],"./button-selection-group-fields/descope-button-selection-group-item/index.js":[15450,2672,6818,676,8968,9275,4467,5414,9365,8961,1837],"./button-selection-group-fields/descope-button-selection-group/index.js":[27926,2672,6818,676,8968,9275,4467,5414,9365,8961,1837,2141],"./descope-alert/index.js":[11339,2672,2540,9365,8961,1456],"./descope-code-snippet/index.js":[80522,2672,5780,9365,3521],"./descope-container/index.js":[81297,2672,9365,8689],"./descope-date-field/descope-calendar/index.js":[88350,2672,6818,676,8968,9275,8248,7620,4467,5414,8618,4914,9871,4518,9365,8961,7092,6028],"./descope-date-field/index.js":[79981,2672,6818,676,8968,9275,8248,7620,4467,5260,5414,7182,8618,4914,9871,4518,1519,9365,8961,7092,6028,9257],"./descope-divider/index.js":[48995,2672,9365,8961,8819],"./descope-email-field/index.js":[54316,2672,6818,676,8968,9275,8248,7620,9365,5695],"./descope-grid/descope-grid-custom-column/index.js":[12909,6818,7565,9176],"./descope-grid/descope-grid-item-details-column/index.js":[92107,6818,676,5260,7182,7565,2381],"./descope-grid/descope-grid-selection-column/index.js":[57641,2672,6818,676,8968,9275,8248,7620,4467,7565,7291,9365,3305],"./descope-grid/descope-grid-text-column/index.js":[57148,6818,7565,8108],"./descope-grid/index.js":[38976,2672,6818,676,8968,9275,8248,7620,4467,5260,7182,4914,7565,7291,5780,9970,9365,2200],"./descope-hcaptcha/index.js":[24011,2672,9365,7470],"./descope-hybrid-field/index.js":[44966,2672,6818,676,8968,9275,8248,7620,5260,7182,8618,4914,9871,5348,3620,9365,8961,7092,3685,9894,7299],"./descope-loader-linear/index.js":[63581,2672,9365,8009],"./descope-loader-radial/index.js":[54249,2672,9365,7163],"./descope-logo/index.js":[86947,2672,9365,1239],"./descope-modal/index.js":[52079,2672,6818,676,8968,8618,9117,9365,4139],"./descope-multi-select-combo-box/index.js":[12848,2672,6818,676,8968,9275,8248,7620,8618,4914,9871,1408,9365,1331],"./descope-new-password/descope-new-password-internal/index.js":[78844,2672,9365,8603],"./descope-new-password/index.js":[72788,2672,6818,676,8968,9275,8248,7620,4467,5260,7182,1899,9365,4364],"./descope-notification/descope-notification-card/index.js":[69182,2672,6818,676,8983,9365,7326],"./descope-notification/index.js":[8273,2672,6818,676,8983,9365,8019],"./descope-notp-image/index.js":[27201,2672,9365,2251],"./descope-number-field/index.js":[72598,2672,6818,676,8968,9275,8248,7620,5648,9365,7944],"./descope-passcode/descope-passcode-internal/index.js":[59053,2672,9365,3359],"./descope-passcode/index.js":[54690,2672,6818,676,8968,9275,8248,7620,5260,7182,9365,8884],"./descope-password/index.js":[19169,2672,6818,676,8968,9275,8248,7620,4467,1899,9365,6969],"./descope-policy-validation/index.js":[26782,2672,9365,2996],"./descope-radio-group/index.js":[40649,2672,6818,676,8968,9275,8248,4467,4623,9365,9399],"./descope-recaptcha/index.js":[85386,2672,9365,3847],"./descope-scopes-list/index.js":[16942,2672,6818,676,8968,9275,8248,7620,4467,7291,9365,8961,1674],"./descope-security-questions-setup/index.js":[74460,2672,6818,676,8968,9275,8248,7620,5260,7182,8618,4914,9871,6477,9365,8961,7092,3594],"./descope-security-questions-verify/index.js":[38479,2672,6818,676,8968,9275,8248,7620,5260,7182,9365,8961,9446],"./descope-text-area/index.js":[5277,2672,6818,676,8968,9275,8248,7620,7939,9365,5686],"./descope-text-field/index.js":[21374,2672,6818,676,8968,9275,8248,7620,5260,7182,9365,5166],"./descope-third-party-app-logo/index.js":[6107,2672,5414,9365,8961,230],"./descope-totp-image/index.js":[7252,2672,9365,6213],"./descope-upload-file/index.js":[70139,2672,6818,676,8968,9275,4467,5414,9365,8961,9636],"./descope-user-attribute/index.js":[45554,2672,6818,676,8968,9275,4467,5260,5414,9365,8961,1578],"./descope-user-auth-method/index.js":[67760,2672,6818,676,8968,9275,4467,5260,5414,9365,8961,9990],"./mapping-fields/descope-mappings-field/descope-mapping-item/index.js":[29172,2672,9365,2230],"./mapping-fields/descope-mappings-field/descope-mappings-field-internal/index.js":[34884,2672,9365,9522],"./mapping-fields/descope-mappings-field/index.js":[84719,2672,6818,676,8968,9275,8248,7620,4467,5260,5414,7182,8618,4914,9871,7774,4550,9365,8961,7092,7095],"./mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/index.js":[9894,2672,9365,9708],"./mapping-fields/descope-saml-group-mappings/index.js":[45103,2672,6818,676,8968,9275,8248,7620,4467,5260,5414,7182,8618,4914,9871,7774,4550,9365,8961,7092,6832],"./phone-fields/descope-phone-field/descope-phone-field-internal/index.js":[92132,2672,6818,676,8968,9275,8248,7620,5260,7182,8618,4914,9871,5348,3620,9365,8961,7092,3685,2878],"./phone-fields/descope-phone-field/index.js":[98136,2672,6818,676,8968,9275,8248,7620,5260,7182,8618,4914,9871,5348,3620,9365,8961,7092,3685,9894],"./phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/index.js":[78343,2672,6818,676,8968,9275,8248,7620,5260,7182,5348,9365,3685,8657],"./phone-fields/descope-phone-input-box-field/index.js":[30057,2672,6818,676,8968,9275,8248,7620,5260,7182,5348,9365,3685,4043]};function o(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then(()=>n(o))}o.keys=()=>Object.keys(r),o.id=97301,e.exports=o},97810:(e,t,n)=>{"use strict";n.d(t,{EA:()=>d,Ge:()=>i,Gh:()=>c,Ix:()=>u,mx:()=>s,q:()=>p,xE:()=>l});var r=n(9696),o=n(3047);const s=(e,t,{excludeAttrs:n=[],includeAttrs:r=[]})=>{const o=Array.from(e.attributes).filter(e=>!n.includes(e.name)&&(!r.length||r.includes(e.name))).map(e=>e.name);t(o),new MutationObserver(e=>{e.forEach(e=>{"attributes"!==e.type||n.includes(e.attributeName)||r.length&&!r.includes(e.attributeName)||t([e.attributeName])})}).observe(e,{attributes:!0})},i=(e,t)=>{t({addedNodes:Array.from(e.children),removedNodes:[]}),new MutationObserver(e=>{e.forEach(e=>{"childList"!==e.type&&"characterData"!==e.type||t(e)})}).observe(e,{childList:!0,characterData:!0,subtree:!0})},a=(e,t,n={})=>r=>{r.forEach(r=>{const o=n[r]||r,s=e.getAttribute(r);null!==s?t.getAttribute(o)!==s&&t.setAttribute(o,s):t.removeAttribute(o)})},c=(e,t,n)=>{s(e,a(e,t),n),s(t,a(t,e),n)},l=e=>(0,r.GL)(o.$m,e),u=(...e)=>`--${(0,r.GL)(...e)}`,d=(e,t,n={})=>{s(e,a(e,t,n.mapAttrs),n)},p=(e,t,n=[])=>{if(!n.length)return;const r=n.reduce((t,n)=>Object.assign(t,{[n]:{get:()=>e[n],set(t){e[n]=t}}}),{});Object.defineProperties(t,r)}}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return r[e](n,n.exports,s),n.loaded=!0,n.exports}s.m=r,e=[],s.O=(t,n,r,o)=>{if(!n){var i=1/0;for(u=0;u<e.length;u++){for(var[n,r,o]=e[u],a=!0,c=0;c<n.length;c++)(!1&o||i>=o)&&Object.keys(s.O).every(e=>s.O[e](n[c]))?n.splice(c--,1):(a=!1,o<i&&(i=o));if(a){e.splice(u--,1);var l=r();void 0!==l&&(t=l)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o]},s.F={},s.E=e=>{Object.keys(s.F).map(t=>{s.F[t](e)})},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,n)=>(s.f[n](e,t),t),[])),s.u=e=>(({230:"descope-third-party-app-logo-index-js",461:"descope-list-item",743:"descope-timer-button",1202:"descope-image",1239:"descope-logo-index-js",1331:"descope-multi-select-combo-box-index-js",1448:"boolean-fields-descope-switch-toggle-index-js",1456:"descope-alert-index-js",1578:"descope-user-attribute-index-js",1674:"descope-scopes-list-index-js",1837:"button-selection-group-fields-descope-button-selection-group-item-index-js",2141:"button-selection-group-fields-descope-button-selection-group-index-js",2200:"descope-grid-index-js",2230:"mapping-fields-descope-mappings-field-descope-mapping-item-index-js",2250:"descope-timer",2251:"descope-notp-image-index-js",2272:"descope-avatar",2294:"descope-text",2381:"descope-grid-descope-grid-item-details-column-index-js",2878:"phone-fields-descope-phone-field-descope-phone-field-internal-index-js",2996:"descope-policy-validation-index-js",3305:"descope-grid-descope-grid-selection-column-index-js",3359:"descope-passcode-descope-passcode-internal-index-js",3521:"descope-code-snippet-index-js",3580:"descope-apps-list",3594:"descope-security-questions-setup-index-js",3829:"button-selection-group-fields-descope-button-multi-selection-group-index-js",3847:"descope-recaptcha-index-js",4043:"phone-fields-descope-phone-input-box-field-index-js",4139:"descope-modal-index-js",4159:"descope-link",4188:"descope-badge",4292:"descope-outbound-apps",4364:"descope-new-password-index-js",4551:"descope-list",4838:"boolean-fields-descope-checkbox-index-js",5087:"descope-button",5166:"descope-text-field-index-js",5686:"descope-text-area-index-js",5691:"descope-combo-box",5695:"descope-email-field-index-js",6028:"descope-date-field-descope-calendar-index-js",6213:"descope-totp-image-index-js",6367:"descope-collapsible-container",6724:"descope-icon",6832:"mapping-fields-descope-saml-group-mappings-index-js",6969:"descope-password-index-js",7079:"button-selection-group-fields-descope-button-selection-group-internal-index-js",7095:"mapping-fields-descope-mappings-field-index-js",7163:"descope-loader-radial-index-js",7299:"descope-hybrid-field-index-js",7326:"descope-notification-descope-notification-card-index-js",7362:"boolean-fields-descope-boolean-field-internal-index-js",7470:"descope-hcaptcha-index-js",7750:"descope-trusted-devices",7944:"descope-number-field-index-js",8009:"descope-loader-linear-index-js",8019:"descope-notification-index-js",8108:"descope-grid-descope-grid-text-column-index-js",8399:"button-selection-group-fields-descope-button-multi-selection-group-internal-index-js",8603:"descope-new-password-descope-new-password-internal-index-js",8634:"descope-outbound-app-button",8657:"phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js",8689:"descope-container-index-js",8712:"descope-autocomplete-field",8819:"descope-divider-index-js",8822:"descope-address-field",8884:"descope-passcode-index-js",9175:"descope-recovery-codes",9176:"descope-grid-descope-grid-custom-column-index-js",9257:"descope-date-field-index-js",9261:"descope-enriched-text",9399:"descope-radio-group-index-js",9446:"descope-security-questions-verify-index-js",9458:"descope-password-strength",9522:"mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js",9636:"descope-upload-file-index-js",9708:"mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js",9894:"phone-fields-descope-phone-field-index-js",9990:"descope-user-auth-method-index-js"}[e]||e)+".js"),s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},n="@descope/web-components-ui:",s.l=(e,r,o,i)=>{if(t[e])t[e].push(r);else{var a,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+o){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",n+o),a.src=e),t[e]=[r];var p=(n,r)=>{a.onerror=a.onload=null,clearTimeout(h);var o=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(r)),n)return n(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e={5536:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}},"chunk-"+t,t)}},s.F.j=t=>{if(!s.o(e,t)||void 0===e[t]){e[t]=null;var n=document.createElement("link");n.charset="utf-8",s.nc&&n.setAttribute("nonce",s.nc),n.rel="prefetch",n.as="script",n.href=s.p+s.u(t),document.head.appendChild(n)}},s.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,a,c]=n,l=0;if(i.some(t=>0!==e[t])){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(c)var u=c(s)}for(t&&t(n);l<i.length;l++)o=i[l],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return s.O(u)},n=self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),s.O(0,[5536],()=>{[2672,6818,676,8968,9275,8248,7620,8618,4914,9871,7774,8961,7092,8822,5260,7182,1995,3580,8712,2272,4188,4467,5414,5087,6367,5691,2540,9261,6724,1202,4159,4551,461,8634,4292,9458,6063,9175,2294,2250,743,7750,9365,7362,7291,4838,1448,8399,1837,3829,7079,2141,1456,5780,3521,8689,4518,6028,1519,9257,8819,5695,7565,9176,2381,3305,8108,9970,2200,7470,5348,3620,3685,9894,7299,8009,7163,1239,9117,4139,1408,1331,8603,1899,4364,8983,7326,8019,2251,5648,7944,3359,8884,6969,2996,4623,9399,3847,1674,6477,3594,9446,7939,5686,5166,230,6213,9636,1578,9990,2230,9522,4550,7095,9708,6832,2878,8657,4043].map(s.E)},5);var i=s(25990);return s.O(i)})());
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DescopeUI=t():e.DescopeUI=t()}(self,()=>(()=>{var e,t,n,r={3047:(e,t,n)=>{"use strict";n.d(t,{$m:()=>r,IM:()=>s,WJ:()=>i,aE:()=>o});const r="descope",o=5,s="host",i="@"},4097:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=new class{static mountOnPropName="DescopeThemeManager";#e={};#t="light";#n=new Set;#r(){this.#n.forEach(e=>e?.())}get currentThemeName(){return this.#t}set currentThemeName(e){this.#t=e,this.#r()}get currentTheme(){return this.#e[this.currentThemeName]}onCurrentThemeChange(e){return this.#n.add(e),()=>{this.#n.delete(e)}}set themes(e){this.#e=e,this.#r()}get hasThemes(){return!!Object.keys(this.#e).length}}},9696:(e,t,n)=>{"use strict";n.d(t,{AG:()=>l,GL:()=>o,Tn:()=>a,Zz:()=>i,dk:()=>s,gU:()=>c,kW:()=>r,wy:()=>u});const r=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),o=(...e)=>r(e.filter(e=>!!e).join("-")),s=(...e)=>e.filter(Boolean).map((e,t)=>{return 0===t?e:(n=e).charAt(0).toUpperCase()+n.slice(1);var n}).join(""),i=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),a=e=>"function"==typeof e,c=e=>{try{return new URL(e),!0}catch(e){return!1}},l=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!==t.length)return!1;const n=e.slice().sort(),r=t.slice().sort();for(let e=0;e<n.length;e++)if(n[e]!==r[e])return!1;return!0},u=e=>e.replace(/([A-Z])/g," $1").trim().split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")},16295:(e,t,n)=>{const r=n(95256),o={};for(const e of Object.keys(r))o[r[e]]=e;const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=s;for(const e of Object.keys(s)){if(!("channels"in s[e]))throw new Error("missing channels property: "+e);if(!("labels"in s[e]))throw new Error("missing channel labels property: "+e);if(s[e].labels.length!==s[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=s[e];delete s[e].channels,delete s[e].labels,Object.defineProperty(s[e],"channels",{value:t}),Object.defineProperty(s[e],"labels",{value:n})}function i(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}s.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),s=Math.max(t,n,r),i=s-o;let a,c;s===o?a=0:t===s?a=(n-r)/i:n===s?a=2+(r-t)/i:r===s&&(a=4+(t-n)/i),a=Math.min(60*a,360),a<0&&(a+=360);const l=(o+s)/2;return c=s===o?0:l<=.5?i/(s+o):i/(2-s-o),[a,100*c,100*l]},s.rgb.hsv=function(e){let t,n,r,o,s;const i=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(i,a,c),u=l-Math.min(i,a,c),d=function(e){return(l-e)/6/u+.5};return 0===u?(o=0,s=0):(s=u/l,t=d(i),n=d(a),r=d(c),i===l?o=r-n:a===l?o=1/3+t-r:c===l&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*s,100*l]},s.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=s.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*i,100*r]},s.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},s.rgb.keyword=function(e){const t=o[e];if(t)return t;let n,s=1/0;for(const t of Object.keys(r)){const o=i(e,r[t]);o<s&&(s=o,n=t)}return n},s.keyword.rgb=function(e){return r[e]},s.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;return t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},s.rgb.lab=function(e){const t=s.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];return n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,[116*r-16,500*(n-r),200*(r-o)]},s.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,s,i;if(0===n)return i=255*r,[i,i,i];o=r<.5?r*(1+n):r+n-r*n;const a=2*r-o,c=[0,0,0];for(let e=0;e<3;e++)s=t+1/3*-(e-1),s<0&&s++,s>1&&s--,i=6*s<1?a+6*(o-a)*s:2*s<1?o:3*s<2?a+(o-a)*(2/3-s)*6:a,c[e]=255*i;return c},s.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const s=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,o*=s<=1?s:2-s,[t,100*(0===r?2*o/(s+o):2*n/(r+n)),(r+n)/2*100]},s.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,s=t-Math.floor(t),i=255*r*(1-n),a=255*r*(1-n*s),c=255*r*(1-n*(1-s));switch(r*=255,o){case 0:return[r,c,i];case 1:return[a,r,i];case 2:return[i,r,c];case 3:return[i,a,r];case 4:return[c,i,r];case 5:return[r,i,a]}},s.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let s,i;i=(2-n)*r;const a=(2-n)*o;return s=n*o,s/=a<=1?a:2-a,s=s||0,i/=2,[t,100*s,100*i]},s.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let s;o>1&&(n/=o,r/=o);const i=Math.floor(6*t),a=1-r;s=6*t-i,1&i&&(s=1-s);const c=n+s*(a-n);let l,u,d;switch(i){default:case 6:case 0:l=a,u=c,d=n;break;case 1:l=c,u=a,d=n;break;case 2:l=n,u=a,d=c;break;case 3:l=n,u=c,d=a;break;case 4:l=c,u=n,d=a;break;case 5:l=a,u=n,d=c}return[255*l,255*u,255*d]},s.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},s.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,s,i;return o=3.2406*t+-1.5372*n+-.4986*r,s=-.9689*t+1.8758*n+.0415*r,i=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),i=Math.min(Math.max(0,i),1),[255*o,255*s,255*i]},s.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},s.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const o=n**3,s=t**3,i=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=i>.008856?i:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},s.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;return o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360),[t,Math.sqrt(n*n+r*r),o]},s.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},s.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let i=null===t?s.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let a=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},s.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},s.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},s.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},s.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),s=Math.min(Math.min(t,n),r),i=o-s;let a,c;return a=i<1?s/(1-i):0,c=i<=0?0:o===t?(n-r)/i%6:o===n?2+(r-t)/i:4+(t-n)/i,c/=6,c%=1,[360*c,100*i,100*a]},s.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},s.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},s.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],s=t%1*6,i=s%1,a=1-i;let c=0;switch(Math.floor(s)){case 0:o[0]=1,o[1]=i,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=i;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=i,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return c=(1-n)*r,[255*(n*o[0]+c),255*(n*o[1]+c),255*(n*o[2]+c)]},s.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},s.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},s.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},s.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=function(e){return[0,0,e[0]]},s.gray.hsv=s.gray.hsl,s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},18524:(e,t,n)=>{const r=n(43426),o=n(45362),s=["keyword","gray","hex"],i={};for(const e of Object.keys(o))i[[...o[e].labels].sort().join("")]=e;const a={};function c(e,t){if(!(this instanceof c))return new c(e,t);if(t&&t in s&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);let n,l;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof c)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=r.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,l=o[this.model].channels,this.color=t.value.slice(0,l),this.valpha="number"==typeof t.value[l]?t.value[l]:1}else if(e.length>0){this.model=t||"rgb",l=o[this.model].channels;const n=Array.prototype.slice.call(e,0,l);this.color=p(n,l),this.valpha="number"==typeof e[l]?e[l]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const r=t.sort().join("");if(!(r in i))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=i[r];const{labels:s}=o[this.model],a=[];for(n=0;n<s.length;n++)a.push(e[s[n]]);this.color=p(a)}if(a[this.model])for(l=o[this.model].channels,n=0;n<l;n++){const e=a[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}c.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in r.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to[t.model](n)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to.rgb.percent(n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=o[this.model],{labels:n}=o[this.model];for(let r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new c([...this.color.map(l(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new c([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:u("rgb",0,d(255)),green:u("rgb",1,d(255)),blue:u("rgb",2,d(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:u("hsl",1,d(100)),lightness:u("hsl",2,d(100)),saturationv:u("hsv",1,d(100)),value:u("hsv",2,d(100)),chroma:u("hcg",1,d(100)),gray:u("hcg",2,d(100)),white:u("hwb",1,d(100)),wblack:u("hwb",2,d(100)),cyan:u("cmyk",0,d(100)),magenta:u("cmyk",1,d(100)),yellow:u("cmyk",2,d(100)),black:u("cmyk",3,d(100)),x:u("xyz",0,d(95.047)),y:u("xyz",1,d(100)),z:u("xyz",2,d(108.833)),l:u("lab",0,d(100)),a:u("lab",1),b:u("lab",2),keyword(e){return void 0!==e?new c(e):o[this.model].keyword(this.color)},hex(e){return void 0!==e?new c(e):r.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new c(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),r.to.hex(t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const e=r/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return c.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),r=this.rgb(),o=void 0===t?.5:t,s=2*o-1,i=n.alpha()-r.alpha(),a=((s*i===-1?s:(s+i)/(1+s*i))+1)/2,l=1-a;return c.rgb(a*n.red()+l*r.red(),a*n.green()+l*r.green(),a*n.blue()+l*r.blue(),n.alpha()*o+r.alpha()*(1-o))}};for(const e of Object.keys(o)){if(s.includes(e))continue;const{channels:t}=o[e];c.prototype[e]=function(...t){return this.model===e?new c(this):t.length>0?new c(t,e):new c([...(n=o[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},c[e]=function(...n){let r=n[0];return"number"==typeof r&&(r=p(n,t)),new c(r,e)}}function l(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function u(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(a[r]||(a[r]=[]))[t]=n;return e=e[0],function(r){let o;return void 0!==r?(n&&(r=n(r)),o=this[e](),o.color[t]=r,o):(o=this[e]().color[t],n&&(o=n(o)),o)}}function d(e){return function(t){return Math.max(0,Math.min(e,t))}}function p(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}e.exports=c},21642:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",i="[object Function]",a="[object Object]",c=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[s]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[i]=u["[object Map]"]=u["[object Number]"]=u[a]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d,p,h,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,b="object"==typeof self&&self&&self.Object===Object&&self,g=f||b||Function("return this")(),m=t&&!t.nodeType&&t,y=m&&e&&!e.nodeType&&e,v=y&&y.exports===m,x=v&&f.process,j=function(){try{return y&&y.require&&y.require("util").types||x&&x.binding&&x.binding("util")}catch(e){}}(),w=j&&j.isTypedArray,k=Array.prototype,_=Function.prototype,$=Object.prototype,O=g["__core-js_shared__"],M=_.toString,A=$.hasOwnProperty,E=(d=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",S=$.toString,P=M.call(Object),z=RegExp("^"+M.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),T=v?g.Buffer:void 0,I=g.Symbol,C=g.Uint8Array,N=(T&&T.allocUnsafe,p=Object.getPrototypeOf,h=Object,function(e){return p(h(e))}),F=Object.create,q=$.propertyIsEnumerable,U=k.splice,L=I?I.toStringTag:void 0,D=function(){try{var e=ae(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),W=T?T.isBuffer:void 0,R=Math.max,G=Date.now,B=ae(g,"Map"),J=ae(Object,"create"),V=function(){function e(){}return function(t){if(!ve(t))return{};if(F)return F(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function H(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=this.__data__=new Z(e);this.size=t.size}function X(e,t,n){(void 0!==n&&!pe(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function Y(e,t,n){var r=e[t];A.call(e,t)&&pe(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(pe(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&D?D(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=J?J(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return n===r?void 0:n}return A.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:A.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=J&&void 0===t?r:t,this},Z.prototype.clear=function(){this.__data__=[],this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():U.call(t,n,1),--this.size,0))},Z.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},Z.prototype.has=function(e){return ee(this.__data__,e)>-1},Z.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},H.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(B||Z),string:new K}},H.prototype.delete=function(e){var t=ie(this,e).delete(e);return this.size-=t?1:0,t},H.prototype.get=function(e){return ie(this,e).get(e)},H.prototype.has=function(e){return ie(this,e).has(e)},H.prototype.set=function(e,t){var n=ie(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new Z,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new H(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":L&&L in Object(e)?function(e){var t=A.call(e,L),n=e[L];try{e[L]=void 0;var r=!0}catch(e){}var o=S.call(e);return r&&(t?e[L]=n:delete e[L]),o}(e):function(e){return S.call(e)}(e)}function re(e){return xe(e)&&ne(e)==s}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),s=n(e),i=s.length;i--;){var a=s[++r];if(!1===t(o[a],a,o))break}}(t,function(s,i){if(o||(o=new Q),ve(s))!function(e,t,n,r,o,s,i){var c=ue(e,n),l=ue(t,n),u=i.get(l);if(u)X(e,n,u);else{var d,p,h,f,b,g=s?s(c,l,n+"",e,t,i):void 0,m=void 0===g;if(m){var y=fe(l),v=!y&&ge(l),x=!y&&!v&&je(l);g=l,y||v||x?fe(c)?g=c:xe(b=c)&&be(b)?g=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(c):v?(m=!1,g=function(e){return e.slice()}(l)):x?(m=!1,f=new(h=(d=l).buffer).constructor(h.byteLength),new C(f).set(new C(h)),p=f,g=new d.constructor(p,d.byteOffset,d.length)):g=[]:function(e){if(!xe(e)||ne(e)!=a)return!1;var t=N(e);if(null===t)return!0;var n=A.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&M.call(n)==P}(l)||he(l)?(g=c,he(c)?g=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var i=t[o],a=void 0;void 0===a&&(a=e[i]),r?te(n,i,a):Y(n,i,a)}return n}(e,we(e))}(c):ve(c)&&!me(c)||(g=function(e){return"function"!=typeof e.constructor||le(e)?{}:V(N(e))}(l))):m=!1}m&&(i.set(l,g),o(g,l,r,s,i),i.delete(l)),X(e,n,g)}}(e,t,i,n,oe,r,o);else{var c=r?r(ue(e,i),s,i+"",e,t,o):void 0;void 0===c&&(c=s),X(e,i,c)}},we)}var se=D?function(e,t){return D(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:$e;function ie(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ae(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!ve(e)||function(e){return!!E&&E in e}(e))&&(me(e)?z:c).test(function(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function ce(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function le(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$)}function ue(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var de=function(e){var t=0,n=0;return function(){var r=G(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(se);function pe(e,t){return e===t||e!=e&&t!=t}var he=re(function(){return arguments}())?re:function(e){return xe(e)&&A.call(e,"callee")&&!q.call(e,"callee")},fe=Array.isArray;function be(e){return null!=e&&ye(e.length)&&!me(e)}var ge=W||function(){return!1};function me(e){if(!ve(e))return!1;var t=ne(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function ve(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xe(e){return null!=e&&"object"==typeof e}var je=w?function(e){return function(t){return e(t)}}(w):function(e){return xe(e)&&ye(e.length)&&!!u[ne(e)]};function we(e){return be(e)?function(e,t){var n=fe(e),r=!n&&he(e),o=!n&&!r&&ge(e),s=!n&&!r&&!o&&je(e),i=n||r||o||s,a=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=a.length;for(var l in e)!t&&!A.call(e,l)||i&&("length"==l||o&&("offset"==l||"parent"==l)||s&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ce(l,c))||a.push(l);return a}(e,!0):function(e){if(!ve(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=le(e),n=[];for(var r in e)("constructor"!=r||!t&&A.call(e,r))&&n.push(r);return n}(e)}var ke,_e=(ke=function(e,t,n){oe(e,t,n)},function(e,t){return de(function(e,t,n){return t=R(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=R(r.length-t,0),i=Array(s);++o<s;)i[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(i),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,a)}}(e,t,$e),e+"")}(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,s=r>2?t[2]:void 0;for(o=ke.length>3&&"function"==typeof o?(r--,o):void 0,s&&function(e,t,n){if(!ve(n))return!1;var r=typeof t;return!!("number"==r?be(n)&&ce(t,n.length):"string"==r&&t in n)&&pe(n[t],e)}(t[0],t[1],s)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var i=t[n];i&&ke(e,i,n)}return e}));function $e(e){return e}e.exports=_e},25628:(e,t,n)=>{"use strict";var r=n(55308),o=Array.prototype.concat,s=Array.prototype.slice,i=e.exports=function(e){for(var t=[],n=0,i=e.length;n<i;n++){var a=e[n];r(a)?t=o.call(t,s.call(a)):t.push(a)}return t};i.wrap=function(e){return function(){return e(i(arguments))}}},25964:(e,t,n)=>{"use strict";n.d(t,{EA:()=>d,Ge:()=>i,Gh:()=>c,Ix:()=>u,fz:()=>h,ie:()=>g,mx:()=>s,q:()=>p,xE:()=>l});var r=n(63200),o=n(69591);const s=(e,t,{excludeAttrs:n=[],includeAttrs:r=[]})=>{const o=Array.from(e.attributes).filter(e=>!n.includes(e.name)&&(!r.length||r.includes(e.name))).map(e=>e.name);t(o),new MutationObserver(e=>{e.forEach(e=>{"attributes"!==e.type||n.includes(e.attributeName)||r.length&&!r.includes(e.attributeName)||t([e.attributeName])})}).observe(e,{attributes:!0})},i=(e,t)=>{t({addedNodes:Array.from(e.children),removedNodes:[]}),new MutationObserver(e=>{e.forEach(e=>{"childList"!==e.type&&"characterData"!==e.type||t(e)})}).observe(e,{childList:!0,characterData:!0,subtree:!0})},a=(e,t,n={})=>r=>{r.forEach(r=>{const o=n[r]||r,s=e.getAttribute(r);null!==s?t.getAttribute(o)!==s&&t.setAttribute(o,s):t.removeAttribute(o)})},c=(e,t,n)=>{s(e,a(e,t),n),s(t,a(t,e),n)},l=e=>(0,r.GL)(o.$m,e),u=(...e)=>`--${(0,r.GL)(...e)}`,d=(e,t,n={})=>{s(e,a(e,t,n.mapAttrs),n)},p=(e,t,n=[])=>{if(!n.length)return;const r=n.reduce((t,n)=>Object.assign(t,{[n]:{get:()=>e[n],set(t){e[n]=t}}}),{});Object.defineProperties(t,r)},h=(e,t,{prepend:n=!1}={})=>{let r;try{r=new CSSStyleSheet}catch(r){return b(e,t,{prepend:n})}const o=t?.shadowRoot||t;if(e&&r.replaceSync(e),o){const e=[...o.adoptedStyleSheets||[]];e[n?"unshift":"push"](r),o.adoptedStyleSheets=e}return e&&!r.cssRules[0]?.style&&console.warn(`No style rules were created, make sure the CSS is valid:\n "${e}"`),r};class f{constructor(e,t,{prepend:n=!1}={}){this.styleEle=document.createElement("style"),this.styleEle.textContent=e,this.styleEle.setAttribute("nonce",window.DESCOPE_NONCE),this.ref=t?.shadowRoot||t,this.ref&&(n?this.ref.prepend(this.styleEle):this.ref.append(this.styleEle))}replaceSync(e){this.styleEle.textContent=e}get cssRules(){return this.styleEle.sheet?.cssRules}}const b=(e,t,{prepend:n=!1}={})=>new f(e,t,{prepend:n}),g=(e,t=2)=>e.trim().split(" ").splice(0,t).map(e=>e[0]?.toUpperCase()).join("")},25990:(e,t,n)=>{const{componentsThemeManager:r}=n(73227),o=n(97301);e.exports=o.keys().reduce((e,t)=>{const n=t.replace(/.*?([^\/]+)\/index\.js$/,"$1");return n.endsWith("-internal")||(e[n]=()=>o(t)),e},{}),e.exports.componentsThemeManager=r,e.exports["descope-address-field"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(8248),n.e(7620),n.e(8618),n.e(4914),n.e(9871),n.e(7774),n.e(8961),n.e(7092),n.e(8822)]).then(n.bind(n,25278)),e.exports["descope-apps-list"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(5260),n.e(7182),n.e(8618),n.e(1995),n.e(8961),n.e(3580)]).then(n.bind(n,47477)),e.exports["descope-autocomplete-field"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(8248),n.e(7620),n.e(8618),n.e(4914),n.e(9871),n.e(7774),n.e(8961),n.e(7092),n.e(8712)]).then(n.bind(n,93847)),e.exports["descope-avatar"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(5260),n.e(7182),n.e(8618),n.e(1995),n.e(8961),n.e(2272)]).then(n.bind(n,53557)),e.exports["descope-badge"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(4188)]).then(n.bind(n,11065)),e.exports["descope-button"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(4467),n.e(5414),n.e(8961),n.e(5087)]).then(n.bind(n,30576)),e.exports["descope-collapsible-container"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(6367)]).then(n.bind(n,96945)),e.exports["descope-combo-box"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(8248),n.e(7620),n.e(8618),n.e(4914),n.e(9871),n.e(8961),n.e(7092),n.e(5691)]).then(n.bind(n,27092)),e.exports["descope-enriched-text"]=()=>Promise.all([n.e(2672),n.e(2540),n.e(8961),n.e(9261)]).then(n.bind(n,55838)),e.exports["descope-icon"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(6724)]).then(n.bind(n,56737)),e.exports["descope-image"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(1202)]).then(n.bind(n,53455)),e.exports["descope-link"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(4159)]).then(n.bind(n,74778)),e.exports["descope-list"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(4551)]).then(n.bind(n,45400)),e.exports["descope-list-item"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(461)]).then(n.bind(n,24542)),e.exports["descope-outbound-app-button"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(4467),n.e(5414),n.e(8961),n.e(8634)]).then(n.bind(n,81422)),e.exports["descope-outbound-apps"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(4467),n.e(5260),n.e(5414),n.e(7182),n.e(8618),n.e(1995),n.e(8961),n.e(4292)]).then(n.bind(n,58204)),e.exports["descope-password-strength"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(9458)]).then(n.bind(n,13241)),e.exports["descope-recovery-codes"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(5260),n.e(7182),n.e(6063),n.e(8961),n.e(9175)]).then(n.bind(n,88568)),e.exports["descope-text"]=()=>Promise.all([n.e(2672),n.e(8961),n.e(2294)]).then(n.bind(n,63595)),e.exports["descope-timer"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(2250)]).then(n.bind(n,15887)),e.exports["descope-timer-button"]=()=>Promise.all([n.e(2672),n.e(6818),n.e(676),n.e(8968),n.e(9275),n.e(4467),n.e(5414),n.e(8961),n.e(743)]).then(n.bind(n,60096)),e.exports["descope-trusted-devices"]=()=>Promise.all([n.e(2672),n.e(5414),n.e(8961),n.e(7750)]).then(n.bind(n,66747))},40070:(e,t,n)=>{"use strict";n.d(t,{e:()=>g,t:()=>m});var r=n(18524),o=n.n(r);const s=.4,i=.25,a=.1,c=(e,t)=>e.darken(t).hex(),l=e=>{const t=e.isDark();return e.mix(o()(t?"white":"black"),1).saturate(1).hex()},u=(e,t)=>e.lightness()<.5?e.lightness(100*t).hex():e.lighten(t).hex(),d=e=>e.luminosity()<.01,p=e=>e.luminosity()>.99,h=(e,t)=>"dark"===t?p(e)?c(e,i):u(e,s):d(e)?u(e,i):c(e,s),f=(e,t)=>"dark"===t?d(e)?u(e,i):c(e,s):p(e)?c(e,i):u(e,s),b=(e,t)=>"dark"===t?d(e)?u(e,a):c(e,.8):p(e)?c(e,a):u(e,.8),g=(e,t)=>{const n=new(o())(e.main||e);return{main:n.hex(),dark:e.dark||h(n,t),light:e.light||f(n,t),highlight:e.highlight||b(n,t),contrast:e.contrast||l(n)}},m=e=>Object.keys(e).reduce((t,n)=>{const r=e[n];return Object.assign(t,{[n]:g(r)})},{})},43426:(e,t,n)=>{var r=n(95256),o=n(25628),s=Object.hasOwnProperty,i=Object.create(null);for(var a in r)s.call(r,a)&&(i[r[a]]=a);var c=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}c.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=c.get.hsl(e),n="hsl";break;case"hwb":t=c.get.hwb(e),n="hwb";break;default:t=c.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},c.get.rgb=function(e){if(!e)return null;var t,n,o,i=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],n=0;n<3;n++){var a=2*n;i[n]=parseInt(t.slice(a,a+2),16)}o&&(i[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],n=0;n<3;n++)i[n]=parseInt(t[n]+t[n],16);o&&(i[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)i[n]=parseInt(t[n+1],0);t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:s.call(r,t[1])?((i=r[t[1]])[3]=1,i):null:null;for(n=0;n<3;n++)i[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}for(n=0;n<3;n++)i[n]=l(i[n],0,255);return i[3]=l(i[3],0,1),i},c.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},c.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},c.to.hex=function(){var e=o(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},c.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},c.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},c.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},c.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},c.to.keyword=function(e){return i[e.slice(0,3)]}},45362:(e,t,n)=>{const r=n(16295),o=n(55223),s={};Object.keys(r).forEach(e=>{s[e]={},Object.defineProperty(s[e],"channels",{value:r[e].channels}),Object.defineProperty(s[e],"labels",{value:r[e].labels});const t=o(e);Object.keys(t).forEach(n=>{const r=t[n];s[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(r),s[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})}),e.exports=s},55223:(e,t,n)=>{const r=n(16295);function o(e,t){return function(n){return t(e(n))}}function s(e,t){const n=[t[e].parent,e];let s=r[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)n.unshift(t[i].parent),s=o(r[t[i].parent][i],s),i=t[i].parent;return s.conversion=n,s}e.exports=function(e){const t=function(e){const t=function(){const e={},t=Object.keys(r);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),o=Object.keys(r[e]);for(let r=o.length,s=0;s<r;s++){const r=o[s],i=t[r];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,n.unshift(r))}}return t}(e),n={},o=Object.keys(t);for(let e=o.length,r=0;r<e;r++){const e=o[r];null!==t[e].parent&&(n[e]=s(e,t))}return n}},55308:e=>{e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},63200:(e,t,n)=>{"use strict";n.d(t,{GL:()=>s,Tn:()=>c,Zz:()=>a,dk:()=>i,g5:()=>r.g,kW:()=>o});var r=n(86507);const o=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_.]+/g,"-").toLowerCase(),s=(...e)=>o(e.filter(e=>!!e).join("-")),i=(...e)=>e.filter(Boolean).map((e,t)=>{return 0===t?e:(n=e).charAt(0).toUpperCase()+n.slice(1);var n}).join(""),a=(...e)=>t=>e.reduceRight((e,t)=>t(e),t),c=e=>"function"==typeof e},68049:(e,t,n)=>{var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),d=Object.prototype.toString,p=Math.max,h=Math.min,f=function(){return u.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=s.test(e);return n||i.test(e)?a(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,s,i,a,c,l=0,u=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,s=o;return r=o=void 0,l=t,i=e.apply(s,n)}function v(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=s}function x(){var e=f();if(v(e))return j(e);a=setTimeout(x,function(e){var n=t-(e-c);return d?h(n,s-(e-l)):n}(e))}function j(e){return a=void 0,m&&r?y(e):(r=o=void 0,i)}function w(){var e=f(),n=v(e);if(r=arguments,o=this,c=e,n){if(void 0===a)return function(e){return l=e,a=setTimeout(x,t),u?y(e):i}(c);if(d)return a=setTimeout(x,t),y(c)}return void 0===a&&(a=setTimeout(x,t)),i}return t=g(t)||0,b(n)&&(u=!!n.leading,s=(d="maxWait"in n)?p(g(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m),w.cancel=function(){void 0!==a&&clearTimeout(a),l=0,r=c=o=a=void 0},w.flush=function(){return void 0===a?i:j(f())},w}},69461:(e,t,n)=>{"use strict";n.d(t,{$J:()=>a,I4:()=>o,Kl:()=>c,cy:()=>r,fu:()=>i,lS:()=>s});const r=e=>`\n :host {\n padding: calc(var(${e.inputOutlineWidth}) + var(${e.inputOutlineOffset}))\n }\n`,o=e=>`\n ${e} > label,\n ${e}::part(label),\n ${e}::part(required-indicator) {\n cursor: pointer;\n }\n`,s=(e,t="input")=>`\n ${e}[disabled] > ${t}:placeholder-shown,\n\t${e}[readonly] > ${t}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,i=e=>`\n ${e}::part(input-field)::after {\n opacity: 0;\n }\n`,a=e=>`\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 ${e} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,c=()=>'\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 '},69591:(e,t,n)=>{"use strict";n.d(t,{$m:()=>r,IM:()=>s,aE:()=>o});const r="descope",o=5,s="host"},73227:(e,t,n)=>{"use strict";n.r(t),n.d(t,{componentsThemeManager:()=>c.br,createComponentsTheme:()=>x,createHelperVars:()=>k,genColor:()=>l.e,genColors:()=>l.t,getThemeRefs:()=>g,getThemeVars:()=>m,globalsThemeToStyle:()=>y,inputFloatingLabelStyle:()=>u.Kl,resetInitialHeight:()=>u.T8,resetInputAutoFill:()=>u.AI,resetInputContainer:()=>u.zm,resetInputCursor:()=>u.I4,resetInputElement:()=>u.mC,resetInputField:()=>u.Qv,resetInputFieldDefaultWidth:()=>u.X6,resetInputFieldInvalidBackgroundColor:()=>u.kG,resetInputFieldUnderlayingBorder:()=>u.cQ,resetInputLabelPosition:()=>u.$J,resetInputOverrides:()=>u.LJ,resetInputPlaceholder:()=>u.lS,resetInputReadonlyStyle:()=>u.fu,themeToCSSVarsObj:()=>b,themeToStyle:()=>j,useHostExternalPadding:()=>u.cy,useVar:()=>w});var r=n(21642),o=n.n(r),s=n(3047),i=n(9696),a=n(97810),c=n(79673),l=n(40070),u=n(73551);const d=e=>(0,a.Ix)(s.$m,...e),p=(e,t,n)=>{const r=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return r.reduce((e,t,o)=>(void 0===e[t]&&(e[t]={}),o===r.length-1&&(e[t]=n),e[t]),e),e},h=(e,t,n)=>Object.entries(e).reduce((e,[r,s])=>s?.constructor!==Object?o()(e,n(t.concat(r),s)):o()(e,h(s,[...t,r],n)),{}),f=e=>{switch(!0){case Array.isArray(e):return e.map(e=>e.includes(" ")?`"${e}"`:e).join(", ");case(0,i.gU)(e):return`url(${e})`;default:return e}},b=e=>h(e,[],(e,t)=>({[d(e)]:f(t)})),g=(e,t)=>h(e,[],e=>p({},e,`var(${d(t?[t,...e]:e)})`)),m=(e,t)=>h(e,[],e=>p({},e,d(t?[t,...e]:e))),y=(e,t="")=>{const n=Object.entries(b(e)).reduce((e,t)=>`${e}${t.join(":")};\n`,"");return t?`*[data-theme="${t}"] {${n}}`:n},v=e=>Object.entries(e).reduce((e,[t,n])=>`${e}${t} { \n${Object.entries(n).map(([e,t])=>`${e}: ${t}`).join(";\n")} \n}\n\n`,""),x=e=>{const t=(e=>h(e,[],(e,t)=>{const[n,...r]=e,o=r.pop(),c=(0,a.xE)(n);"undefined"===o&&console.warn(c,`theme value: "${t}" is mapped to an invalid property`);let l=s.IM;r[0]&&r[0].startsWith(s.WJ)&&(l=r.shift());const u=r.reduce((e,t,n)=>{const[o,s]=function(e){const t=e.match(/^(&+)?(.*)$/);return[t[1]||"",t[2]||""]}(t),a=Math.min(o.length+1,3);if(s.startsWith("_"))return e+`[${(0,i.kW)(s.replace(/^_/,""))}="true"]`.repeat(a);const c=r[n+1];return"string"!=typeof c||c.startsWith("_")||c.startsWith("&")?(console.error("theme generator",`your theme structure is invalid, attribute "${t}" is followed by "${c}" which is not allowed`),e):e+`[${(0,i.kW)(s)}="${r.splice(n+1,1).join("")}"]`.repeat(a)},""),d=":host"+(u?`(${u})`:"");return{[c]:{[l]:{[d]:{[o]:f(t)}}}}}))(e);return Object.keys(t).reduce((e,n)=>{const r=t[n];return Object.assign(e,{[n]:Object.keys(r).reduce((e,t)=>Object.assign(e,{[t]:v(r[t])}),{})})},{})},j=({globals:e,components:t},n)=>({globals:y(e,n),components:x(t)}),w=(...e)=>e.reduceRight((e,t)=>t.startsWith("--")?`var(${t}${e?`, ${e}`:e})`:`${t}${e?`, ${e}`:e}`,""),k=(e,t)=>{const n=h(e,[],(e,n)=>{const r=[...e],o=r.splice(-1),s=(0,a.Ix)(t,o),i={[o]:s},c={[o]:w(s)};return{theme:p({},[...r,s],n),useVars:c,vars:i}});return[n.theme,n.useVars,n.vars]}},73551:(e,t,n)=>{"use strict";n.d(t,{$J:()=>g,AI:()=>d,I4:()=>l,Kl:()=>m,LJ:()=>b,Qv:()=>c,T8:()=>s,X6:()=>p,cQ:()=>o,cy:()=>r,fu:()=>h,kG:()=>f,lS:()=>u,mC:()=>i,zm:()=>a});const r=e=>`\n :host {\n padding: calc(var(${e.inputOutlineWidth}) + var(${e.inputOutlineOffset}))\n }\n`,o=e=>`\n ${e}::part(input-field)::after {\n border: none;\n }\n`,s=e=>`\n ${e}::before {\n\t\theight: unset;\n\t}\n`,i=e=>`\n ${e} > input {\n -webkit-mask-image: none;\n min-height: 0;\n box-sizing: border-box;\n }\n`,a=e=>`\n ${e} {\n margin: 0;\n padding: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n }\n`,c=e=>`\n ${e}::part(input-field) {\n overflow: hidden;\n padding: 0;\n box-shadow: none;\n }\n`,l=e=>`\n ${e} > label,\n ${e}::part(label),\n ${e}::part(required-indicator) {\n cursor: pointer;\n }\n`,u=(e,t="input")=>`\n ${e}[disabled] > ${t}:placeholder-shown,\n\t${e}[readonly] > ${t}:placeholder-shown {\n\t\topacity: 1;\n\t}\n`,d=(e,t)=>`\n ${e} input:-webkit-autofill,\n ${e} input:-webkit-autofill::first-line,\n ${e} input:-webkit-autofill:hover,\n ${e} input:-webkit-autofill:active,\n ${e} input:-webkit-autofill:focus {\n -webkit-text-fill-color: var(${t.inputValueTextColor});\n box-shadow: 0 0 0 var(${t.inputHeight}) var(${t.inputBackgroundColor}) inset;\n }\n`,p=()=>"\n :host {\n --vaadin-field-default-width: auto;\n box-sizing: border-box;\n }\n",h=e=>`\n ${e}::part(input-field)::after {\n opacity: 0;\n }\n`,f=e=>`\n ${e}::part(input-field)::after {\n background: none;\n }\n`,b=(e,t)=>`\n ${a(e)}\n ${l(e)}\n ${u(e)}\n ${c(e)}\n ${d(e,t)}\n ${f(e)}\n ${s(e)}\n ${i(e)}\n ${o(e)}\n`,g=e=>`\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 ${e} [slot="label"] {\n max-width: calc(100% - 1em);\n overflow: hidden;\n text-overflow: ellipsis;\n padding-bottom: 0.5em;\n }\n`,m=()=>'\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 '},74556:(e,t,n)=>{},79673:(e,t,n)=>{"use strict";n.d(t,{$J:()=>o.$J,I4:()=>o.I4,Kl:()=>o.Kl,br:()=>r.b,cy:()=>o.cy,fu:()=>o.fu,lS:()=>o.lS}),n(21642),n(63200),n(25964);var r=n(4097),o=(n(74556),n(69461))},86507:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var r=n(68049),o=n.n(r);const s=(e,t)=>{let n=0;const r=new Set,s=new Set,i=o()((t,o)=>{e(...t).then(e=>{o===n&&(r.forEach(t=>t(e)),r.clear())}).catch(e=>{s.forEach(t=>t(e)),s.clear()})},t);return(...e)=>(n++,new Promise((t,o)=>{r.add(t),s.add(o),i(e,n)}))}},95256:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},97301:(e,t,n)=>{var r={"./boolean-fields/descope-boolean-field-internal/index.js":[3274,2672,9365,7362],"./boolean-fields/descope-checkbox/index.js":[49582,2672,6818,676,8968,9275,8248,7620,4467,7291,9365,4838],"./boolean-fields/descope-switch-toggle/index.js":[21934,2672,6818,676,8968,9275,8248,7620,4467,7291,9365,1448],"./button-selection-group-fields/descope-button-multi-selection-group-internal/index.js":[91831,2672,9365,8399],"./button-selection-group-fields/descope-button-multi-selection-group/index.js":[55162,2672,6818,676,8968,9275,4467,5414,9365,8961,1837,3829],"./button-selection-group-fields/descope-button-selection-group-internal/index.js":[72415,2672,9365,7079],"./button-selection-group-fields/descope-button-selection-group-item/index.js":[15450,2672,6818,676,8968,9275,4467,5414,9365,8961,1837],"./button-selection-group-fields/descope-button-selection-group/index.js":[27926,2672,6818,676,8968,9275,4467,5414,9365,8961,1837,2141],"./descope-alert/index.js":[11339,2672,2540,9365,8961,1456],"./descope-code-snippet/index.js":[80522,2672,5780,9365,3521],"./descope-container/index.js":[81297,2672,9365,8689],"./descope-date-field/descope-calendar/index.js":[88350,2672,6818,676,8968,9275,8248,7620,4467,5414,8618,4914,9871,4518,9365,8961,7092,6028],"./descope-date-field/index.js":[79981,2672,6818,676,8968,9275,8248,7620,4467,5260,5414,7182,8618,4914,9871,4518,1519,9365,8961,7092,6028,9257],"./descope-divider/index.js":[48995,2672,9365,8961,8819],"./descope-email-field/index.js":[54316,2672,6818,676,8968,9275,8248,7620,9365,5695],"./descope-grid/descope-grid-custom-column/index.js":[12909,6818,7565,9176],"./descope-grid/descope-grid-item-details-column/index.js":[92107,6818,676,5260,7182,7565,2381],"./descope-grid/descope-grid-selection-column/index.js":[57641,2672,6818,676,8968,9275,8248,7620,4467,7565,7291,9365,3305],"./descope-grid/descope-grid-text-column/index.js":[57148,6818,7565,8108],"./descope-grid/index.js":[38976,2672,6818,676,8968,9275,8248,7620,4467,5260,7182,4914,7565,7291,5780,9970,9365,2200],"./descope-hcaptcha/index.js":[24011,2672,9365,7470],"./descope-hybrid-field/index.js":[44966,2672,6818,676,8968,9275,8248,7620,5260,7182,8618,4914,9871,5348,3620,9365,8961,7092,3685,9894,7299],"./descope-loader-linear/index.js":[63581,2672,9365,8009],"./descope-loader-radial/index.js":[54249,2672,9365,7163],"./descope-logo/index.js":[86947,2672,9365,1239],"./descope-modal/index.js":[52079,2672,6818,676,8968,8618,9117,9365,4139],"./descope-multi-select-combo-box/index.js":[12848,2672,6818,676,8968,9275,8248,7620,8618,4914,9871,1408,9365,1331],"./descope-new-password/descope-new-password-internal/index.js":[78844,2672,9365,8603],"./descope-new-password/index.js":[72788,2672,6818,676,8968,9275,8248,7620,4467,5260,7182,1899,9365,4364],"./descope-notification/descope-notification-card/index.js":[69182,2672,6818,676,8983,9365,7326],"./descope-notification/index.js":[8273,2672,6818,676,8983,9365,8019],"./descope-notp-image/index.js":[27201,2672,9365,2251],"./descope-number-field/index.js":[72598,2672,6818,676,8968,9275,8248,7620,5648,9365,7944],"./descope-passcode/descope-passcode-internal/index.js":[59053,2672,9365,3359],"./descope-passcode/index.js":[54690,2672,6818,676,8968,9275,8248,7620,5260,7182,9365,8884],"./descope-password/index.js":[19169,2672,6818,676,8968,9275,8248,7620,4467,1899,9365,6969],"./descope-policy-validation/index.js":[26782,2672,9365,2996],"./descope-radio-group/index.js":[40649,2672,6818,676,8968,9275,8248,4467,4623,9365,9399],"./descope-recaptcha/index.js":[85386,2672,9365,3847],"./descope-scopes-list/index.js":[16942,2672,6818,676,8968,9275,8248,7620,4467,7291,9365,8961,1674],"./descope-security-questions-setup/index.js":[74460,2672,6818,676,8968,9275,8248,7620,5260,7182,8618,4914,9871,6477,9365,8961,7092,3594],"./descope-security-questions-verify/index.js":[38479,2672,6818,676,8968,9275,8248,7620,5260,7182,9365,8961,9446],"./descope-text-area/index.js":[5277,2672,6818,676,8968,9275,8248,7620,7939,9365,5686],"./descope-text-field/index.js":[21374,2672,6818,676,8968,9275,8248,7620,5260,7182,9365,5166],"./descope-third-party-app-logo/index.js":[6107,2672,5414,9365,8961,230],"./descope-totp-image/index.js":[7252,2672,9365,6213],"./descope-upload-file/index.js":[70139,2672,6818,676,8968,9275,4467,5414,9365,8961,9636],"./descope-user-attribute/index.js":[45554,2672,6818,676,8968,9275,4467,5260,5414,9365,8961,1578],"./descope-user-auth-method/index.js":[67760,2672,6818,676,8968,9275,4467,5260,5414,9365,8961,9990],"./mapping-fields/descope-mappings-field/descope-mapping-item/index.js":[29172,2672,9365,2230],"./mapping-fields/descope-mappings-field/descope-mappings-field-internal/index.js":[34884,2672,9365,9522],"./mapping-fields/descope-mappings-field/index.js":[84719,2672,6818,676,8968,9275,8248,7620,4467,5260,5414,7182,8618,4914,9871,7774,4550,9365,8961,7092,7095],"./mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/index.js":[9894,2672,9365,9708],"./mapping-fields/descope-saml-group-mappings/index.js":[45103,2672,6818,676,8968,9275,8248,7620,4467,5260,5414,7182,8618,4914,9871,7774,4550,9365,8961,7092,6832],"./phone-fields/descope-phone-field/descope-phone-field-internal/index.js":[92132,2672,6818,676,8968,9275,8248,7620,5260,7182,8618,4914,9871,5348,3620,9365,8961,7092,3685,2878],"./phone-fields/descope-phone-field/index.js":[98136,2672,6818,676,8968,9275,8248,7620,5260,7182,8618,4914,9871,5348,3620,9365,8961,7092,3685,9894],"./phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/index.js":[78343,2672,6818,676,8968,9275,8248,7620,5260,7182,5348,9365,3685,8657],"./phone-fields/descope-phone-input-box-field/index.js":[30057,2672,6818,676,8968,9275,8248,7620,5260,7182,5348,9365,3685,4043]};function o(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then(()=>n(o))}o.keys=()=>Object.keys(r),o.id=97301,e.exports=o},97810:(e,t,n)=>{"use strict";n.d(t,{EA:()=>d,Ge:()=>i,Gh:()=>c,Ix:()=>u,mx:()=>s,q:()=>p,xE:()=>l});var r=n(9696),o=n(3047);const s=(e,t,{excludeAttrs:n=[],includeAttrs:r=[]})=>{const o=Array.from(e.attributes).filter(e=>!n.includes(e.name)&&(!r.length||r.includes(e.name))).map(e=>e.name);t(o),new MutationObserver(e=>{e.forEach(e=>{"attributes"!==e.type||n.includes(e.attributeName)||r.length&&!r.includes(e.attributeName)||t([e.attributeName])})}).observe(e,{attributes:!0})},i=(e,t)=>{t({addedNodes:Array.from(e.children),removedNodes:[]}),new MutationObserver(e=>{e.forEach(e=>{"childList"!==e.type&&"characterData"!==e.type||t(e)})}).observe(e,{childList:!0,characterData:!0,subtree:!0})},a=(e,t,n={})=>r=>{r.forEach(r=>{const o=n[r]||r,s=e.getAttribute(r);null!==s?t.getAttribute(o)!==s&&t.setAttribute(o,s):t.removeAttribute(o)})},c=(e,t,n)=>{s(e,a(e,t),n),s(t,a(t,e),n)},l=e=>(0,r.GL)(o.$m,e),u=(...e)=>`--${(0,r.GL)(...e)}`,d=(e,t,n={})=>{s(e,a(e,t,n.mapAttrs),n)},p=(e,t,n=[])=>{if(!n.length)return;const r=n.reduce((t,n)=>Object.assign(t,{[n]:{get:()=>e[n],set(t){e[n]=t}}}),{});Object.defineProperties(t,r)}}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return r[e](n,n.exports,s),n.loaded=!0,n.exports}s.m=r,e=[],s.O=(t,n,r,o)=>{if(!n){var i=1/0;for(u=0;u<e.length;u++){for(var[n,r,o]=e[u],a=!0,c=0;c<n.length;c++)(!1&o||i>=o)&&Object.keys(s.O).every(e=>s.O[e](n[c]))?n.splice(c--,1):(a=!1,o<i&&(i=o));if(a){e.splice(u--,1);var l=r();void 0!==l&&(t=l)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o]},s.F={},s.E=e=>{Object.keys(s.F).map(t=>{s.F[t](e)})},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,n)=>(s.f[n](e,t),t),[])),s.u=e=>(({230:"descope-third-party-app-logo-index-js",461:"descope-list-item",743:"descope-timer-button",1202:"descope-image",1239:"descope-logo-index-js",1331:"descope-multi-select-combo-box-index-js",1448:"boolean-fields-descope-switch-toggle-index-js",1456:"descope-alert-index-js",1578:"descope-user-attribute-index-js",1674:"descope-scopes-list-index-js",1837:"button-selection-group-fields-descope-button-selection-group-item-index-js",2141:"button-selection-group-fields-descope-button-selection-group-index-js",2200:"descope-grid-index-js",2230:"mapping-fields-descope-mappings-field-descope-mapping-item-index-js",2250:"descope-timer",2251:"descope-notp-image-index-js",2272:"descope-avatar",2294:"descope-text",2381:"descope-grid-descope-grid-item-details-column-index-js",2878:"phone-fields-descope-phone-field-descope-phone-field-internal-index-js",2996:"descope-policy-validation-index-js",3305:"descope-grid-descope-grid-selection-column-index-js",3359:"descope-passcode-descope-passcode-internal-index-js",3521:"descope-code-snippet-index-js",3580:"descope-apps-list",3594:"descope-security-questions-setup-index-js",3829:"button-selection-group-fields-descope-button-multi-selection-group-index-js",3847:"descope-recaptcha-index-js",4043:"phone-fields-descope-phone-input-box-field-index-js",4139:"descope-modal-index-js",4159:"descope-link",4188:"descope-badge",4292:"descope-outbound-apps",4364:"descope-new-password-index-js",4551:"descope-list",4838:"boolean-fields-descope-checkbox-index-js",5087:"descope-button",5166:"descope-text-field-index-js",5686:"descope-text-area-index-js",5691:"descope-combo-box",5695:"descope-email-field-index-js",6028:"descope-date-field-descope-calendar-index-js",6213:"descope-totp-image-index-js",6367:"descope-collapsible-container",6724:"descope-icon",6832:"mapping-fields-descope-saml-group-mappings-index-js",6969:"descope-password-index-js",7079:"button-selection-group-fields-descope-button-selection-group-internal-index-js",7095:"mapping-fields-descope-mappings-field-index-js",7163:"descope-loader-radial-index-js",7299:"descope-hybrid-field-index-js",7326:"descope-notification-descope-notification-card-index-js",7362:"boolean-fields-descope-boolean-field-internal-index-js",7470:"descope-hcaptcha-index-js",7750:"descope-trusted-devices",7944:"descope-number-field-index-js",8009:"descope-loader-linear-index-js",8019:"descope-notification-index-js",8108:"descope-grid-descope-grid-text-column-index-js",8399:"button-selection-group-fields-descope-button-multi-selection-group-internal-index-js",8603:"descope-new-password-descope-new-password-internal-index-js",8634:"descope-outbound-app-button",8657:"phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js",8689:"descope-container-index-js",8712:"descope-autocomplete-field",8819:"descope-divider-index-js",8822:"descope-address-field",8884:"descope-passcode-index-js",9175:"descope-recovery-codes",9176:"descope-grid-descope-grid-custom-column-index-js",9257:"descope-date-field-index-js",9261:"descope-enriched-text",9399:"descope-radio-group-index-js",9446:"descope-security-questions-verify-index-js",9458:"descope-password-strength",9522:"mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js",9636:"descope-upload-file-index-js",9708:"mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js",9894:"phone-fields-descope-phone-field-index-js",9990:"descope-user-auth-method-index-js"}[e]||e)+".js"),s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},n="@descope/web-components-ui:",s.l=(e,r,o,i)=>{if(t[e])t[e].push(r);else{var a,c;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+o){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",n+o),a.src=e),t[e]=[r];var p=(n,r)=>{a.onerror=a.onload=null,clearTimeout(h);var o=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(r)),n)return n(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e={5536:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}},"chunk-"+t,t)}},s.F.j=t=>{if(!s.o(e,t)||void 0===e[t]){e[t]=null;var n=document.createElement("link");n.charset="utf-8",s.nc&&n.setAttribute("nonce",s.nc),n.rel="prefetch",n.as="script",n.href=s.p+s.u(t),document.head.appendChild(n)}},s.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,a,c]=n,l=0;if(i.some(t=>0!==e[t])){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(c)var u=c(s)}for(t&&t(n);l<i.length;l++)o=i[l],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return s.O(u)},n=self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),s.O(0,[5536],()=>{[2672,6818,676,8968,9275,8248,7620,8618,4914,9871,7774,8961,7092,8822,5260,7182,1995,3580,8712,2272,4188,4467,5414,5087,6367,5691,2540,9261,6724,1202,4159,4551,461,8634,4292,9458,6063,9175,2294,2250,743,7750,9365,7362,7291,4838,1448,8399,1837,3829,7079,2141,1456,5780,3521,8689,4518,6028,1519,9257,8819,5695,7565,9176,2381,3305,8108,9970,2200,7470,5348,3620,3685,9894,7299,8009,7163,1239,9117,4139,1408,1331,8603,1899,4364,8983,7326,8019,2251,5648,7944,3359,8884,6969,2996,4623,9399,3847,1674,6477,3594,9446,7939,5686,5166,230,6213,9636,1578,9990,2230,9522,4550,7095,9708,6832,2878,8657,4043].map(s.E)},5);var i=s(25990);return s.O(i)})());
|
|
2
2
|
//# sourceMappingURL=index.js.map
|