@descope/web-components-ui 3.26.3 → 3.26.4

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/umd/1050.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[1050],{91050(s,e,n){n.d(e,{default:()=>a});var t=n(47288),o=n(60770),c=n(86734);const p={translations:n(93483).A,graphs:o.K,dictionary:{...o.z,...c.z}};t.u2.setOptions(p);const a=t.K1}}]);
1
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[1050],{91050(e,s,n){n.d(s,{default:()=>_});var c=n(47021),o=n(51341),t=n(36871);const a={translations:n(50410).A,graphs:o.K,dictionary:{...o.z,...t.z}},p=new c.Qn(a),_=e=>p.check(e)}}]);
2
2
  //# sourceMappingURL=1050.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1050.js","mappings":"kMAKO,MAAAA,EAAA,CACPC,sBAAgBC,EAChBC,OAAUC,EAAAC,EACVC,WAAA,IACOF,EAAAG,KACAC,EAAAD,IAGPE,EAAAC,GAAaC,WAAAX,GAEb,MAAAY,EAAeH,EAAM","sources":["webpack://@descope/web-components-ui/../components/descope-password-strength/src/component/calcScore.js"],"sourcesContent":["import { zxcvbn, zxcvbnOptions } from \"@zxcvbn-ts/core\";\nimport * as zxcvbnCommonPackage from \"@zxcvbn-ts/language-common\";\nimport * as zxcvbnEnPackage from \"@zxcvbn-ts/language-en\";\n\n\nexport const options = {\n translations: zxcvbnEnPackage.translations,\n graphs: zxcvbnCommonPackage.adjacencyGraphs,\n dictionary: {\n ...zxcvbnCommonPackage.dictionary,\n ...zxcvbnEnPackage.dictionary,\n },\n};\nzxcvbnOptions.setOptions(options);\n\nexport default zxcvbn\n"],"names":["options","translations","A","graphs","_zxcvbn_ts_language_common__WEBPACK_IMPORTED_MODULE_1__","K","dictionary","z","_zxcvbn_ts_language_en__WEBPACK_IMPORTED_MODULE_2__","_zxcvbn_ts_core__WEBPACK_IMPORTED_MODULE_0__","u2","setOptions","__WEBPACK_DEFAULT_EXPORT__"],"sourceRoot":""}
1
+ {"version":3,"file":"1050.js","mappings":"kMAIO,MAAAA,EAAA,CACPC,sBAAgBC,EAChBC,OAAUC,EAAAC,EACVC,WAAA,IACOF,EAAAG,KACAC,EAAAD,IAIPE,EAAA,IAAmBC,EAAAC,GAAaX,GAEhCY,EAAeC,GAAAJ,EAAAK,MAAAD","sources":["webpack://@descope/web-components-ui/../components/descope-password-strength/src/component/calcScore.js"],"sourcesContent":["import { ZxcvbnFactory } from '@zxcvbn-ts/core';\nimport * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common';\nimport * as zxcvbnEnPackage from '@zxcvbn-ts/language-en';\n\nexport const options = {\n translations: zxcvbnEnPackage.translations,\n graphs: zxcvbnCommonPackage.adjacencyGraphs,\n dictionary: {\n ...zxcvbnCommonPackage.dictionary,\n ...zxcvbnEnPackage.dictionary,\n },\n};\n\nconst scorer = new ZxcvbnFactory(options);\n\nexport default (password) => scorer.check(password);\n"],"names":["options","translations","A","graphs","_zxcvbn_ts_language_common__WEBPACK_IMPORTED_MODULE_1__","K","dictionary","z","_zxcvbn_ts_language_en__WEBPACK_IMPORTED_MODULE_2__","scorer","_zxcvbn_ts_core__WEBPACK_IMPORTED_MODULE_0__","Qn","__WEBPACK_DEFAULT_EXPORT__","password","check"],"sourceRoot":""}
package/dist/umd/3241.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[3241,9458],{13241(t,e,r){r.r(e),r.d(e,{PasswordStrengthClass:()=>u,componentName:()=>a});var n=r(72270),s=r(25964),o=r(88961),i=r(63200);const a=(0,s.xE)("password-strength");class c extends((0,n.qu)({componentName:a,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["options","value"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="bars-container"></div>\n <div class="text-container">\n </div>\n </div>\n\t\t',(0,s.fz)("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .wrapper {\n display: inline-flex;\n position: relative;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: flex-start;\n }\n\n .bar {\n flex-grow: 1;\n }\n\n .bars-container {\n display: flex;\n flex-grow: 1;\n width: 100%;\n }\n ",this),this.barsContainer=this.shadowRoot.querySelector(".bars-container"),this.textContainer=this.shadowRoot.querySelector(".text-container")}get options(){return this.getAttribute("options")?.split(",")||[]}getCalcScoreFn=()=>Promise.all([r.e(6558),r.e(1050)]).then(r.bind(r,91050)).then(t=>t.default);#t=-1;async calcScore(){const t=this.getAttribute("value")||"";return t?(await this.getCalcScoreFn())(t).score:-1}renderBars(){this.barsContainer.innerHTML="",this.bars=this.options.map((t,e)=>{const r=document.createElement("div");return r.classList.add("bar"),r.classList.toggle("filled",e<=this.#t),this.barsContainer.appendChild(r),r})}init(){super.init?.(),this.getCalcScoreFn()}async onValueChange(){const t=await this.calcScore();t!==this.#t&&(this.#t=t,this.dispatchEvent(new CustomEvent("score-changed",{bubbles:!0,composed:!0,detail:this.#t})),this.bars?.forEach((t,e)=>{t.classList.toggle("filled",e<=this.#t)}),this.textContainer.innerHTML=this.options[this.#t]||"",-1===this.#t?this.removeAttribute("score"):this.setAttribute("score",this.#t))}attributeChangedCallback(t,e,r){if(e!==r)return"options"===t?this.renderBars():"value"===t?this.onValueChange():void 0}}const{host:l,bar:h,filledBar:p,barsContainer:d,text:b}={host:{selector:()=>":host"},bar:{selector:" .bar"},barsContainer:{selector:" .bars-container"},filledBar:{selector:" .bar.filled"},text:{selector:" .text-container"}},u=(0,i.Zz)((0,o.RF)({componentNameOverride:(0,s.xE)("input-wrapper")}),(0,o.RF)({mappings:{hostWidth:[{...l,property:"width"},{...l,property:"min-width"}],hostDirection:{...l,property:"direction"},hostMinWidth:{...l,property:"min-width"},barHeight:{...h,property:"height"},barBorderRadius:{...h,property:"border-radius"},emptyBarColor:{...h,property:"background-color"},filledBarColor:{...p,property:"background-color"},textColor:{...b,property:"color"},spacing:{property:"gap"},barSpacing:{...d,property:"gap"},fontSize:{},fontWeight:{},fontFamily:{},barTransition:{...h,property:"transition"}}}),o.VO,o.tQ)(c);customElements.define(a,u)}}]);
1
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[3241,9458],{13241(t,e,r){r.r(e),r.d(e,{PasswordStrengthClass:()=>u,componentName:()=>a});var n=r(72270),s=r(25964),o=r(88961),i=r(63200);const a=(0,s.xE)("password-strength");class c extends((0,n.qu)({componentName:a,baseSelector:":host > .wrapper"})){static get observedAttributes(){return["options","value"]}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML='\n <div class="wrapper">\n <div class="bars-container"></div>\n <div class="text-container">\n </div>\n </div>\n\t\t',(0,s.fz)("\n :host {\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\n .wrapper {\n display: inline-flex;\n position: relative;\n flex-direction: column;\n width: 100%;\n height: 100%;\n align-items: flex-start;\n }\n\n .bar {\n flex-grow: 1;\n }\n\n .bars-container {\n display: flex;\n flex-grow: 1;\n width: 100%;\n }\n ",this),this.barsContainer=this.shadowRoot.querySelector(".bars-container"),this.textContainer=this.shadowRoot.querySelector(".text-container")}get options(){return this.getAttribute("options")?.split(",")||[]}getCalcScoreFn=()=>Promise.all([r.e(7668),r.e(1050)]).then(r.bind(r,91050)).then(t=>t.default);#t=-1;async calcScore(){const t=this.getAttribute("value")||"";return t?(await this.getCalcScoreFn())(t).score:-1}renderBars(){this.barsContainer.innerHTML="",this.bars=this.options.map((t,e)=>{const r=document.createElement("div");return r.classList.add("bar"),r.classList.toggle("filled",e<=this.#t),this.barsContainer.appendChild(r),r})}init(){super.init?.(),this.getCalcScoreFn()}async onValueChange(){const t=await this.calcScore();t!==this.#t&&(this.#t=t,this.dispatchEvent(new CustomEvent("score-changed",{bubbles:!0,composed:!0,detail:this.#t})),this.bars?.forEach((t,e)=>{t.classList.toggle("filled",e<=this.#t)}),this.textContainer.innerHTML=this.options[this.#t]||"",-1===this.#t?this.removeAttribute("score"):this.setAttribute("score",this.#t))}attributeChangedCallback(t,e,r){if(e!==r)return"options"===t?this.renderBars():"value"===t?this.onValueChange():void 0}}const{host:l,bar:h,filledBar:p,barsContainer:d,text:b}={host:{selector:()=>":host"},bar:{selector:" .bar"},barsContainer:{selector:" .bars-container"},filledBar:{selector:" .bar.filled"},text:{selector:" .text-container"}},u=(0,i.Zz)((0,o.RF)({componentNameOverride:(0,s.xE)("input-wrapper")}),(0,o.RF)({mappings:{hostWidth:[{...l,property:"width"},{...l,property:"min-width"}],hostDirection:{...l,property:"direction"},hostMinWidth:{...l,property:"min-width"},barHeight:{...h,property:"height"},barBorderRadius:{...h,property:"border-radius"},emptyBarColor:{...h,property:"background-color"},filledBarColor:{...p,property:"background-color"},textColor:{...b,property:"color"},spacing:{property:"gap"},barSpacing:{...d,property:"gap"},fontSize:{},fontWeight:{},fontFamily:{},barTransition:{...h,property:"transition"}}}),o.VO,o.tQ)(c);customElements.define(a,u)}}]);
2
2
  //# sourceMappingURL=3241.js.map
package/dist/umd/5414.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /*! For license information please see 5414.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[5414],{25414(e,t,n){n.d(t,{A:()=>ne});const{entries:o,setPrototypeOf:r,isFrozen:i,getPrototypeOf:a,getOwnPropertyDescriptor:l}=Object;let{freeze:c,seal:s,create:u}=Object,{apply:m,construct:p}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e){return e}),s||(s=function(e){return e}),m||(m=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e.apply(t,o)}),p||(p=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return new e(...n)});const f=C(Array.prototype.forEach),d=C(Array.prototype.lastIndexOf),h=C(Array.prototype.pop),g=C(Array.prototype.push),T=C(Array.prototype.splice),y=C(String.prototype.toLowerCase),E=C(String.prototype.toString),A=C(String.prototype.match),_=C(String.prototype.replace),b=C(String.prototype.indexOf),S=C(String.prototype.trim),N=C(Object.prototype.hasOwnProperty),w=C(RegExp.prototype.test),R=(D=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return p(D,t)});var D;function C(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return m(e,t,o)}}function O(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;r&&r(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(i(t)||(t[o]=e),r=e)}e[r]=!0}return e}function k(e){for(let t=0;t<e.length;t++)N(e,t)||(e[t]=null);return e}function v(e){const t=u(null);for(const[n,r]of o(e))N(e,n)&&(Array.isArray(r)?t[n]=k(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=v(r):t[n]=r);return t}function L(e,t){for(;null!==e;){const n=l(e,t);if(n){if(n.get)return C(n.get);if("function"==typeof n.value)return C(n.value)}e=a(e)}return function(){return null}}const x=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),z=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),P=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=c(["#text"]),H=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),B=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),G=c(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),W=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=s(/<%[\w\W]*|[\w\W]*%>/gm),X=s(/\$\{[\w\W]*/gm),q=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),$=s(/^aria-[\-\w]+$/),K=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),V=s(/^(?:\w+script|data):/i),Z=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=s(/^html$/i),Q=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:$,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:Q,DATA_ATTR:q,DOCTYPE_NAME:J,ERB_EXPR:j,IS_ALLOWED_URI:K,IS_SCRIPT_OR_DATA:V,MUSTACHE_EXPR:Y,TMPLIT_EXPR:X});const te=function(){return"undefined"==typeof window?null:window};var ne=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const n=t=>e(t);if(n.version="3.4.0",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,a=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:s,Node:m,Element:p,NodeFilter:D,NamedNodeMap:C=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:k,DOMParser:Y,trustedTypes:j}=t,X=p.prototype,q=L(X,"cloneNode"),$=L(X,"remove"),V=L(X,"nextSibling"),Z=L(X,"childNodes"),Q=L(X,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ne,oe="";const{implementation:re,createNodeIterator:ie,createDocumentFragment:ae,getElementsByTagName:le}=r,{importNode:ce}=i;let se={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof o&&"function"==typeof Q&&re&&void 0!==re.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:me,TMPLIT_EXPR:pe,DATA_ATTR:fe,ARIA_ATTR:de,IS_SCRIPT_OR_DATA:he,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:Te}=ee;let{IS_ALLOWED_URI:ye}=ee,Ee=null;const Ae=O({},[...x,...I,...M,...z,...F]);let _e=null;const be=O({},[...H,...B,...G,...W]);let Se=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ne=null,we=null;const Re=Object.seal(u(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let De=!0,Ce=!0,Oe=!1,ke=!0,ve=!1,Le=!0,xe=!1,Ie=!1,Me=!1,Ue=!1,ze=!1,Pe=!1,Fe=!0,He=!1,Be=!0,Ge=!1,We={},Ye=null;const je=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Xe=null;const qe=O({},["audio","video","img","source","image","track"]);let $e=null;const Ke=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ve="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let Qe=Je,et=!1,tt=null;const nt=O({},[Ve,Ze,Je],E);let ot=O({},["mi","mo","mn","ms","mtext"]),rt=O({},["annotation-xml"]);const it=O({},["title","style","font","a","script"]);let at=null;const lt=["application/xhtml+xml","text/html"];let ct=null,st=null;const ut=r.createElement("form"),mt=function(e){return e instanceof RegExp||e instanceof Function},pt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!st||st!==e){if(e&&"object"==typeof e||(e={}),e=v(e),at=-1===lt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ct="application/xhtml+xml"===at?E:y,Ee=N(e,"ALLOWED_TAGS")?O({},e.ALLOWED_TAGS,ct):Ae,_e=N(e,"ALLOWED_ATTR")?O({},e.ALLOWED_ATTR,ct):be,tt=N(e,"ALLOWED_NAMESPACES")?O({},e.ALLOWED_NAMESPACES,E):nt,$e=N(e,"ADD_URI_SAFE_ATTR")?O(v(Ke),e.ADD_URI_SAFE_ATTR,ct):Ke,Xe=N(e,"ADD_DATA_URI_TAGS")?O(v(qe),e.ADD_DATA_URI_TAGS,ct):qe,Ye=N(e,"FORBID_CONTENTS")?O({},e.FORBID_CONTENTS,ct):je,Ne=N(e,"FORBID_TAGS")?O({},e.FORBID_TAGS,ct):v({}),we=N(e,"FORBID_ATTR")?O({},e.FORBID_ATTR,ct):v({}),We=!!N(e,"USE_PROFILES")&&e.USE_PROFILES,De=!1!==e.ALLOW_ARIA_ATTR,Ce=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ke=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ve=e.SAFE_FOR_TEMPLATES||!1,Le=!1!==e.SAFE_FOR_XML,xe=e.WHOLE_DOCUMENT||!1,Ue=e.RETURN_DOM||!1,ze=e.RETURN_DOM_FRAGMENT||!1,Pe=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,He=e.SANITIZE_NAMED_PROPS||!1,Be=!1!==e.KEEP_CONTENT,Ge=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||K,Qe=e.NAMESPACE||Je,ot=e.MATHML_TEXT_INTEGRATION_POINTS||ot,rt=e.HTML_INTEGRATION_POINTS||rt,Se=e.CUSTOM_ELEMENT_HANDLING||u(null),e.CUSTOM_ELEMENT_HANDLING&&mt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&mt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ve&&(Ce=!1),ze&&(Ue=!0),We&&(Ee=O({},F),_e=u(null),!0===We.html&&(O(Ee,x),O(_e,H)),!0===We.svg&&(O(Ee,I),O(_e,B),O(_e,W)),!0===We.svgFilters&&(O(Ee,M),O(_e,B),O(_e,W)),!0===We.mathMl&&(O(Ee,z),O(_e,G),O(_e,W))),Re.tagCheck=null,Re.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Re.tagCheck=e.ADD_TAGS:(Ee===Ae&&(Ee=v(Ee)),O(Ee,e.ADD_TAGS,ct))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Re.attributeCheck=e.ADD_ATTR:(_e===be&&(_e=v(_e)),O(_e,e.ADD_ATTR,ct))),e.ADD_URI_SAFE_ATTR&&O($e,e.ADD_URI_SAFE_ATTR,ct),e.FORBID_CONTENTS&&(Ye===je&&(Ye=v(Ye)),O(Ye,e.FORBID_CONTENTS,ct)),e.ADD_FORBID_CONTENTS&&(Ye===je&&(Ye=v(Ye)),O(Ye,e.ADD_FORBID_CONTENTS,ct)),Be&&(Ee["#text"]=!0),xe&&O(Ee,["html","head","body"]),Ee.table&&(O(Ee,["tbody"]),delete Ne.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw R('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw R('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ne=e.TRUSTED_TYPES_POLICY,oe=ne.createHTML("")}else void 0===ne&&(ne=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(j,a)),null!==ne&&"string"==typeof oe&&(oe=ne.createHTML(""));c&&c(e),st=e}},ft=O({},[...I,...M,...U]),dt=O({},[...z,...P]),ht=function(e){g(n.removed,{element:e});try{Q(e).removeChild(e)}catch(t){$(e)}},gt=function(e,t){try{g(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Ue||ze)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Tt=function(e){let t=null,n=null;if(Me)e="<remove></remove>"+e;else{const t=A(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===at&&Qe===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ne?ne.createHTML(e):e;if(Qe===Je)try{t=(new Y).parseFromString(o,at)}catch(e){}if(!t||!t.documentElement){t=re.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=et?oe:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Qe===Je?le.call(t,xe?"html":"body")[0]:xe?t.documentElement:i},yt=function(e){return ie.call(e.ownerDocument||e,e,D.SHOW_ELEMENT|D.SHOW_COMMENT|D.SHOW_TEXT|D.SHOW_PROCESSING_INSTRUCTION|D.SHOW_CDATA_SECTION,null)},Et=function(e){return e instanceof k&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof C)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},At=function(e){return"function"==typeof m&&e instanceof m};function _t(e,t,o){f(e,e=>{e.call(n,t,o,st)})}const bt=function(e){let t=null;if(_t(se.beforeSanitizeElements,e,null),Et(e))return ht(e),!0;const o=ct(e.nodeName);if(_t(se.uponSanitizeElement,e,{tagName:o,allowedTags:Ee}),Le&&e.hasChildNodes()&&!At(e.firstElementChild)&&w(/<[/\w!]/g,e.innerHTML)&&w(/<[/\w!]/g,e.textContent))return ht(e),!0;if(Le&&e.namespaceURI===Je&&"style"===o&&At(e.firstElementChild))return ht(e),!0;if(7===e.nodeType)return ht(e),!0;if(Le&&8===e.nodeType&&w(/<[/\w]/g,e.data))return ht(e),!0;if(Ne[o]||!(Re.tagCheck instanceof Function&&Re.tagCheck(o))&&!Ee[o]){if(!Ne[o]&&Nt(o)){if(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,o))return!1;if(Se.tagNameCheck instanceof Function&&Se.tagNameCheck(o))return!1}if(Be&&!Ye[o]){const t=Q(e)||e.parentNode,n=Z(e)||e.childNodes;if(n&&t)for(let o=n.length-1;o>=0;--o){const r=q(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,V(e))}}return ht(e),!0}return e instanceof p&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});const n=y(e.tagName),o=y(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Ze?t.namespaceURI===Je?"svg"===n:t.namespaceURI===Ve?"svg"===n&&("annotation-xml"===o||ot[o]):Boolean(ft[n]):e.namespaceURI===Ve?t.namespaceURI===Je?"math"===n:t.namespaceURI===Ze?"math"===n&&rt[o]:Boolean(dt[n]):e.namespaceURI===Je?!(t.namespaceURI===Ze&&!rt[o])&&!(t.namespaceURI===Ve&&!ot[o])&&!dt[n]&&(it[n]||!ft[n]):!("application/xhtml+xml"!==at||!tt[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!w(/<\/no(script|embed|frames)/i,e.innerHTML)?(ve&&3===e.nodeType&&(t=e.textContent,f([ue,me,pe],e=>{t=_(t,e," ")}),e.textContent!==t&&(g(n.removed,{element:e.cloneNode()}),e.textContent=t)),_t(se.afterSanitizeElements,e,null),!1):(ht(e),!0)},St=function(e,t,n){if(we[t])return!1;if(Fe&&("id"===t||"name"===t)&&(n in r||n in ut))return!1;if(Ce&&!we[t]&&w(fe,t));else if(De&&w(de,t));else if(Re.attributeCheck instanceof Function&&Re.attributeCheck(t,e));else if(!_e[t]||we[t]){if(!(Nt(e)&&(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&w(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t,e))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,n)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(n))))return!1}else if($e[t]);else if(w(ye,_(n,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Xe[e])if(Oe&&!w(he,_(n,ge,"")));else if(n)return!1;return!0},Nt=function(e){return"annotation-xml"!==e&&A(e,Te)},wt=function(e){_t(se.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Et(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=ct(a),u=c;let m="value"===a?u:S(u);if(o.attrName=s,o.attrValue=m,o.keepAttr=!0,o.forceKeepAttr=void 0,_t(se.uponSanitizeAttribute,e,o),m=o.attrValue,!He||"id"!==s&&"name"!==s||(gt(a,e),m="user-content-"+m),Le&&w(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,m)){gt(a,e);continue}if("attributename"===s&&A(m,"href")){gt(a,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){gt(a,e);continue}if(!ke&&w(/\/>/i,m)){gt(a,e);continue}ve&&f([ue,me,pe],e=>{m=_(m,e," ")});const p=ct(e.nodeName);if(St(p,s,m)){if(ne&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(l);else switch(j.getAttributeType(p,s)){case"TrustedHTML":m=ne.createHTML(m);break;case"TrustedScriptURL":m=ne.createScriptURL(m)}if(m!==u)try{l?e.setAttributeNS(l,a,m):e.setAttribute(a,m),Et(e)?ht(e):h(n.removed)}catch(t){gt(a,e)}}else gt(a,e)}_t(se.afterSanitizeAttributes,e,null)},Rt=function(e){let t=null;const n=yt(e);for(_t(se.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)_t(se.uponSanitizeShadowNode,t,null),bt(t),wt(t),t.content instanceof l&&Rt(t.content);_t(se.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,r=null,a=null,c=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!At(e)){if("function"!=typeof e.toString)throw R("toString is not a function");if("string"!=typeof(e=e.toString()))throw R("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Ie||pt(t),n.removed=[],"string"==typeof e&&(Ge=!1),Ge){if(e.nodeName){const t=ct(e.nodeName);if(!Ee[t]||Ne[t])throw R("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof m)o=Tt("\x3c!----\x3e"),r=o.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?o=r:o.appendChild(r);else{if(!Ue&&!ve&&!xe&&-1===e.indexOf("<"))return ne&&Pe?ne.createHTML(e):e;if(o=Tt(e),!o)return Ue?null:Pe?oe:""}o&&Me&&ht(o.firstChild);const s=yt(Ge?e:o);for(;a=s.nextNode();)bt(a),wt(a),a.content instanceof l&&Rt(a.content);if(Ge)return e;if(Ue){if(ve){o.normalize();let e=o.innerHTML;f([ue,me,pe],t=>{e=_(e,t," ")}),o.innerHTML=e}if(ze)for(c=ae.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(_e.shadowroot||_e.shadowrootmode)&&(c=ce.call(i,c,!0)),c}let u=xe?o.outerHTML:o.innerHTML;return xe&&Ee["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&w(J,o.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+u),ve&&f([ue,me,pe],e=>{u=_(u,e," ")}),ne&&Pe?ne.createHTML(u):u},n.setConfig=function(){pt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ie=!0},n.clearConfig=function(){st=null,Ie=!1},n.isValidAttribute=function(e,t,n){st||pt({});const o=ct(e),r=ct(t);return St(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&g(se[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=d(se[e],t);return-1===n?void 0:T(se[e],n,1)[0]}return h(se[e])},n.removeHooks=function(e){se[e]=[]},n.removeAllHooks=function(){se={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()}}]);
2
+ "use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[5414],{25414(t,e,n){function o(t,e){this.v=t,this.k=e}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==e);c=!0);}catch(t){u=!0,r=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw r}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t){var e,n;function r(e,n){try{var a=t[e](n),l=a.value,c=l instanceof o;Promise.resolve(c?l.v:l).then(function(n){if(c){var o="return"===e&&l.k?e:"next";if(!l.k||n.done)return r(o,n);n=t[o](n).value}i(!!a.done,n)},function(t){r("throw",t)})}catch(t){i(2,t)}}function i(t,o){2===t?e.reject(o):e.resolve({value:o,done:t}),(e=e.next)?r(e.key,e.arg):n=null}this._invoke=function(t,o){return new Promise(function(i,a){var l={key:t,arg:o,resolve:i,reject:a,next:null};n?n=n.next=l:(e=n=l,r(t,o))})},"function"!=typeof t.return&&(this.return=void 0)}n.d(e,{A:()=>vt}),a.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(t){return this._invoke("next",t)},a.prototype.throw=function(t){return this._invoke("throw",t)},a.prototype.return=function(t){return this._invoke("return",t)};const l=Object.entries,c=Object.setPrototypeOf,u=Object.isFrozen,s=Object.getPrototypeOf,f=Object.getOwnPropertyDescriptor;let p=Object.freeze,m=Object.seal,d=Object.create,h="undefined"!=typeof Reflect&&Reflect,y=h.apply,g=h.construct;p||(p=function(t){return t}),m||(m=function(t){return t}),y||(y=function(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return t.apply(e,o)}),g||(g=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return new t(...n)});const b=B(Array.prototype.forEach);Array.prototype.indexOf;const S=B(Array.prototype.lastIndexOf),T=B(Array.prototype.pop),A=B(Array.prototype.push),w=B(Array.prototype.slice),v=B(Array.prototype.splice),E=Array.isArray,_=W(Set),x=B(Set.prototype.add),O=B(Set.prototype.has),k=B(String.prototype.toLowerCase),N=B(String.prototype.toString),D=B(String.prototype.match),C=B(String.prototype.replace),R=B(String.prototype.indexOf),I=B(String.prototype.trim),L=B(Number.prototype.toString),z=B(Boolean.prototype.toString),M="undefined"==typeof BigInt?null:B(BigInt.prototype.toString),P="undefined"==typeof Symbol?null:B(Symbol.prototype.toString),U=B(Object.prototype.hasOwnProperty),F=B(Object.prototype.toString),j=B(RegExp.prototype.test),H=W(TypeError);function B(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return y(t,e,o)}}function W(t){return function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return g(t,n)}}function Y(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k;if(c&&c(t,null),!E(e))return t;let o=e.length;for(;o--;){let r=e[o];if("string"==typeof r){const t=n(r);t!==r&&(u(e)||(e[o]=t),r=t)}t[r]=!0}return t}function G(t){for(let e=0;e<t.length;e++)U(t,e)||(t[e]=null);return t}function q(t){const e=d(null);for(const o of l(t)){var n=i(o,2);const r=n[0],a=n[1];U(t,r)&&(E(a)?e[r]=G(a):a&&"object"==typeof a&&a.constructor===Object?e[r]=q(a):e[r]=a)}return e}function $(t,e){for(;null!==t;){const n=f(t,e);if(n){if(n.get)return B(n.get);if("function"==typeof n.value)return B(n.value)}t=s(t)}return function(){return null}}const X=p(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),K=p(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),V=p(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Z=p(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),J=p(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Q=p(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),tt=p(["#text"]),et=p(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),nt=p(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ot=p(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),rt=p(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),it=m(/{{[\w\W]*|^[\w\W]*}}/g),at=m(/<%[\w\W]*|^[\w\W]*%>/g),lt=m(/\${[\w\W]*/g),ct=m(/^data-[\-\w.\u00B7-\uFFFF]+$/),ut=m(/^aria-[\-\w]+$/),st=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ft=m(/^(?:\w+script|data):/i),pt=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),mt=m(/^html$/i),dt=m(/^[a-z][.\w]*(-[.\w]+)+$/i),ht=m(/<[/\w!]/g),yt=m(/<[/\w]/g),gt=m(/<\/no(script|embed|frames)/i),bt=m(/\/>/i),St=p(Y({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),Tt=function(){return"undefined"==typeof window?null:window},At=function(t,e,n,o){return U(t,e)&&E(t[e])?Y(o.base?q(o.base):{},t[e],o.transform):n},wt=function(t,e,n){const o=U(t,e)?t[e]:void 0;return o&&"object"==typeof o?q(o):n()};var vt=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tt();const n=e=>t(e);if(n.version="3.4.17",n.removed=[],!e||!e.document||9!==e.document.nodeType||!e.Element)return n.isSupported=!1,n;let o=e.document;const r=o,i=r.currentScript;e.DocumentFragment;const a=e.HTMLTemplateElement,c=e.Node,u=e.Element,h=e.NodeFilter;void 0===e.NamedNodeMap&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const y=e.DOMParser,g=e.trustedTypes,W=u.prototype,G=$(W,"cloneNode"),vt=$(W,"remove"),Et=$(W,"removeAttributeNode"),_t=$(W,"nextSibling"),xt=$(W,"childNodes"),Ot=$(W,"parentNode"),kt=$(W,"shadowRoot"),Nt=$(W,"attributes"),Dt=c&&c.prototype?$(c.prototype,"nodeType"):null,Ct=c&&c.prototype?$(c.prototype,"nodeName"):null,Rt=c&&c.prototype?$(c.prototype,"ownerDocument"):null,It=function(t){return Dt?Dt(t):t.nodeType},Lt=function(t){return Ct?Ct(t):t.nodeName},zt=function(t){for(;null!==t;){const e=f(t,"namespaceURI");if(e)return e.get?B(e.get):null;t=s(t)}return null}(W),Mt=function(t){return zt?zt(t):t.namespaceURI};if("function"==typeof a){const t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let Pt,Ut,Ft="",jt=!1,Ht=0;const Bt=function(){if(Ht>0)throw H('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Wt=function(t){Bt(),Ht++;try{return Pt.createHTML(t)}finally{Ht--}},Yt=o,Gt=Yt.implementation,qt=Yt.createNodeIterator,$t=Yt.createDocumentFragment,Xt=Yt.getElementsByTagName,Kt=r.importNode;let Vt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof l&&"function"==typeof Ot&&Gt&&void 0!==Gt.createHTMLDocument;const Zt=it,Jt=at,Qt=lt,te=ct,ee=ut,ne=ft,oe=pt,re=dt;let ie=st,ae=null;const le=Y({},[...X,...K,...V,...J,...tt]);let ce=null;const ue=Y({},[...et,...nt,...ot,...rt]);let se=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),fe=null,pe=null;const me=Object.seal(d(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let de=!0,he=!0,ye=!1,ge=!0,be=!1,Se=!0,Te=!1,Ae=!1,we=null,ve=null,Ee=!1,_e=!1,xe=!1,Oe=!1,ke=!0,Ne=!1;const De="user-content-";let Ce=!0,Re=!1,Ie=null,Le={},ze=null;const Me=Y({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Pe=null;const Ue=Y({},["audio","video","img","source","image","track"]);let Fe=null;const je=Y({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),He="http://www.w3.org/1998/Math/MathML",Be="http://www.w3.org/2000/svg",We="http://www.w3.org/1999/xhtml";let Ye=We,Ge=!1,qe=null;const $e=Y({},[He,Be,We],N),Xe=p(["mi","mo","mn","ms","mtext"]);let Ke=Y({},Xe);const Ve=p(["annotation-xml"]);let Ze=Y({},Ve);const Je=Y({},["title","style","font","a","script"]);let Qe=null;const tn=["application/xhtml+xml","text/html"];let en=null,nn=null;const on=o.createElement("form"),rn=function(t){return t instanceof RegExp||t instanceof Function},an=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(nn&&nn===t)return;t&&"object"==typeof t||(t={}),t=q(t),Qe=-1===tn.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,en="application/xhtml+xml"===Qe?N:k,ae=At(t,"ALLOWED_TAGS",le,{transform:en}),ce=At(t,"ALLOWED_ATTR",ue,{transform:en}),qe=At(t,"ALLOWED_NAMESPACES",$e,{transform:N}),Fe=At(t,"ADD_URI_SAFE_ATTR",je,{transform:en,base:je}),Pe=At(t,"ADD_DATA_URI_TAGS",Ue,{transform:en,base:Ue}),ze=At(t,"FORBID_CONTENTS",Me,{transform:en}),fe=At(t,"FORBID_TAGS",q({}),{transform:en}),pe=At(t,"FORBID_ATTR",q({}),{transform:en}),Le=!!U(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?q(t.USE_PROFILES):t.USE_PROFILES),de=!1!==t.ALLOW_ARIA_ATTR,he=!1!==t.ALLOW_DATA_ATTR,ye=t.ALLOW_UNKNOWN_PROTOCOLS||!1,ge=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,be=t.SAFE_FOR_TEMPLATES||!1,Se=!1!==t.SAFE_FOR_XML,Te=t.WHOLE_DOCUMENT||!1,_e=t.RETURN_DOM||!1,xe=t.RETURN_DOM_FRAGMENT||!1,Oe=t.RETURN_TRUSTED_TYPE||!1,Ee=t.FORCE_BODY||!1,ke=!1!==t.SANITIZE_DOM,Ne=t.SANITIZE_NAMED_PROPS||!1,Ce=!1!==t.KEEP_CONTENT,Re=t.IN_PLACE||!1,ie=function(t){try{return j(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:st,Ye="string"==typeof t.NAMESPACE?t.NAMESPACE:We,Ke=wt(t,"MATHML_TEXT_INTEGRATION_POINTS",()=>Y({},Xe)),Ze=wt(t,"HTML_INTEGRATION_POINTS",()=>Y({},Ve));const e=wt(t,"CUSTOM_ELEMENT_HANDLING",()=>d(null));if(se=d(null),U(e,"tagNameCheck")&&rn(e.tagNameCheck)&&(se.tagNameCheck=e.tagNameCheck),U(e,"attributeNameCheck")&&rn(e.attributeNameCheck)&&(se.attributeNameCheck=e.attributeNameCheck),U(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(se.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),m(se),be&&(he=!1),xe&&(_e=!0),Le&&(ae=Y({},tt),ce=d(null),!0===Le.html&&(Y(ae,X),Y(ce,et)),!0===Le.svg&&(Y(ae,K),Y(ce,nt),Y(ce,rt)),!0===Le.svgFilters&&(Y(ae,V),Y(ce,nt),Y(ce,rt)),!0===Le.mathMl&&(Y(ae,J),Y(ce,ot),Y(ce,rt))),me.tagCheck=null,me.attributeCheck=null,U(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?me.tagCheck=t.ADD_TAGS:E(t.ADD_TAGS)&&(ae===le&&(ae=q(ae)),Y(ae,t.ADD_TAGS,en))),U(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?me.attributeCheck=t.ADD_ATTR:E(t.ADD_ATTR)&&(ce===ue&&(ce=q(ce)),Y(ce,t.ADD_ATTR,en))),U(t,"ADD_FORBID_CONTENTS")&&E(t.ADD_FORBID_CONTENTS)&&(ze===Me&&(ze=q(ze)),Y(ze,t.ADD_FORBID_CONTENTS,en)),Ce&&(ae["#text"]=!0),Te&&Y(ae,["html","head","body"]),ae.table&&(Y(ae,["tbody"]),delete fe.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw H('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw H('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=Pt;Pt=t.TRUSTED_TYPES_POLICY;try{Ft=Wt("")}catch(t){throw Pt=e,t}}else null===t.TRUSTED_TYPES_POLICY?(Pt=void 0,Ft=""):(void 0===Pt&&(jt||(Ut=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(n=e.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(g,i),jt=!0),Pt=Ut),Pt&&"string"==typeof Ft&&(Ft=Wt("")));p&&p(t),nn=t},ln=Y({},[...K,...V,...Z]),cn=Y({},[...J,...Q]),un=function(t){A(n.removed,{element:t});try{Ot(t).removeChild(t)}catch(e){if(vt(t),!Ot(t))throw H("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},sn=function(t,e,n){try{Et(t,e)}catch(e){try{t.removeAttribute(n)}catch(t){}}},fn=function(t){hn(t);const e=xt(t);e&&b(w(e),t=>{try{vt(t)}catch(t){}});const n=1===It(t)?Nt(t):null;if(n)for(let e=n.length-1;e>=0;--e){const o=n[e],r=o&&o.name;"string"==typeof r&&sn(t,o,r)}},pn=function(t,e,o){if(!o)try{o=e.getAttributeNode(t)}catch(t){o=null}A(n.removed,{attribute:o||null,from:e});try{o?Et(e,o):e.removeAttribute(t)}catch(n){try{e.removeAttribute(t)}catch(t){}}if("is"===t)if(_e||xe)try{un(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},mn=function(t){const e=Nt(t);if(e)for(let n=e.length-1;n>=0;--n){const o=e[n],r=o&&o.name;"string"!=typeof r||ce[en(r)]||sn(t,o,r)}},dn=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=[t];for(;o.length>0;){const t=o.pop();if(!1===e(t))continue;if(n&&1===It(t)){const e=kt(t);xn(e)&&o.push(e)}const r=xt(t);if(r)for(let t=r.length-1;t>=0;--t)o.push(r[t])}},hn=function(t){dn(t,t=>{1===It(t)&&mn(t)})},yn=function(t){const e=[];return dn(t,t=>{e.push(t)},!0),e},gn=function(t,e){let o=!1;return b(n.removed,e=>{e.element&&(o=o||e.element===t,hn(e.element))}),function(t,e){const n=_();b(yn(t),t=>{1===It(t)&&x(n,t)}),b(e,t=>{1!==It(t)||O(n,t)||mn(t)})}(t,e),o},bn=function(t,e,n,o){const r=An(t);let i;for(;i=r.nextNode();)O(o,i)&&!O(Ie,i)&&(e&&kn(Vt.uponSanitizeShadowNode,i,null),Rn(i,n),Fn(i,n),xn(i.content)&&jn(i.content))},Sn=function(t,e){return!!Se&&("patchsrc"===t||"for"===t&&"label"!==e&&"output"!==e)},Tn=function(t){let e=null,n=null;if(Ee)t="<remove></remove>"+t;else{const e=D(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Qe&&Ye===We&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=Pt?Wt(t):t;if(Ye===We)try{e=(new y).parseFromString(r,Qe)}catch(t){}if(!e||!e.documentElement){e=Gt.createDocument(Ye,"template",null);try{e.documentElement.innerHTML=Ge?Ft:r}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),Ye===We?Xt.call(e,Te?"html":"body")[0]:Te?e.documentElement:i},An=function(t){const e=Rt?Rt(t):t.ownerDocument;return qt.call(e||t,t,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},wn=function(t){return t=C(t,Zt," "),t=C(t,Jt," "),C(t,Qt," ")},vn=function(t){var e;En(t);const n=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");n&&b(n,t=>{xn(t.content)&&vn(t.content)})},En=function(t){t.normalize();const e=Rt?Rt(t):t.ownerDocument,n=qt.call(e||t,t,h.SHOW_TEXT|h.SHOW_COMMENT|h.SHOW_CDATA_SECTION|h.SHOW_PROCESSING_INSTRUCTION,null);let o=n.nextNode();for(;o;)o.data=wn(o.data),o=n.nextNode()},_n=function(t){const e=Ct?Ct(t):null;return"string"==typeof e&&"form"===en(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==Nt(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.removeAttributeNode||"function"!=typeof t.getAttributeNode||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==Dt(t)||t.childNodes!==xt(t))},xn=function(t){if(!Dt||"object"!=typeof t||null===t)return!1;try{return 11===Dt(t)}catch(t){return!1}},On=function(t){if(!Dt||"object"!=typeof t||null===t)return!1;try{return"number"==typeof Dt(t)}catch(t){return!1}};function kn(t,e,o){0!==t.length&&b(t,t=>{t.call(n,e,o,nn)})}const Nn=function(t,e){if(t instanceof RegExp)return j(t,e);if(t instanceof Function){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return Boolean(t(e,...o))}return!1},Dn=function(t,e,n,o){return 0===t.length?e:e===n||e===o?q(e):e},Cn=function(t,e){return t!==e&&null===Ot(t)&&(Re&&hn(t),!0)},Rn=function(t,e){if(Ie&&x(Ie,t),kn(Vt.beforeSanitizeElements,t,null),Cn(t,e))return!0;if(_n(t))return un(t),!0;const o=en(Lt(t));if(ae=Dn(Vt.uponSanitizeElement,ae,le,we),kn(Vt.uponSanitizeElement,t,{tagName:o,allowedTags:ae}),Cn(t,e))return!0;if(function(t,e){return!!(Se&&t.hasChildNodes()&&!On(t.firstElementChild)&&j(ht,t.textContent)&&j(ht,t.innerHTML))||!!(Se&&St[e]&&1===It(t)&&Mt(t)===We&&(On(t.firstElementChild)||"string"==typeof t.textContent&&j(ht,t.textContent)))||7===t.nodeType||!(!Se||8!==t.nodeType||!j(yt,t.data))}(t,o))return un(t),!0;if(fe[o]||!(me.tagCheck instanceof Function&&me.tagCheck(o))&&!ae[o]){const n=function(t,e,n){if(!fe[e]&&zn(e)&&Nn(se.tagNameCheck,e))return!1;if(Ce&&!ze[e]&&!ze[k(e)]){const e=Ot(t),o=xt(t);if(o&&e)for(let r=o.length-1;r>=0;--r){const i=t===n?G(o[r],!0):o[r];e.insertBefore(i,_t(t))}}return un(t),!0}(t,o,e);return!(!1!==n||(kn(Vt.afterSanitizeElements,t,null),!Cn(t,e)))||n}if(1===It(t)&&!function(t){const e=Mt(t),n=k(Lt(t)),o=Ot(t);let r,i;return o&&1===It(o)?(r={namespaceURI:Mt(o)},i=k(Lt(o))):(r={namespaceURI:Ye},i="template"),!!qe[e]&&(e===Be?function(t,e,n){return e.namespaceURI===We?"svg"===t:e.namespaceURI===He?"svg"===t&&("annotation-xml"===n||Ke[n]):Boolean(ln[t])}(n,r,i):e===He?function(t,e,n){return e.namespaceURI===We?"math"===t:e.namespaceURI===Be?"math"===t&&Ze[n]:Boolean(cn[t])}(n,r,i):e===We?function(t,e,n){return!(e.namespaceURI===Be&&!Ze[n])&&!(e.namespaceURI===He&&!Ke[n])&&!cn[t]&&(Je[t]||!ln[t])}(n,r,i):!("application/xhtml+xml"!==Qe||!qe[e]))}(t))return un(t),!0;if(("noscript"===o||"noembed"===o||"noframes"===o)&&j(gt,t.innerHTML))return un(t),!0;if(be&&3===t.nodeType){const e=wn(t.textContent);t.textContent!==e&&(A(n.removed,{element:t.cloneNode()}),t.textContent=e)}return kn(Vt.afterSanitizeElements,t,null),Cn(t,e)},In=function(t,e,n){if(pe[e])return!1;if(Sn(e,t))return!1;if(ke&&("id"===e||"name"===e)&&(n in o||n in on))return!1;const r=ce[e]||me.attributeCheck instanceof Function&&me.attributeCheck(e,t);return!(!he||!j(te,e))||!(!de||!j(ee,e))||(r?!(!Fe[e]&&!j(ie,C(n,oe,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==R(n,"data:")||!Pe[t])&&(!ye||j(ne,C(n,oe,"")))&&n):zn(t)&&Nn(se.tagNameCheck,t)&&Nn(se.attributeNameCheck,e,t)||"is"===e&&se.allowCustomizedBuiltInElements&&Nn(se.tagNameCheck,n))},Ln=Y({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),zn=function(t){return!Ln[k(t)]&&j(re,t)},Mn=function(t,e,n,o){if(Pt&&"object"==typeof g&&"function"==typeof g.getAttributeType&&!n)switch(g.getAttributeType(t,e)){case"TrustedHTML":return Wt(o);case"TrustedScriptURL":return function(t){Bt(),Ht++;try{return Pt.createScriptURL(t)}finally{Ht--}}(o)}return o},Pn=function(t,e,n,o){try{return n?t.setAttributeNS(n,e,o):t.setAttribute(e,o),!_n(t)||(un(t),!1)}catch(n){return pn(e,t),!1}},Un=function(t,e){return!(!Se||!j(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,e))||"attributename"===k(t)&&null!==D(e,"href")},Fn=function(t,e){if(kn(Vt.beforeSanitizeAttributes,t,null),Cn(t,e))return;const o=t.attributes;if(!o||_n(t))return;ce=Dn(Vt.uponSanitizeAttribute,ce,ue,ve);const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ce,forceKeepAttr:void 0};let i=o.length;const a=en(t.nodeName);for(;i--;){const e=o[i],l=e.name,c=e.namespaceURI,u=e.value,s=en(l),f=u;let p="value"===l?f:I(f),m=!1;r.attrName=s,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,kn(Vt.uponSanitizeAttribute,t,r),p=r.attrValue,!Ne||"id"!==s&&"name"!==s||0===R(p,De)||(pn(l,t,e),p=De+p,m=!0),Un(l,p)?pn(l,t,e):r.forceKeepAttr||(!r.keepAttr||!ge&&j(bt,p)?pn(l,t,e):(be&&(p=wn(p)),In(a,s,p)?(p=Mn(a,s,c,p),p!==f&&Pn(t,l,c,p)&&m&&T(n.removed)):pn(l,t,e)))}kn(Vt.afterSanitizeAttributes,t,null),Cn(t,e)},jn=function(t){let e=null;const n=An(t);for(kn(Vt.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(kn(Vt.uponSanitizeShadowNode,e,null),Rn(e,t),Fn(e,t),xn(e.content)&&jn(e.content),1===It(e)){const t=kt(e);xn(t)&&(Hn(t),jn(t))}be&&En(t),kn(Vt.afterSanitizeShadowDOM,t,null)},Hn=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){jn(t.shadow);continue}const n=t.node,o=1===It(n),r=xt(n);if(r)for(let t=r.length-1;t>=0;--t)e.push({node:r[t],shadow:null});if(o){const t=Ct?Ct(n):null;if("string"==typeof t&&"template"===en(t)){const t=n.content;xn(t)&&e.push({node:t,shadow:null})}}if(o){const t=kt(n);xn(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,i=null,a=null,l=null;if(Ge=!t,Ge&&(t="\x3c!--\x3e"),"string"!=typeof t&&!On(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return L(t);case"boolean":return z(t);case"bigint":return M?M(t):"0";case"symbol":return P?P(t):"Symbol()";case"undefined":default:return F(t);case"function":case"object":{if(null===t)return F(t);const e=t,n=$(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:F(t)}return F(t)}}}(t)))throw H("dirty is not a string, aborting");if(!n.isSupported)return t;Ae?(ae=we,ce=ve):an(e),(Vt.uponSanitizeElement.length>0||Vt.uponSanitizeAttribute.length>0)&&(ae=q(ae)),Vt.uponSanitizeAttribute.length>0&&(ce=q(ce)),n.removed=[];const c=Re&&"string"!=typeof t&&On(t);let u=[];const s=Ie;if(c){Se&&dn(t,t=>{const e=It(t);if(7===e||8===e&&j(yt,t.data)){try{vt(t)}catch(t){}return!1}if(1===e){const e=t,n=en(Lt(t));try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&Sn("for",n)&&e.removeAttribute("for")}catch(t){}}return!0});const e=Lt(t);if("string"==typeof e){const n=en(e);if(!ae[n]||fe[n])throw fn(t),H("root node is forbidden and cannot be sanitized in-place")}if(_n(t))throw fn(t),H("root node is clobbered and cannot be sanitized in-place");u=yn(t),Ie=_()}else if(On(t))o=Tn("\x3c!----\x3e"),i=o.ownerDocument.importNode(t,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i),Hn(o);else{if(!_e&&!be&&!Te&&-1===t.indexOf("<"))return Pt&&Oe?Wt(t):t;if(o=Tn(t),!o)return _e?null:Oe?Ft:""}o&&Ee&&un(o.firstChild);const f=c?t:o;try{c&&Hn(t);const e=An(f);for(;a=e.nextNode();)Rn(a,f),Fn(a,f),xn(a.content)&&jn(a.content);c&&function(t,e){const n=Ie;let o=null;const r=()=>(o||(o=_(),b(e,t=>{x(o,t)})),o);for(let e=0;;e++){const o=yn(t),i=[t];let a=!1;if(b(o,t=>{11===It(t)?A(i,t):a||O(n,t)||(a=O(r(),t))}),!a)return;if(e>=8)throw H("the tree kept changing during in-place sanitization; refusing to return it");b(i,(e,n)=>{bn(e,n>0,t,r())})}}(t,u)}catch(e){throw c&&(fn(t),gn(t,u)),e}finally{Ie=s}if(c){if(gn(t,u))throw H("a node selected for removal could not be safely returned; refusing to sanitize in place");return be&&vn(t),t}if(_e){if(be&&vn(o),xe)for(l=$t.call(o.ownerDocument);o.firstChild;)l.appendChild(o.firstChild);else l=o;return(ce.shadowroot||ce.shadowrootmode)&&(l=Kt.call(r,l,!0)),l}let p=Te?o.outerHTML:o.innerHTML;return Te&&ae["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&j(mt,o.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+p),be&&(p=wn(p)),Pt&&Oe?Wt(p):p},n.setConfig=function(){an(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ae=!0,we=ae,ve=ce},n.clearConfig=function(){nn=null,Ae=!1,we=null,ve=null,Pt=Ut,Ft=""},n.isValidAttribute=function(t,e,n){nn||an({});const o=en(t),r=en(e);return("string"!=typeof n||!(Un(e,n)||!ge&&j(bt,n)))&&In(o,r,n)},n.addHook=function(t,e){"function"==typeof e&&U(Vt,t)&&A(Vt[t],e)},n.removeHook=function(t,e){if(U(Vt,t)){if(void 0!==e){const n=S(Vt[t],e);return-1===n?void 0:v(Vt[t],n,1)[0]}return T(Vt[t])}},n.removeHooks=function(t){U(Vt,t)&&(Vt[t]=[])},n.removeAllHooks=function(){Vt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()}}]);
3
3
  //# sourceMappingURL=5414.js.map
@@ -1 +1,3 @@
1
- /*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */
1
+ /*! @license DOMPurify 3.4.17 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.17/LICENSE */
2
+
3
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */