@digital-realty/ui-knowledgebase 18.0.7 → 18.0.8-preview-sw.568824
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/ui-knowledgebase.js +58 -58
- package/package.json +1 -1
package/dist/ui-knowledgebase.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import{LitElement as e,css as t,html as n,nothing as r,svg as i}from"lit";import{customElement as a,property as o,state as s}from"lit/decorators.js";import{Router as c}from"@vaadin/router";import{unsafeHTML as l}from"lit/directives/unsafe-html.js";import"@digital-realty/ix-search-bar/ix-search-bar.js";import{styleMap as u}from"lit/directives/style-map.js";import{ifDefined as d}from"lit/directives/if-defined.js";import"@digital-realty/ix-icon/ix-icon.js";import"@digital-realty/ix-progress/ix-progress.js";import{repeat as f}from"lit/directives/repeat.js";import"@digital-realty/ix-button/ix-button.js";import{live as p}from"lit/directives/live.js";import"@digital-realty/ix-switch/ix-switch.js";var m=null;function ee(e,t,n){m=new c(e,{baseUrl:`/`}),m.setRoutes(n)}function te(){return m}function ne(){m?.unsubscribe(),m?.setRoutes([],!0),m=null}var h=window.registeredApps?.[`ui-knowledgebase`]?.path??`/knowledge-base`,re=e=>e===h||e.startsWith(`${h}/`);function g(e,t,n){if(e!=null){if(Array.isArray(e)){e.forEach((e,r)=>g(e,`${t}[${r}]`,n));return}if(typeof e==`object`){for(let[r,i]of Object.entries(e))i!==void 0&&g(i,`${t}[${r}]`,n);return}n.push(`${encodeURIComponent(t)}=${encodeURIComponent(String(e))}`)}}function ie(e){let t=[];for(let[n,r]of Object.entries(e))r!==void 0&&g(r,n,t);return t.length?`?${t.join(`&`)}`:``}function _(e,t){if(!e)return``;try{let n=new URL(t);if(![`http:`,`https:`].includes(n.protocol)||n.username||n.password)return``;n.pathname=`${n.pathname.replace(/\/$/,``)}/`,n.search=``,n.hash=``;let r=e.startsWith(`/`)&&!e.startsWith(`//`)?e.slice(1):e,i=new URL(r,n);if(![`http:`,`https:`].includes(i.protocol)||i.username||i.password)return``;let a=e=>[`localhost`,`127.0.0.1`,`[::1]`].includes(e)||e.endsWith(`.localhost`);return a(n.hostname)&&!a(i.hostname)?``:i.href}catch{return``}}function ae(e,t){this.v=e,this.k=t}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(e){if(Array.isArray(e))return e}function y(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function se(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ce(e,t){return v(e)||y(e,t)||le(e,t)||se()}function le(e,t){if(e){if(typeof e==`string`)return oe(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oe(e,t):void 0}}function ue(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof ae;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}ue.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},ue.prototype.next=function(e){return this._invoke(`next`,e)},ue.prototype.throw=function(e){return this._invoke(`throw`,e)},ue.prototype.return=function(e){return this._invoke(`return`,e)};var de=Object.entries,b=Object.setPrototypeOf,fe=Object.isFrozen,pe=Object.getPrototypeOf,me=Object.getOwnPropertyDescriptor,x=Object.freeze,S=Object.seal,he=Object.create,ge=typeof Reflect<`u`&&Reflect,_e=ge.apply,ve=ge.construct;x||=function(e){return e},S||=function(e){return e},_e||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},ve||=function(e){return new e(...[...arguments].slice(1))};var ye=D(Array.prototype.forEach);Array.prototype.indexOf;var be=D(Array.prototype.lastIndexOf),xe=D(Array.prototype.pop),Se=D(Array.prototype.push);Array.prototype.slice;var Ce=D(Array.prototype.splice),we=Array.isArray,Te=D(String.prototype.toLowerCase),Ee=D(String.prototype.toString),De=D(String.prototype.match),Oe=D(String.prototype.replace),ke=D(String.prototype.indexOf),Ae=D(String.prototype.trim),je=D(Number.prototype.toString),Me=D(Boolean.prototype.toString),C=typeof BigInt>`u`?null:D(BigInt.prototype.toString),Ne=typeof Symbol>`u`?null:D(Symbol.prototype.toString),w=D(Object.prototype.hasOwnProperty),Pe=D(Object.prototype.toString),T=D(RegExp.prototype.test),E=Fe(TypeError);function D(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return _e(e,t,n)}}function Fe(e){return function(){return ve(e,[...arguments])}}function O(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Te;if(b&&b(e,null),!we(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(fe(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Ie(e){for(let t=0;t<e.length;t++)w(e,t)||(e[t]=null);return e}function k(e){let t=he(null);for(let r of de(e)){var n=ce(r,2);let i=n[0],a=n[1];w(e,i)&&(t[i]=we(a)?Ie(a):a&&typeof a==`object`&&a.constructor===Object?k(a):a)}return t}function Le(e){switch(typeof e){case`string`:return e;case`number`:return je(e);case`boolean`:return Me(e);case`bigint`:return C?C(e):`0`;case`symbol`:return Ne?Ne(e):`Symbol()`;case`undefined`:return Pe(e);case`function`:case`object`:{if(e===null)return Pe(e);let t=e,n=A(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:Pe(e)}return Pe(e)}default:return Pe(e)}}function A(e,t){for(;e!==null;){let n=me(e,t);if(n){if(n.get)return D(n.get);if(typeof n.value==`function`)return D(n.value)}e=pe(e)}function n(){return null}return n}function Re(e){try{return T(e,``),!0}catch{return!1}}var ze=x(`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`.split(`.`)),Be=x(`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`.split(`.`)),Ve=x([`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`]),He=x([`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`]),Ue=x(`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`.split(`.`)),We=x([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),Ge=x([`#text`]),Ke=x(`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`.split(`.`)),qe=x(`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`.split(`.`)),Je=x(`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`.split(`.`)),Ye=x([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Xe=S(/{{[\w\W]*|^[\w\W]*}}/g),Ze=S(/<%[\w\W]*|^[\w\W]*%>/g),Qe=S(/\${[\w\W]*/g),$e=S(/^data-[\-\w.\u00B7-\uFFFF]+$/),et=S(/^aria-[\-\w]+$/),tt=S(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nt=S(/^(?:\w+script|data):/i),rt=S(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),it=S(/^html$/i),at=S(/^[a-z][.\w]*(-[.\w]+)+$/i),ot=S(/<[/\w!]/g),st=S(/<[/\w]/g),ct=S(/<\/no(script|embed|frames)/i),lt=S(/\/>/i),j={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ut=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],dt=x(O({},ut)),ft=function(){let e={};return ye(ut,t=>{e[t]=S(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),x(e)}(),pt=function(){return typeof window>`u`?null:window},mt=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},ht=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},gt=function(e,t,n,r){return w(e,t)&&we(e[t])?O(r.base?k(r.base):{},e[t],r.transform):n},_t=function(e,t,n){let r=w(e,t)?e[t]:void 0;return r&&typeof r==`object`?k(r):n()};function vt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pt(),t=e=>vt(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==j.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=A(d,`cloneNode`),p=A(d,`remove`),m=A(d,`removeAttributeNode`),ee=A(d,`nextSibling`),te=A(d,`childNodes`),ne=A(d,`parentNode`),h=A(d,`shadowRoot`),re=A(d,`attributes`),g=o&&o.prototype?A(o.prototype,`nodeType`):null,ie=o&&o.prototype?A(o.prototype,`nodeName`):null,_=o&&o.prototype?A(o.prototype,`ownerDocument`):null,ae=function(e){return g?g(e):e.nodeType},oe=function(e){return ie?ie(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let v,y=``,se,ce=!1,le=0,ue=function(){if(le>0)throw E(`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.`)},b=function(e){ue(),le++;try{return v.createHTML(e)}finally{le--}},fe=function(e){ue(),le++;try{return v.createScriptURL(e)}finally{le--}},pe=function(){return ce||=(se=mt(u,i),!0),se},me=n,ge=me.implementation,_e=me.createNodeIterator,ve=me.createDocumentFragment,je=me.getElementsByTagName,Me=r.importNode,C=ht();t.isSupported=typeof de==`function`&&typeof ne==`function`&&ge&&ge.createHTMLDocument!==void 0;let Ne=Xe,Pe=Ze,D=Qe,Fe=$e,Ie=et,ut=nt,yt=rt,bt=at,xt=tt,M=null,St=O({},[...ze,...Be,...Ve,...Ue,...Ge]),N=null,P=O({},[...Ke,...qe,...Je,...Ye]),F=Object.seal(he(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}})),I=null,Ct=null,L=Object.seal(he(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),wt=!0,R=!0,Tt=!1,Et=!0,z=!1,B=!0,V=!1,Dt=!1,Ot=null,kt=null,H=!1,U=!1,At=!1,jt=!1,Mt=!0,Nt=!1,Pt=`user-content-`,Ft=!0,It=!1,W={},G=null,Lt=O({},`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`.split(`.`)),K=null,Rt=O({},[`audio`,`video`,`img`,`source`,`image`,`track`]),zt=null,Bt=O({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Vt=`http://www.w3.org/1998/Math/MathML`,Ht=`http://www.w3.org/2000/svg`,q=`http://www.w3.org/1999/xhtml`,Ut=q,Wt=!1,Gt=null,Kt=O({},[Vt,Ht,q],Ee),qt=x([`mi`,`mo`,`mn`,`ms`,`mtext`]),Jt=O({},qt),Yt=x([`annotation-xml`]),Xt=O({},Yt),Zt=O({},[`title`,`style`,`font`,`a`,`script`]),Qt=null,$t=[`application/xhtml+xml`,`text/html`],J=null,en=null,tn=n.createElement(`form`),nn=function(e){return e instanceof RegExp||e instanceof Function},rn=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(en&&en===e)return;(!e||typeof e!=`object`)&&(e={}),e=k(e),Qt=$t.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,J=Qt===`application/xhtml+xml`?Ee:Te,M=gt(e,`ALLOWED_TAGS`,St,{transform:J}),N=gt(e,`ALLOWED_ATTR`,P,{transform:J}),Gt=gt(e,`ALLOWED_NAMESPACES`,Kt,{transform:Ee}),zt=gt(e,`ADD_URI_SAFE_ATTR`,Bt,{transform:J,base:Bt}),K=gt(e,`ADD_DATA_URI_TAGS`,Rt,{transform:J,base:Rt}),G=gt(e,`FORBID_CONTENTS`,Lt,{transform:J}),I=gt(e,`FORBID_TAGS`,k({}),{transform:J}),Ct=gt(e,`FORBID_ATTR`,k({}),{transform:J}),W=w(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?k(e.USE_PROFILES):e.USE_PROFILES:!1,wt=e.ALLOW_ARIA_ATTR!==!1,R=e.ALLOW_DATA_ATTR!==!1,Tt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Et=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,z=e.SAFE_FOR_TEMPLATES||!1,B=e.SAFE_FOR_XML!==!1,V=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,At=e.RETURN_DOM_FRAGMENT||!1,jt=e.RETURN_TRUSTED_TYPE||!1,H=e.FORCE_BODY||!1,Mt=e.SANITIZE_DOM!==!1,Nt=e.SANITIZE_NAMED_PROPS||!1,Ft=e.KEEP_CONTENT!==!1,It=e.IN_PLACE||!1,xt=Re(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:tt,Ut=typeof e.NAMESPACE==`string`?e.NAMESPACE:q,Jt=_t(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>O({},qt)),Xt=_t(e,`HTML_INTEGRATION_POINTS`,()=>O({},Yt));let t=_t(e,`CUSTOM_ELEMENT_HANDLING`,()=>he(null));if(F=he(null),w(t,`tagNameCheck`)&&nn(t.tagNameCheck)&&(F.tagNameCheck=t.tagNameCheck),w(t,`attributeNameCheck`)&&nn(t.attributeNameCheck)&&(F.attributeNameCheck=t.attributeNameCheck),w(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(F.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),S(F),z&&(R=!1),At&&(U=!0),W&&(M=O({},Ge),N=he(null),W.html===!0&&(O(M,ze),O(N,Ke)),W.svg===!0&&(O(M,Be),O(N,qe),O(N,Ye)),W.svgFilters===!0&&(O(M,Ve),O(N,qe),O(N,Ye)),W.mathMl===!0&&(O(M,Ue),O(N,Je),O(N,Ye))),L.tagCheck=null,L.attributeCheck=null,w(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?L.tagCheck=e.ADD_TAGS:we(e.ADD_TAGS)&&(M===St&&(M=k(M)),O(M,e.ADD_TAGS,J))),w(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?L.attributeCheck=e.ADD_ATTR:we(e.ADD_ATTR)&&(N===P&&(N=k(N)),O(N,e.ADD_ATTR,J))),w(e,`ADD_FORBID_CONTENTS`)&&we(e.ADD_FORBID_CONTENTS)&&(G===Lt&&(G=k(G)),O(G,e.ADD_FORBID_CONTENTS,J)),Ft&&(M[`#text`]=!0),V&&O(M,[`html`,`head`,`body`]),M.table&&(O(M,[`tbody`]),delete I.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw E(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw E(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=v;v=e.TRUSTED_TYPES_POLICY;try{y=b(``)}catch(e){throw v=t,e}}else e.TRUSTED_TYPES_POLICY===null?(v=void 0,y=``):(v===void 0&&(v=pe()),v&&typeof y==`string`&&(y=b(``)));x&&x(e),en=e},an=O({},[...Be,...Ve,...He]),on=O({},[...Ue,...We]),sn=function(e,t,n){return t.namespaceURI===q?e===`svg`:t.namespaceURI===Vt?e===`svg`&&(n===`annotation-xml`||Jt[n]):!!an[e]},cn=function(e,t,n){return t.namespaceURI===q?e===`math`:t.namespaceURI===Ht?e===`math`&&Xt[n]:!!on[e]},ln=function(e,t,n){return t.namespaceURI===Ht&&!Xt[n]||t.namespaceURI===Vt&&!Jt[n]?!1:!on[e]&&(Zt[e]||!an[e])},un=function(e){let t=ne(e);(!t||!t.tagName)&&(t={namespaceURI:Ut,tagName:`template`});let n=Te(e.tagName),r=Te(t.tagName);return Gt[e.namespaceURI]?e.namespaceURI===Ht?sn(n,t,r):e.namespaceURI===Vt?cn(n,t,r):e.namespaceURI===q?ln(n,t,r):!!(Qt===`application/xhtml+xml`&&Gt[e.namespaceURI]):!1},Y=function(e){Se(t.removed,{element:e});try{ne(e).removeChild(e)}catch{if(p(e),!ne(e))throw E(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},dn=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},fn=function(e){Z(e);let t=te(e);if(t){let e=[];ye(t,t=>{Se(e,t)}),ye(e,e=>{try{p(e)}catch{}})}let n=re(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&dn(e,r,i)}},X=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Se(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(U||At)try{Y(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},pn=function(e){let t=re(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||N[J(i)]||dn(e,r,i)}},Z=function(e){let t=[e];for(;t.length>0;){let e=t.pop();ae(e)===j.element&&pn(e);let n=te(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},mn=function(e,t){return B?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},hn=function(e){if(!B)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=ae(e);if(n===j.processingInstruction||n===j.comment&&T(st,e.data)){try{p(e)}catch{}continue}if(n===j.element){let t=e,n=J(oe(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&mn(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=te(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},gn=function(e){let t=null,r=null;if(H)e=`<remove></remove>`+e;else{let t=De(e,/^[\r\n\t ]+/);r=t&&t[0]}Qt===`application/xhtml+xml`&&Ut===q&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=v?b(e):e;if(Ut===q)try{t=new l().parseFromString(i,Qt)}catch{}if(!t||!t.documentElement){t=ge.createDocument(Ut,`template`,null);try{t.documentElement.innerHTML=Wt?y:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ut===q?je.call(t,V?`html`:`body`)[0]:V?t.documentElement:a},_n=function(e){let t=_?_(e):e.ownerDocument;return _e.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},vn=function(e){return e=Oe(e,Ne,` `),e=Oe(e,Pe,` `),e=Oe(e,D,` `),e},yn=function(e){e.normalize();let t=_?_(e):e.ownerDocument,n=_e.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=vn(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&ye(i,e=>{xn(e.content)&&yn(e.content)})},bn=function(e){let t=ie?ie(e):null;return typeof t!=`string`||J(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==re(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==g(e)||e.childNodes!==te(e)},xn=function(e){if(!g||typeof e!=`object`||!e)return!1;try{return g(e)===j.documentFragment}catch{return!1}},Sn=function(e){if(!g||typeof e!=`object`||!e)return!1;try{return typeof g(e)==`number`}catch{return!1}};function Q(e,n,r){e.length!==0&&ye(e,e=>{e.call(t,n,r,en)})}let Cn=function(e,t){return!!(B&&e.hasChildNodes()&&!Sn(e.firstElementChild)&&T(ot,e.textContent)&&T(ot,e.innerHTML)||B&&e.namespaceURI===q&&dt[t]&&(Sn(e.firstElementChild)||typeof e.textContent==`string`&&T(ft[t],e.textContent))||e.nodeType===j.processingInstruction||B&&e.nodeType===j.comment&&T(st,e.data))},wn=function(e,t){return e instanceof RegExp?T(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},Tn=function(e,t,n){if(!I[t]&&jn(t)&&wn(F.tagNameCheck,t))return!1;if(Ft&&!G[t]){let t=ne(e),r=te(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,ee(e))}}}return Y(e),!0},En=function(e,t,n,r){return e.length===0?t:t===n||t===r?k(t):t},Dn=function(e,t){return e===t||ne(e)!==null?!1:(It&&Z(e),!0)},On=function(e,n){if(Q(C.beforeSanitizeElements,e,null),Dn(e,n))return!0;if(bn(e))return Y(e),!0;let r=J(oe(e));if(M=En(C.uponSanitizeElement,M,St,Ot),Q(C.uponSanitizeElement,e,{tagName:r,allowedTags:M}),Dn(e,n))return!0;if(Cn(e,r))return Y(e),!0;if(I[r]||!(L.tagCheck instanceof Function&&L.tagCheck(r))&&!M[r]){let t=Tn(e,r,n);return t===!1&&(Q(C.afterSanitizeElements,e,null),Dn(e,n))?!0:t}if(ae(e)===j.element&&!un(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&T(ct,e.innerHTML))return Y(e),!0;if(z&&e.nodeType===j.text){let n=vn(e.textContent);e.textContent!==n&&(Se(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Q(C.afterSanitizeElements,e,null),Dn(e,n)},kn=function(e,t,r){if(Ct[t]||mn(t,e)||Mt&&(t===`id`||t===`name`)&&(r in n||r in tn))return!1;let i=N[t]||L.attributeCheck instanceof Function&&L.attributeCheck(t,e);return R&&T(Fe,t)||wt&&T(Ie,t)?!0:i?zt[t]||T(xt,Oe(r,yt,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&ke(r,`data:`)===0&&K[e]||Tt&&!T(ut,Oe(r,yt,``))?!0:!r:jn(e)&&wn(F.tagNameCheck,e)&&wn(F.attributeNameCheck,t,e)||t===`is`&&F.allowCustomizedBuiltInElements&&wn(F.tagNameCheck,r)},An=O({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),jn=function(e){return!An[Te(e)]&&T(bt,e)},Mn=function(e,t,n,r){if(v&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return b(r);case`TrustedScriptURL`:return fe(r)}return r},Nn=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!bn(e)||(Y(e),!1)}catch{return X(t,e),!1}},Pn=function(e,n){if(Q(C.beforeSanitizeAttributes,e,null),Dn(e,n))return;let r=e.attributes;if(!r||bn(e))return;N=En(C.uponSanitizeAttribute,N,P,kt);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:N,forceKeepAttr:void 0},a=r.length,o=J(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=J(s),d=l,f=s===`value`?d:Ae(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,Q(C.uponSanitizeAttribute,e,i),f=i.attrValue,Nt&&(u===`id`||u===`name`)&&ke(f,Pt)!==0&&(X(s,e,n),f=Pt+f,p=!0),B&&T(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){X(s,e,n);continue}if(u===`attributename`&&De(f,`href`)){X(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){X(s,e,n);continue}if(!Et&&T(lt,f)){X(s,e,n);continue}if(z&&(f=vn(f)),!kn(o,u,f)){X(s,e,n);continue}f=Mn(o,u,c,f),f!==d&&Nn(e,s,c,f)&&p&&xe(t.removed)}}Q(C.afterSanitizeAttributes,e,null),Dn(e,n)},Fn=function(e){let t=null,n=_n(e);for(Q(C.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Q(C.uponSanitizeShadowNode,t,null),On(t,e),Pn(t,e),xn(t.content)&&Fn(t.content),ae(t)===j.element){let e=h(t);xn(e)&&(In(e),Fn(e))}Q(C.afterSanitizeShadowDOM,e,null)},In=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Fn(e.shadow);continue}let n=e.node,r=ae(n)===j.element,i=te(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=ie?ie(n):null;if(typeof e==`string`&&J(e)===`template`){let e=n.content;xn(e)&&t.push({node:e,shadow:null})}}if(r){let e=h(n);xn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Wt=!e,Wt&&(e=`<!-->`),typeof e!=`string`&&!Sn(e)&&(e=Le(e),typeof e!=`string`))throw E(`dirty is not a string, aborting`);if(!t.isSupported)return e;Dt?(M=Ot,N=kt):rn(n),(C.uponSanitizeElement.length>0||C.uponSanitizeAttribute.length>0)&&(M=k(M)),C.uponSanitizeAttribute.length>0&&(N=k(N)),t.removed=[];let c=It&&typeof e!=`string`&&Sn(e);if(c){hn(e);let t=oe(e);if(typeof t==`string`){let n=J(t);if(!M[n]||I[n])throw fn(e),E(`root node is forbidden and cannot be sanitized in-place`)}if(bn(e))throw fn(e),E(`root node is clobbered and cannot be sanitized in-place`);try{In(e)}catch(t){throw fn(e),t}}else if(Sn(e))i=gn(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===j.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),In(i);else{if(!U&&!z&&!V&&e.indexOf(`<`)===-1)return v&&jt?b(e):e;if(i=gn(e),!i)return U?null:jt?y:``}i&&H&&Y(i.firstChild);let l=c?e:i;try{let e=_n(l);for(;o=e.nextNode();)On(o,l),Pn(o,l),xn(o.content)&&Fn(o.content)}catch(n){throw c&&(fn(e),ye(t.removed,e=>{e.element&&Z(e.element)})),n}if(c){let n=!1;if(ye(t.removed,t=>{t.element&&(t.element===e&&(n=!0),Z(t.element))}),n)throw E(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return z&&yn(e),e}if(U){if(z&&yn(i),At)for(s=ve.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(N.shadowroot||N.shadowrootmode)&&(s=Me.call(r,s,!0)),s}let u=V?i.outerHTML:i.innerHTML;return V&&M[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&T(it,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
3
|
-
`+u),
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ce(e,t){return v(e)||y(e,t)||le(e,t)||se()}function le(e,t){if(e){if(typeof e==`string`)return oe(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oe(e,t):void 0}}function ue(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof ae;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}ue.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},ue.prototype.next=function(e){return this._invoke(`next`,e)},ue.prototype.throw=function(e){return this._invoke(`throw`,e)},ue.prototype.return=function(e){return this._invoke(`return`,e)};var de=Object.entries,fe=Object.setPrototypeOf,pe=Object.isFrozen,me=Object.getPrototypeOf,he=Object.getOwnPropertyDescriptor,b=Object.freeze,x=Object.seal,ge=Object.create,_e=typeof Reflect<`u`&&Reflect,ve=_e.apply,ye=_e.construct;b||=function(e){return e},x||=function(e){return e},ve||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},ye||=function(e){return new e(...[...arguments].slice(1))};var be=T(Array.prototype.forEach);Array.prototype.indexOf;var xe=T(Array.prototype.lastIndexOf),Se=T(Array.prototype.pop),Ce=T(Array.prototype.push);Array.prototype.slice;var we=T(Array.prototype.splice),Te=Array.isArray,Ee=T(String.prototype.toLowerCase),De=T(String.prototype.toString),Oe=T(String.prototype.match),ke=T(String.prototype.replace),Ae=T(String.prototype.indexOf),je=T(String.prototype.trim),Me=T(Number.prototype.toString),Ne=T(Boolean.prototype.toString),S=typeof BigInt>`u`?null:T(BigInt.prototype.toString),Pe=typeof Symbol>`u`?null:T(Symbol.prototype.toString),C=T(Object.prototype.hasOwnProperty),Fe=T(Object.prototype.toString),w=T(RegExp.prototype.test),Ie=Le(TypeError);function T(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return ve(e,t,n)}}function Le(e){return function(){return ye(e,[...arguments])}}function E(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ee;if(fe&&fe(e,null),!Te(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(pe(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Re(e){for(let t=0;t<e.length;t++)C(e,t)||(e[t]=null);return e}function D(e){let t=ge(null);for(let r of de(e)){var n=ce(r,2);let i=n[0],a=n[1];C(e,i)&&(t[i]=Te(a)?Re(a):a&&typeof a==`object`&&a.constructor===Object?D(a):a)}return t}function ze(e){switch(typeof e){case`string`:return e;case`number`:return Me(e);case`boolean`:return Ne(e);case`bigint`:return S?S(e):`0`;case`symbol`:return Pe?Pe(e):`Symbol()`;case`undefined`:return Fe(e);case`function`:case`object`:{if(e===null)return Fe(e);let t=e,n=O(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:Fe(e)}return Fe(e)}default:return Fe(e)}}function O(e,t){for(;e!==null;){let n=he(e,t);if(n){if(n.get)return T(n.get);if(typeof n.value==`function`)return T(n.value)}e=me(e)}function n(){return null}return n}function Be(e){try{return w(e,``),!0}catch{return!1}}var Ve=b(`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`.split(`.`)),He=b(`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`.split(`.`)),Ue=b([`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`]),We=b([`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`]),Ge=b(`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`.split(`.`)),Ke=b([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),qe=b([`#text`]),Je=b(`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`.split(`.`)),Ye=b(`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`.split(`.`)),Xe=b(`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`.split(`.`)),Ze=b([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Qe=x(/{{[\w\W]*|^[\w\W]*}}/g),$e=x(/<%[\w\W]*|^[\w\W]*%>/g),et=x(/\${[\w\W]*/g),tt=x(/^data-[\-\w.\u00B7-\uFFFF]+$/),nt=x(/^aria-[\-\w]+$/),rt=x(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),it=x(/^(?:\w+script|data):/i),at=x(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ot=x(/^html$/i),st=x(/^[a-z][.\w]*(-[.\w]+)+$/i),ct=x(/<[/\w!]/g),lt=x(/<[/\w]/g),ut=x(/<\/no(script|embed|frames)/i),dt=x(/\/>/i),k={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ft=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],pt=b(E({},ft)),mt=function(){let e={};return be(ft,t=>{e[t]=x(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),b(e)}(),ht=function(){return typeof window>`u`?null:window},gt=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},_t=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},A=function(e,t,n,r){return C(e,t)&&Te(e[t])?E(r.base?D(r.base):{},e[t],r.transform):n},vt=function(e,t,n){let r=C(e,t)?e[t]:void 0;return r&&typeof r==`object`?D(r):n()};function yt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ht(),t=e=>yt(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==k.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=O(d,`cloneNode`),p=O(d,`remove`),m=O(d,`removeAttributeNode`),ee=O(d,`nextSibling`),te=O(d,`childNodes`),ne=O(d,`parentNode`),h=O(d,`shadowRoot`),re=O(d,`attributes`),g=o&&o.prototype?O(o.prototype,`nodeType`):null,ie=o&&o.prototype?O(o.prototype,`nodeName`):null,_=o&&o.prototype?O(o.prototype,`ownerDocument`):null,ae=function(e){return g?g(e):e.nodeType},oe=function(e){return ie?ie(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let v,y=``,se,ce=!1,le=0,ue=function(){if(le>0)throw Ie(`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.`)},fe=function(e){ue(),le++;try{return v.createHTML(e)}finally{le--}},pe=function(e){ue(),le++;try{return v.createScriptURL(e)}finally{le--}},me=function(){return ce||=(se=gt(u,i),!0),se},he=n,_e=he.implementation,ve=he.createNodeIterator,ye=he.createDocumentFragment,Me=he.getElementsByTagName,Ne=r.importNode,S=_t();t.isSupported=typeof de==`function`&&typeof ne==`function`&&_e&&_e.createHTMLDocument!==void 0;let Pe=Qe,Fe=$e,T=et,Le=tt,Re=nt,ft=it,bt=at,xt=st,St=rt,j=null,Ct=E({},[...Ve,...He,...Ue,...Ge,...qe]),M=null,N=E({},[...Je,...Ye,...Xe,...Ze]),P=Object.seal(ge(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}})),F=null,wt=null,I=Object.seal(ge(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Tt=!0,L=!0,Et=!1,Dt=!0,R=!1,z=!0,Ot=!1,kt=!1,At=null,jt=null,Mt=!1,B=!1,Nt=!1,Pt=!1,Ft=!0,It=!1,Lt=`user-content-`,V=!0,Rt=!1,H={},U=null,zt=E({},`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`.split(`.`)),W=null,Bt=E({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Vt=null,Ht=E({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ut=`http://www.w3.org/1998/Math/MathML`,Wt=`http://www.w3.org/2000/svg`,G=`http://www.w3.org/1999/xhtml`,Gt=G,Kt=!1,qt=null,Jt=E({},[Ut,Wt,G],De),Yt=b([`mi`,`mo`,`mn`,`ms`,`mtext`]),Xt=E({},Yt),Zt=b([`annotation-xml`]),Qt=E({},Zt),$t=E({},[`title`,`style`,`font`,`a`,`script`]),en=null,tn=[`application/xhtml+xml`,`text/html`],K=null,nn=null,rn=n.createElement(`form`),an=function(e){return e instanceof RegExp||e instanceof Function},q=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(nn&&nn===e)return;(!e||typeof e!=`object`)&&(e={}),e=D(e),en=tn.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,K=en===`application/xhtml+xml`?De:Ee,j=A(e,`ALLOWED_TAGS`,Ct,{transform:K}),M=A(e,`ALLOWED_ATTR`,N,{transform:K}),qt=A(e,`ALLOWED_NAMESPACES`,Jt,{transform:De}),Vt=A(e,`ADD_URI_SAFE_ATTR`,Ht,{transform:K,base:Ht}),W=A(e,`ADD_DATA_URI_TAGS`,Bt,{transform:K,base:Bt}),U=A(e,`FORBID_CONTENTS`,zt,{transform:K}),F=A(e,`FORBID_TAGS`,D({}),{transform:K}),wt=A(e,`FORBID_ATTR`,D({}),{transform:K}),H=C(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?D(e.USE_PROFILES):e.USE_PROFILES:!1,Tt=e.ALLOW_ARIA_ATTR!==!1,L=e.ALLOW_DATA_ATTR!==!1,Et=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Dt=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,R=e.SAFE_FOR_TEMPLATES||!1,z=e.SAFE_FOR_XML!==!1,Ot=e.WHOLE_DOCUMENT||!1,B=e.RETURN_DOM||!1,Nt=e.RETURN_DOM_FRAGMENT||!1,Pt=e.RETURN_TRUSTED_TYPE||!1,Mt=e.FORCE_BODY||!1,Ft=e.SANITIZE_DOM!==!1,It=e.SANITIZE_NAMED_PROPS||!1,V=e.KEEP_CONTENT!==!1,Rt=e.IN_PLACE||!1,St=Be(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:rt,Gt=typeof e.NAMESPACE==`string`?e.NAMESPACE:G,Xt=vt(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>E({},Yt)),Qt=vt(e,`HTML_INTEGRATION_POINTS`,()=>E({},Zt));let t=vt(e,`CUSTOM_ELEMENT_HANDLING`,()=>ge(null));if(P=ge(null),C(t,`tagNameCheck`)&&an(t.tagNameCheck)&&(P.tagNameCheck=t.tagNameCheck),C(t,`attributeNameCheck`)&&an(t.attributeNameCheck)&&(P.attributeNameCheck=t.attributeNameCheck),C(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(P.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),x(P),R&&(L=!1),Nt&&(B=!0),H&&(j=E({},qe),M=ge(null),H.html===!0&&(E(j,Ve),E(M,Je)),H.svg===!0&&(E(j,He),E(M,Ye),E(M,Ze)),H.svgFilters===!0&&(E(j,Ue),E(M,Ye),E(M,Ze)),H.mathMl===!0&&(E(j,Ge),E(M,Xe),E(M,Ze))),I.tagCheck=null,I.attributeCheck=null,C(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?I.tagCheck=e.ADD_TAGS:Te(e.ADD_TAGS)&&(j===Ct&&(j=D(j)),E(j,e.ADD_TAGS,K))),C(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?I.attributeCheck=e.ADD_ATTR:Te(e.ADD_ATTR)&&(M===N&&(M=D(M)),E(M,e.ADD_ATTR,K))),C(e,`ADD_FORBID_CONTENTS`)&&Te(e.ADD_FORBID_CONTENTS)&&(U===zt&&(U=D(U)),E(U,e.ADD_FORBID_CONTENTS,K)),V&&(j[`#text`]=!0),Ot&&E(j,[`html`,`head`,`body`]),j.table&&(E(j,[`tbody`]),delete F.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Ie(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Ie(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=v;v=e.TRUSTED_TYPES_POLICY;try{y=fe(``)}catch(e){throw v=t,e}}else e.TRUSTED_TYPES_POLICY===null?(v=void 0,y=``):(v===void 0&&(v=me()),v&&typeof y==`string`&&(y=fe(``)));b&&b(e),nn=e},on=E({},[...He,...Ue,...We]),sn=E({},[...Ge,...Ke]),cn=function(e,t,n){return t.namespaceURI===G?e===`svg`:t.namespaceURI===Ut?e===`svg`&&(n===`annotation-xml`||Xt[n]):!!on[e]},ln=function(e,t,n){return t.namespaceURI===G?e===`math`:t.namespaceURI===Wt?e===`math`&&Qt[n]:!!sn[e]},un=function(e,t,n){return t.namespaceURI===Wt&&!Qt[n]||t.namespaceURI===Ut&&!Xt[n]?!1:!sn[e]&&($t[e]||!on[e])},dn=function(e){let t=ne(e);(!t||!t.tagName)&&(t={namespaceURI:Gt,tagName:`template`});let n=Ee(e.tagName),r=Ee(t.tagName);return qt[e.namespaceURI]?e.namespaceURI===Wt?cn(n,t,r):e.namespaceURI===Ut?ln(n,t,r):e.namespaceURI===G?un(n,t,r):!!(en===`application/xhtml+xml`&&qt[e.namespaceURI]):!1},J=function(e){Ce(t.removed,{element:e});try{ne(e).removeChild(e)}catch{if(p(e),!ne(e))throw Ie(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},fn=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},pn=function(e){X(e);let t=te(e);if(t){let e=[];be(t,t=>{Ce(e,t)}),be(e,e=>{try{p(e)}catch{}})}let n=re(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&fn(e,r,i)}},Y=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Ce(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(B||Nt)try{J(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},mn=function(e){let t=re(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||M[K(i)]||fn(e,r,i)}},X=function(e){let t=[e];for(;t.length>0;){let e=t.pop();ae(e)===k.element&&mn(e);let n=te(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},hn=function(e,t){return z?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},gn=function(e){if(!z)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=ae(e);if(n===k.processingInstruction||n===k.comment&&w(lt,e.data)){try{p(e)}catch{}continue}if(n===k.element){let t=e,n=K(oe(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&hn(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=te(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},_n=function(e){let t=null,r=null;if(Mt)e=`<remove></remove>`+e;else{let t=Oe(e,/^[\r\n\t ]+/);r=t&&t[0]}en===`application/xhtml+xml`&&Gt===G&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=v?fe(e):e;if(Gt===G)try{t=new l().parseFromString(i,en)}catch{}if(!t||!t.documentElement){t=_e.createDocument(Gt,`template`,null);try{t.documentElement.innerHTML=Kt?y:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Gt===G?Me.call(t,Ot?`html`:`body`)[0]:Ot?t.documentElement:a},vn=function(e){let t=_?_(e):e.ownerDocument;return ve.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},yn=function(e){return e=ke(e,Pe,` `),e=ke(e,Fe,` `),e=ke(e,T,` `),e},bn=function(e){e.normalize();let t=_?_(e):e.ownerDocument,n=ve.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=yn(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&be(i,e=>{Sn(e.content)&&bn(e.content)})},xn=function(e){let t=ie?ie(e):null;return typeof t!=`string`||K(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==re(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==g(e)||e.childNodes!==te(e)},Sn=function(e){if(!g||typeof e!=`object`||!e)return!1;try{return g(e)===k.documentFragment}catch{return!1}},Z=function(e){if(!g||typeof e!=`object`||!e)return!1;try{return typeof g(e)==`number`}catch{return!1}};function Q(e,n,r){e.length!==0&&be(e,e=>{e.call(t,n,r,nn)})}let Cn=function(e,t){return!!(z&&e.hasChildNodes()&&!Z(e.firstElementChild)&&w(ct,e.textContent)&&w(ct,e.innerHTML)||z&&e.namespaceURI===G&&pt[t]&&(Z(e.firstElementChild)||typeof e.textContent==`string`&&w(mt[t],e.textContent))||e.nodeType===k.processingInstruction||z&&e.nodeType===k.comment&&w(lt,e.data))},wn=function(e,t){return e instanceof RegExp?w(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},Tn=function(e,t,n){if(!F[t]&&jn(t)&&wn(P.tagNameCheck,t))return!1;if(V&&!U[t]){let t=ne(e),r=te(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,ee(e))}}}return J(e),!0},En=function(e,t,n,r){return e.length===0?t:t===n||t===r?D(t):t},Dn=function(e,t){return e===t||ne(e)!==null?!1:(Rt&&X(e),!0)},On=function(e,n){if(Q(S.beforeSanitizeElements,e,null),Dn(e,n))return!0;if(xn(e))return J(e),!0;let r=K(oe(e));if(j=En(S.uponSanitizeElement,j,Ct,At),Q(S.uponSanitizeElement,e,{tagName:r,allowedTags:j}),Dn(e,n))return!0;if(Cn(e,r))return J(e),!0;if(F[r]||!(I.tagCheck instanceof Function&&I.tagCheck(r))&&!j[r]){let t=Tn(e,r,n);return t===!1&&(Q(S.afterSanitizeElements,e,null),Dn(e,n))?!0:t}if(ae(e)===k.element&&!dn(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&w(ut,e.innerHTML))return J(e),!0;if(R&&e.nodeType===k.text){let n=yn(e.textContent);e.textContent!==n&&(Ce(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Q(S.afterSanitizeElements,e,null),Dn(e,n)},kn=function(e,t,r){if(wt[t]||hn(t,e)||Ft&&(t===`id`||t===`name`)&&(r in n||r in rn))return!1;let i=M[t]||I.attributeCheck instanceof Function&&I.attributeCheck(t,e);return L&&w(Le,t)||Tt&&w(Re,t)?!0:i?Vt[t]||w(St,ke(r,bt,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Ae(r,`data:`)===0&&W[e]||Et&&!w(ft,ke(r,bt,``))?!0:!r:jn(e)&&wn(P.tagNameCheck,e)&&wn(P.attributeNameCheck,t,e)||t===`is`&&P.allowCustomizedBuiltInElements&&wn(P.tagNameCheck,r)},An=E({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),jn=function(e){return!An[Ee(e)]&&w(xt,e)},Mn=function(e,t,n,r){if(v&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return fe(r);case`TrustedScriptURL`:return pe(r)}return r},Nn=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!xn(e)||(J(e),!1)}catch{return Y(t,e),!1}},Pn=function(e,n){if(Q(S.beforeSanitizeAttributes,e,null),Dn(e,n))return;let r=e.attributes;if(!r||xn(e))return;M=En(S.uponSanitizeAttribute,M,N,jt);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:M,forceKeepAttr:void 0},a=r.length,o=K(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=K(s),d=l,f=s===`value`?d:je(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,Q(S.uponSanitizeAttribute,e,i),f=i.attrValue,It&&(u===`id`||u===`name`)&&Ae(f,Lt)!==0&&(Y(s,e,n),f=Lt+f,p=!0),z&&w(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){Y(s,e,n);continue}if(u===`attributename`&&Oe(f,`href`)){Y(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){Y(s,e,n);continue}if(!Dt&&w(dt,f)){Y(s,e,n);continue}if(R&&(f=yn(f)),!kn(o,u,f)){Y(s,e,n);continue}f=Mn(o,u,c,f),f!==d&&Nn(e,s,c,f)&&p&&Se(t.removed)}}Q(S.afterSanitizeAttributes,e,null),Dn(e,n)},Fn=function(e){let t=null,n=vn(e);for(Q(S.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Q(S.uponSanitizeShadowNode,t,null),On(t,e),Pn(t,e),Sn(t.content)&&Fn(t.content),ae(t)===k.element){let e=h(t);Sn(e)&&(In(e),Fn(e))}Q(S.afterSanitizeShadowDOM,e,null)},In=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Fn(e.shadow);continue}let n=e.node,r=ae(n)===k.element,i=te(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=ie?ie(n):null;if(typeof e==`string`&&K(e)===`template`){let e=n.content;Sn(e)&&t.push({node:e,shadow:null})}}if(r){let e=h(n);Sn(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Kt=!e,Kt&&(e=`<!-->`),typeof e!=`string`&&!Z(e)&&(e=ze(e),typeof e!=`string`))throw Ie(`dirty is not a string, aborting`);if(!t.isSupported)return e;kt?(j=At,M=jt):q(n),(S.uponSanitizeElement.length>0||S.uponSanitizeAttribute.length>0)&&(j=D(j)),S.uponSanitizeAttribute.length>0&&(M=D(M)),t.removed=[];let c=Rt&&typeof e!=`string`&&Z(e);if(c){gn(e);let t=oe(e);if(typeof t==`string`){let n=K(t);if(!j[n]||F[n])throw pn(e),Ie(`root node is forbidden and cannot be sanitized in-place`)}if(xn(e))throw pn(e),Ie(`root node is clobbered and cannot be sanitized in-place`);try{In(e)}catch(t){throw pn(e),t}}else if(Z(e))i=_n(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===k.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),In(i);else{if(!B&&!R&&!Ot&&e.indexOf(`<`)===-1)return v&&Pt?fe(e):e;if(i=_n(e),!i)return B?null:Pt?y:``}i&&Mt&&J(i.firstChild);let l=c?e:i;try{let e=vn(l);for(;o=e.nextNode();)On(o,l),Pn(o,l),Sn(o.content)&&Fn(o.content)}catch(n){throw c&&(pn(e),be(t.removed,e=>{e.element&&X(e.element)})),n}if(c){let n=!1;if(be(t.removed,t=>{t.element&&(t.element===e&&(n=!0),X(t.element))}),n)throw Ie(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return R&&bn(e),e}if(B){if(R&&bn(i),Nt)for(s=ye.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(M.shadowroot||M.shadowrootmode)&&(s=Ne.call(r,s,!0)),s}let u=Ot?i.outerHTML:i.innerHTML;return Ot&&j[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&w(ot,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
3
|
+
`+u),R&&(u=yn(u)),v&&Pt?fe(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};q(e),kt=!0,At=j,jt=M},t.clearConfig=function(){nn=null,kt=!1,At=null,jt=null,v=se,y=``},t.isValidAttribute=function(e,t,n){nn||q({});let r=K(e),i=K(t);return kn(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&C(S,e)&&Ce(S[e],t)},t.removeHook=function(e,t){if(C(S,e)){if(t!==void 0){let n=xe(S[e],t);return n===-1?void 0:we(S[e],n,1)[0]}return Se(S[e])}},t.removeHooks=function(e){C(S,e)&&(S[e]=[])},t.removeAllHooks=function(){S=_t()},t}var bt=yt(),xt=(e,t)=>{t.attrName===`crossorigin`&&(t.keepAttr=[`audio`,`video`].includes(e.localName)&&t.attrValue.toLowerCase()===`anonymous`,t.keepAttr&&(t.attrValue=`anonymous`))};function St(e){let t={ALLOWED_TAGS:`a.abbr.article.audio.b.blockquote.br.caption.cite.code.dd.del.details.div.dl.dt.em.figcaption.figure.h1.h2.h3.h4.h5.h6.hr.i.img.ins.kbd.li.mark.ol.p.picture.pre.q.s.small.source.span.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.time.tr.track.u.ul.video.wbr`.split(`.`),ALLOWED_ATTR:`alt.class.colspan.controls.crossorigin.datetime.dir.download.height.href.id.kind.label.lang.loading.poster.preload.rel.rowspan.scope.src.srclang.start.target.title.type.width`.split(`.`),ALLOW_DATA_ATTR:!1};bt.addHook(`uponSanitizeAttribute`,xt);try{return bt.sanitize(e,t)}finally{bt.removeHook(`uponSanitizeAttribute`,xt)}}function j(e,t){let n=new DOMParser().parseFromString(e,`text/html`);return n.querySelectorAll(`a[href]`).forEach(e=>{let n=e.getAttribute(`href`)??``,r=/^(?:\/)?(?:uploads|media|assets)\//.test(n)?_(n,t):n;r!==n&&e.setAttribute(`href`,r),Ct(r)&&(e.setAttribute(`target`,`_blank`),e.setAttribute(`rel`,`noopener noreferrer`))}),n.querySelectorAll(`img[src], video[src], audio[src], source[src], track[src]`).forEach(e=>{let n=_(e.getAttribute(`src`)??``,t);n?e.setAttribute(`src`,n):e.removeAttribute(`src`)}),n.querySelectorAll(`video[poster]`).forEach(e=>{let n=_(e.getAttribute(`poster`)??``,t);n?e.setAttribute(`poster`,n):e.removeAttribute(`poster`)}),n.querySelectorAll(`[srcset]`).forEach(e=>e.removeAttribute(`srcset`)),n.querySelectorAll(`[style]`).forEach(e=>{/url\s*\(|@import|\\/i.test(e.getAttribute(`style`)??``)&&e.removeAttribute(`style`)}),n.body.innerHTML}function Ct(e){if(!/^https?:\/\//i.test(e))return!1;try{return new URL(e).origin!==window.location.origin}catch{return!1}}function M(e,t){let r=j(St(e??``),t);return n`${l(r)}`}function N(e,t){if(!e||!e.url)return null;let n=_(e.url,t);if(!n)return null;let r;if(e.formats){r={};for(let[n,i]of Object.entries(e.formats))i?.url&&(r[n]={url:_(i.url,t),width:i.width,height:i.height})}return{url:n,alternativeText:e.alternativeText??null,mime:e.mime,name:e.name,width:e.width,height:e.height,formats:r}}var P=e=>e===`text`||e===`accordion`||e===`video_card`||e===`document_card`?e:void 0;function F(e){return{documentId:e.documentId??``,code:e.code??``,name:e.name??``,icon:e.icon}}function wt(e,t){return{documentId:e.documentId??``,uid:e.uid??``,title:e.title??``,subtitle:e.subtitle,icon:e.icon,image:N(e.image,t),behavior:P(e.behavior),order:e.order,showSortBy:e.showSortBy??!1,showFilterByTopic:e.showFilterByTopic??!1}}function I(e,t){return{documentId:e.documentId??``,uid:e.uid??``,title:e.title??``,abstract:e.abstract,body:M(e.text,t),behavior:P(e.behavior)??P(e.category?.behavior),featured:e.featured??!1,duration:e.duration,dateAdded:e.dateAdded,publishedAt:e.publishedAt??null,topics:(e.topics??[]).map(F),category:e.category?wt(e.category,t):null,thumbnail:N(e.thumbnail,t),video:N(e.video,t),captions:N(e.captions,t),documents:(e.documents??[]).map(e=>N(e,t)).filter(e=>e!==null)}}function Tt(e,t){return e?{heading:e.heading??``,description:e.description??``,backgroundImage:N(e.backgroundImage,t)}:null}var L=class extends Error{constructor(e,t){super(e,t?.cause===void 0?void 0:{cause:t.cause}),this.name=`KbApiError`,this.status=t?.status}};function Et(e){return!e.uid||!e.title?null:{uid:e.uid,title:e.title,categoryUid:e.category?.uid??``,categoryIcon:e.category?.icon}}var Dt=`whats-new`,R=100,z={thumbnail:!0,video:!0,documents:!0,topics:!0,captions:!0,category:{populate:{image:!0}}};function Ot(e){let t=e.apiBaseUrl.replace(/\/+$/,``),n=e.mediaBaseUrl,r=()=>typeof e.previewDrafts==`function`?e.previewDrafts():e.previewDrafts===!0,i=e.locale,a=e.fetch??globalThis.fetch.bind(globalThis),o=e.pageSize??R;if(!Number.isInteger(o)||o<1||o>R)throw new L(`KB page size must be an integer from 1 to 100`);let s=()=>r()?`draft`:`published`;async function c(e,n,r=s()){let o=ie({...n,status:r,locale:i}),c=`${t}/api/${e}${o}`,l;try{l=await a(c,{credentials:`omit`,redirect:`error`,signal:AbortSignal.timeout(15e3)})}catch(t){throw new L(`Network error fetching ${e}`,{cause:t})}if(!l.ok)throw new L(`Strapi responded ${l.status} for ${e}`,{status:l.status});let u;try{u=await l.json()}catch(t){throw new L(`Invalid JSON from ${e}`,{cause:t})}if(!u||typeof u!=`object`||!Object.hasOwn(u,`data`))throw new L(`Invalid Strapi response from ${e}`);return u}async function l(e,t){return(await c(e,t)).data}async function u(e,t,n=!0){let r=[],i=s();for(let a=1;a<=1e4;a++){let o=typeof t.pagination==`object`?t.pagination:{},s=await c(e,{...t,pagination:{...o,page:a}},i);if(!Array.isArray(s.data))throw new L(`Invalid Strapi collection from ${e}`);r.push(...s.data);let l=s.meta?.pagination;if(!l)return r;if(!Number.isInteger(l.page)||l.page!==a||!Number.isInteger(l.pageSize)||l.pageSize<1||!Number.isInteger(l.pageCount)||l.pageCount<0||!Number.isInteger(l.total)||l.total<0||l.pageCount>a&&s.data.length===0)throw new L(`Invalid Strapi pagination from ${e}`);if(!n||a>=l.pageCount)return r}throw new L(`Strapi pagination limit exceeded for ${e}`)}async function d(){return(await u(`categories`,{populate:{image:!0},sort:[`order:asc`,`id:asc`],pagination:{pageSize:o}})).map(e=>wt(e,n))}return{getCategories:d,async getLanding(){let[e,t,r,i,a]=await Promise.all([l(`index-page`,{populate:{backgroundImage:!0}}),d(),u(`topics`,{sort:[`order:asc`,`id:asc`],pagination:{pageSize:o}}),u(`posts`,{filters:{featured:{$eq:!0}},populate:z,sort:[`dateAdded:desc`,`id:asc`],pagination:{pageSize:o}}),u(`posts`,{filters:{category:{uid:{$eq:Dt}}},populate:z,sort:[`dateAdded:desc`,`id:asc`],pagination:{pageSize:1}},!1)]);return{indexPage:Tt(e,n),categories:t,topics:r.map(e=>F(e)),featured:i.map(e=>I(e,n)),whatsNew:a.map(e=>I(e,n))}},async getCategory(e){let[t,r]=await Promise.all([u(`categories`,{filters:{uid:{$eq:e}},populate:{image:!0},pagination:{pageSize:1}},!1),u(`posts`,{filters:{category:{uid:{$eq:e}}},populate:z,sort:[`dateAdded:desc`,`id:asc`],pagination:{pageSize:o}})]);return{category:t[0]?wt(t[0],n):null,posts:r.map(e=>I(e,n))}},async getTopic(e){let[t,r]=await Promise.all([u(`topics`,{filters:{code:{$eq:e}},pagination:{pageSize:1}},!1),u(`posts`,{filters:{topics:{code:{$eq:e}}},populate:z,sort:[`dateAdded:desc`,`id:asc`],pagination:{pageSize:o}})]);return{topic:t[0]?F(t[0]):null,posts:r.map(e=>I(e,n))}},async getPost(e){let t=await u(`posts`,{filters:{uid:{$eq:e}},populate:z,pagination:{pageSize:1}},!1);return t[0]?I(t[0],n):null},async getPostLinks(e){let t={};return e?.categoryUid&&(t.category={uid:{$eq:e.categoryUid}}),e?.topicCode&&(t.topics={code:{$eq:e.topicCode}}),(await u(`posts`,{fields:[`uid`,`title`],populate:{category:{fields:[`uid`,`icon`]}},filters:Object.keys(t).length?t:void 0,sort:[`title:asc`,`id:asc`],pagination:{pageSize:o}})).map(Et).filter(e=>e!==null)}}}function kt(){return window.gpConfig?.[`ui-knowledgebase`]}function At(){let e=kt(),t=e?.[`KB:strapiBaseUrl`];if(!t)throw Error(`ui-knowledgebase config not loaded: window.gpConfig['ui-knowledgebase']['KB:strapiBaseUrl'] is missing. Ensure config.json is fetched before the KB route renders.`);let n;try{if(n=new URL(t),![`http:`,`https:`].includes(n.protocol)||n.username||n.password||n.search||n.hash||n.pathname!==`/`)throw Error()}catch{throw Error(`KB CMS configuration must be an HTTP(S) origin, without an API path or credentials.`)}return{apiBaseUrl:n.origin,mediaBaseUrl:n.origin,previewDrafts:e?.[`KB:previewDraftContent`]??!1}}var jt=`KB:previewDraftContent`,Mt=null,B=null,Nt=new Set;function Pt(){Mt===null&&(Mt=kt()?.[jt]===!0,B=Mt)}function Ft(){return Pt(),Mt}function It(){return Pt(),B}function Lt(e){if(Pt(),Mt&&e!==B){B=e;for(let e of Nt)e()}}function V(e){return Nt.add(e),()=>{Nt.delete(e)}}function Rt(e){let t=new Map;function n(e,n){let r=t.get(e);if(r)return r;let i=n().catch(n=>{throw t.delete(e),n});return t.set(e,i),i}let r=e=>`${It()?`draft`:`pub`}:${e}`;return{getLanding:()=>n(r(`landing`),()=>e.getLanding()),getCategories:()=>n(r(`categories`),()=>e.getCategories()),getCategory:t=>n(r(`category:${t}`),()=>e.getCategory(t)),getTopic:t=>n(r(`topic:${t}`),()=>e.getTopic(t)),getPost:t=>n(r(`post:${t}`),()=>e.getPost(t)),getPostLinks:t=>n(r(`postlinks:${t?.categoryUid??``}:${t?.topicCode??``}`),()=>e.getPostLinks(t)),invalidate:e=>{e?t.delete(e):t.clear()}}}var H;function U(){return H||=Rt(Ot({...At(),previewDrafts:()=>It()})),H}var zt=t`
|
|
4
4
|
:host {
|
|
5
5
|
display: block;
|
|
6
6
|
width: 100%;
|
|
@@ -39,7 +39,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
39
39
|
inset 0 0 0 1px rgb(9, 34, 65),
|
|
40
40
|
0 0 0 3px rgba(9, 34, 65, 0.15);
|
|
41
41
|
}
|
|
42
|
-
`;function
|
|
42
|
+
`;function W(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var Bt=class extends e{constructor(...e){super(...e),this.category=``,this.topic=``,this.items=[],this.request=0,this.onSelected=e=>{let{item:t}=e.detail;this.dispatchEvent(new CustomEvent(`kb-search-select`,{detail:{uid:t.uid},bubbles:!0,composed:!0}))}}static{this.styles=zt}connectedCallback(){super.connectedCallback(),this.unsubscribePreview=V(()=>void this.load())}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribePreview?.()}updated(e){(e.has(`category`)||e.has(`topic`))&&this.load()}async load(){let e=++this.request;try{let t=await U().getPostLinks({categoryUid:this.category||void 0,topicCode:this.topic||void 0});e===this.request&&(this.items=t.map(Vt))}catch{e===this.request&&(this.items=[])}}render(){return n`
|
|
43
43
|
<ix-search-bar
|
|
44
44
|
dropdown
|
|
45
45
|
shape="pill"
|
|
@@ -54,7 +54,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
54
54
|
.searchFields=${[`title`]}
|
|
55
55
|
@onResultSelected=${this.onSelected}
|
|
56
56
|
></ix-search-bar>
|
|
57
|
-
`}};
|
|
57
|
+
`}};W([o({type:String})],Bt.prototype,`category`,void 0),W([o({type:String})],Bt.prototype,`topic`,void 0),W([s()],Bt.prototype,`items`,void 0),Bt=W([a(`kb-search-bar`)],Bt);function Vt(e){return{title:e.title,uid:e.uid,icon:e.categoryIcon??``,href:`${h}/details/${e.uid}`}}function Ht(e){return n`
|
|
58
58
|
<header
|
|
59
59
|
class="relative mb-6 flex min-h-[356px] flex-col justify-end gap-7 rounded-[12px] bg-[#092241] px-4 pt-8 pb-6 pt-20
|
|
60
60
|
tablet:min-h-[447px]
|
|
@@ -89,7 +89,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
89
89
|
class="relative max-w-[528px] [scroll-margin-top:var(--top-height,80px)]"
|
|
90
90
|
></kb-search-bar>
|
|
91
91
|
</header>
|
|
92
|
-
`}function
|
|
92
|
+
`}function Ut(e){let t=e.currentTarget,n=t.querySelector(`.ripple`);if(!n)return;let r=t.getBoundingClientRect(),i=Math.max(r.width,r.height),a=i/2;n.style.width=`${i}px`,n.style.height=`${i}px`,n.style.left=`${e.clientX-r.left-a}px`,n.style.top=`${e.clientY-r.top-a}px`,n.classList.remove(`is-active`),n.offsetWidth,n.classList.add(`is-active`)}function Wt(e){return n`
|
|
93
93
|
<ul
|
|
94
94
|
class="mt-4 flex w-full list-none flex-wrap gap-4 overflow-x-auto p-0 min-[1536px]:gap-6
|
|
95
95
|
max-tablet:flex-nowrap max-tablet:snap-x max-tablet:snap-mandatory max-tablet:[scrollbar-width:none] max-tablet:[&::-webkit-scrollbar]:hidden"
|
|
@@ -99,7 +99,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
99
99
|
<a
|
|
100
100
|
href="${h}/category/${encodeURIComponent(e.uid)}"
|
|
101
101
|
class="group desktop:w-[260px] relative flex w-[228px] flex-col overflow-hidden rounded-xl bg-black no-underline shadow focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-[#1456e0] h-full [scroll-margin-top:var(--top-height,80px)]"
|
|
102
|
-
@mousedown=${
|
|
102
|
+
@mousedown=${Ut}
|
|
103
103
|
>
|
|
104
104
|
<img class="h-[122px] w-full object-cover" src="${e.image?.url??``}" alt="" />
|
|
105
105
|
<div class="flex flex-col gap-2 bg-black p-4 text-white">
|
|
@@ -122,14 +122,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
122
122
|
</li>
|
|
123
123
|
`)}
|
|
124
124
|
</ul>
|
|
125
|
-
`}function
|
|
125
|
+
`}function G(e,t=24){return n`
|
|
126
126
|
<h2
|
|
127
127
|
class="font-heading mb-[var(--mb)] text-xl leading-6 font-bold tracking-[0.15px] text-[rgb(9,34,65)] min-[601px]:text-[34px] min-[601px]:leading-10 min-[601px]:tracking-[0.35px]"
|
|
128
128
|
style=${u({"--mb":`${t}px`})}
|
|
129
129
|
>
|
|
130
130
|
${e}
|
|
131
131
|
</h2>
|
|
132
|
-
`}function
|
|
132
|
+
`}function Gt(e){let t=e.currentTarget.closest(`li`)?.querySelector(`dialog`);t&&(t.showModal(),t.querySelector(`video`)?.play())}function Kt(e){e.currentTarget.closest(`dialog`)?.close()}function qt(e){let t=e.currentTarget;e.target===t&&t.close()}function Jt(e){e.currentTarget.querySelector(`video`)?.pause()}function Yt(e){return e.length===0?n`<p class="text-gray-500">Nothing here yet.</p>`:n`
|
|
133
133
|
<ul
|
|
134
134
|
class="list-none p-0 grid tablet:grid-cols-2 gap-6 min-[1536px]:grid-cols-[repeat(2,544px)]"
|
|
135
135
|
>
|
|
@@ -157,7 +157,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
157
157
|
class="group relative flex h-full w-full flex-col justify-start cursor-pointer border-0 bg-transparent p-0 text-left focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#1456e0] [scroll-margin-top:var(--top-height,80px)]"
|
|
158
158
|
aria-haspopup="dialog"
|
|
159
159
|
aria-label="Play video: ${e.title}"
|
|
160
|
-
@click=${
|
|
160
|
+
@click=${Gt}
|
|
161
161
|
>
|
|
162
162
|
<span class="relative mb-4 block h-[311px] w-full max-h-full">
|
|
163
163
|
<span
|
|
@@ -190,14 +190,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
190
190
|
<dialog
|
|
191
191
|
class="m-auto w-[90vw] max-w-[1000px] rounded-xl bg-[rgba(9,34,65)] p-0 backdrop:bg-[rgba(9,34,65)]"
|
|
192
192
|
aria-label="Watch video"
|
|
193
|
-
@click=${
|
|
194
|
-
@close=${
|
|
193
|
+
@click=${qt}
|
|
194
|
+
@close=${Jt}
|
|
195
195
|
>
|
|
196
196
|
<button
|
|
197
197
|
type="button"
|
|
198
198
|
aria-label="Close video"
|
|
199
199
|
class="fixed top-2 right-4 z-10 cursor-pointer rounded-full border-0 bg-transparent p-2 text-white"
|
|
200
|
-
@click=${
|
|
200
|
+
@click=${Kt}
|
|
201
201
|
>
|
|
202
202
|
<ix-icon class="inline-block max-w-4" style="--ix-icon-font-size: 1.5rem;"
|
|
203
203
|
>close</ix-icon
|
|
@@ -242,7 +242,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
242
242
|
</li>
|
|
243
243
|
`})}
|
|
244
244
|
</ul>
|
|
245
|
-
`}function
|
|
245
|
+
`}function Xt(e){let t=`selected`in e&&e.selected,i=n`<span class="pill">
|
|
246
246
|
${e.icon??r}
|
|
247
247
|
<span class="pill-label"
|
|
248
248
|
>${`prefix`in e?n`<span class="pill-prefix">${e.prefix} </span>`:r}${e.label}</span
|
|
@@ -268,7 +268,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
268
268
|
@click=${e.onClick}
|
|
269
269
|
>
|
|
270
270
|
${i}
|
|
271
|
-
</button>`}var
|
|
271
|
+
</button>`}var Zt=t`
|
|
272
272
|
.kb-pill {
|
|
273
273
|
box-sizing: border-box;
|
|
274
274
|
display: inline-flex;
|
|
@@ -352,17 +352,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
352
352
|
outline-color: Highlight;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
`;function
|
|
355
|
+
`;function Qt(e){return n`
|
|
356
356
|
<ul class="flex flex-wrap gap-x-2 gap-y-3 list-none p-0">
|
|
357
357
|
${e.map(e=>n`<li class="max-w-full">
|
|
358
|
-
${
|
|
358
|
+
${Xt({href:`${h}/topic/${encodeURIComponent(e.code)}`,prefix:`Topic:`,label:e.name,title:e.name,icon:n`<ix-icon
|
|
359
359
|
class="inline-block w-6 h-6 overflow-hidden text-xl"
|
|
360
360
|
aria-hidden="true"
|
|
361
361
|
>${e.icon}</ix-icon
|
|
362
362
|
>`})}
|
|
363
363
|
</li>`)}
|
|
364
364
|
</ul>
|
|
365
|
-
`}function
|
|
365
|
+
`}function $t(e){if(!e)return``;let t=new Date(`${e}T00:00:00`);return Number.isNaN(t.getTime())?e:new Intl.DateTimeFormat(`en-US`,{month:`long`,year:`numeric`}).format(t)}function en(e){if(!e)return``;let t=new Date(`${e}T00:00:00`);return Number.isNaN(t.getTime())?e:new Intl.DateTimeFormat(`en-US`,{month:`long`,day:`numeric`,year:`numeric`}).format(t)}function tn(e){return e.length===0?n`<p class="text-gray-500">Nothing here yet.</p>`:n`
|
|
366
366
|
${e[0]?.category?.subtitle?n`<p class="font-body m-0 mb-6 text-sm leading-6 font-normal tracking-[0.25px] text-[rgb(9,34,65)]">${e[0].category.subtitle}</p>`:r}
|
|
367
367
|
<ul class="list-none p-0">
|
|
368
368
|
${e.slice(0,1).map(e=>n`
|
|
@@ -371,7 +371,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
371
371
|
datetime="${e.dateAdded??``}"
|
|
372
372
|
class="font-heading m-0 mb-4 block text-sm leading-[18.52px] font-bold tracking-[1.25px] uppercase text-[rgba(9,34,65,0.7)] not-italic"
|
|
373
373
|
>
|
|
374
|
-
${
|
|
374
|
+
${$t(e.dateAdded)}
|
|
375
375
|
</time>
|
|
376
376
|
<h3
|
|
377
377
|
class="font-heading m-0 mb-1 text-xl leading-6 font-bold tracking-[0.15px] [leading-trim:none]"
|
|
@@ -396,7 +396,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
396
396
|
datetime="${e.dateAdded??``}"
|
|
397
397
|
class="font-body m-0 mb-4 block text-xs leading-4 font-normal tracking-[0.4px] text-[rgba(9,34,65,0.6)] [leading-trim:none]"
|
|
398
398
|
>
|
|
399
|
-
${
|
|
399
|
+
${en(e.dateAdded)}
|
|
400
400
|
</time>
|
|
401
401
|
</li>
|
|
402
402
|
`)}
|
|
@@ -406,7 +406,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
406
406
|
class="m-0 block [font-family:inherit] [font-weight:inherit] [font-size:inherit] [line-height:inherit] [letter-spacing:inherit] text-[rgb(20,86,224)] underline decoration-[rgba(20,86,224,0.4)]"
|
|
407
407
|
>View All Release Notes</a
|
|
408
408
|
>
|
|
409
|
-
`}var J=t` *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.dlr-text-default,:host,:host :root,:root,html{font-family:var(--root-primary-font);font-size:var(--text-default-size);line-height:var(--text-default-line-height);letter-spacing:var(--text-default-letter-spacing);font-weight:var(--text-default-weight);-webkit-text-decoration:var(--text-default-decoration);text-decoration:var(--text-default-decoration);text-transform:var(--text-default-transform)}.dlr-text-heading{font-size:var(--text-heading-size);line-height:var(--text-heading-line-height);letter-spacing:var(--text-heading-letter-spacing);font-weight:var(--text-heading-weight);-webkit-text-decoration:var(--text-heading-decoration);text-decoration:var(--text-heading-decoration);text-transform:var(--text-heading-transform)}.dlr-text-heading,.dlr-text-page-title{font-family:var(--root-secondary-font)}.dlr-text-page-title{font-size:var(--text-page-title-size);line-height:var(--text-page-title-line-height);letter-spacing:var(--text-page-title-letter-spacing);font-weight:var(--text-page-title-weight);-webkit-text-decoration:var(--text-page-title-decoration);text-decoration:var(--text-page-title-decoration);text-transform:var(--text-page-title-transform)}.dlr-text-link{font-family:var(--root-primary-font);font-size:var(--text-default-size);line-height:var(--text-default-line-height);letter-spacing:var(--text-default-letter-spacing);font-weight:var(--text-default-weight);color:var(--cp-dlr-blue-50);-webkit-text-decoration:var(--text-link-decoration);text-decoration:var(--text-link-decoration);text-transform:var(--text-link-transform)}.dlr-text-link:visited{color:var(--cp-neutral-blue-20)}:host{display:block;min-width:0;color:var(--clr-on-surface,#092241);overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-0{left:0}.left-4{left:1rem}.right-4{right:1rem}.top-0{top:0}.top-2{top:.5rem}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.m-0{margin:0}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1\\.5{margin-top:.375rem;margin-bottom:.375rem}.my-16{margin-top:4rem;margin-bottom:4rem}.mb-1{margin-bottom:.25rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-\\[var\\(--mb\\)\\]{margin-bottom:var(--mb)}.mt-4{margin-top:1rem}.mt-\\[188px\\]{margin-top:188px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16/9}.h-0{height:0}.h-6{height:1.5rem}.h-\\[122px\\]{height:122px}.h-\\[311px\\]{height:311px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.h-full{height:100%}.max-h-\\[60vh\\]{max-height:60vh}.max-h-full{max-height:100%}.min-h-11{min-height:2.75rem}.min-h-\\[356px\\]{min-height:356px}.min-h-full{min-height:100%}.w-0{width:0}.w-6{width:1.5rem}.w-\\[228px\\]{width:228px}.w-\\[252px\\]{width:252px}.w-\\[46px\\]{width:46px}.w-\\[90vw\\]{width:90vw}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.min-w-4{min-width:1rem}.min-w-full{min-width:100%}.max-w-4{max-width:1rem}.max-w-\\[1000px\\]{max-width:1000px}.max-w-\\[1614px\\]{max-width:1614px}.max-w-\\[402px\\]{max-width:402px}.max-w-\\[528px\\]{max-width:528px}.max-w-\\[544px\\]{max-width:544px}.max-w-\\[828px\\]{max-width:828px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-7{gap:1.75rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-3{row-gap:.75rem}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[12px\\]{border-radius:12px}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0}.border-none{border-style:none}.border-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.12\\)\\]{border-color:rgba(9,34,65,.12)}.border-current{border-color:currentColor}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.bg-\\[\\#092241\\]{--tw-bg-opacity:1;background-color:rgb(9 34 65/var(--tw-bg-opacity,1))}.bg-\\[rgba\\(9\\2c 34\\2c 65\\)\\]{--tw-bg-opacity:1;background-color:rgba(9,34,65,var(--tw-bg-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-current{background-color:currentColor}.bg-surface-container-lowest{background-color:var(--cp-neutral-blue-100)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\\/50{background-color:hsla(0,0%,100%,.5)}.bg-none{background-image:none}.bg-cover{background-size:cover}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.fill-white{fill:#fff}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.object-left{-o-object-position:left;object-position:left}.p-0{padding:0}.p-2{padding:.5rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pt-14{padding-top:3.5rem}.pt-20{padding-top:5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.font-body{font-family:Open Sans,sans-serif}.font-heading{font-family:Red Hat Display,sans-serif}.\\!text-\\[20px\\]{font-size:20px!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.\\!leading-6{line-height:1.5rem!important}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-8{line-height:2rem}.leading-\\[18\\.52px\\]{line-height:18.52px}.tracking-\\[0\\.15px\\]{letter-spacing:.15px}.tracking-\\[0\\.25px\\]{letter-spacing:.25px}.tracking-\\[0\\.4px\\]{letter-spacing:.4px}.tracking-\\[1\\.25px\\]{letter-spacing:1.25px}.tracking-normal{letter-spacing:0}.text-\\[rgb\\(20\\2c 86\\2c 224\\)\\]{--tw-text-opacity:1;color:rgb(20 86 224/var(--tw-text-opacity,1))}.text-\\[rgb\\(9\\2c 34\\2c 65\\)\\]{--tw-text-opacity:1;color:rgb(9 34 65/var(--tw-text-opacity,1))}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.55\\)\\]{color:rgba(9,34,65,.55)}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.6\\)\\]{color:rgba(9,34,65,.6)}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.7\\)\\]{color:rgba(9,34,65,.7)}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.85\\)\\]{color:rgba(9,34,65,.85)}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 1\\)\\]{color:#092241}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\\/60{color:hsla(0,0%,100%,.6)}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.decoration-\\[rgba\\(20\\2c 86\\2c 224\\2c 0\\.4\\)\\]{text-decoration-color:rgba(20,86,224,.4)}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.outline{outline-style:solid}.drop-shadow-\\[0_1px_4px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.5\\)\\]{--tw-drop-shadow:drop-shadow(0 1px 4px rgba(0,0,0,.5))}.drop-shadow-\\[0_1px_4px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.5\\)\\],.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-\\[250ms\\]{transition-duration:.25s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.section-divider{padding-bottom:2rem;border-bottom:1px;border-color:rgba(9,34,65,.12);border-style:solid}.\\[font-family\\:inherit\\]{font-family:inherit}.\\[font-size\\:inherit\\]{font-size:inherit}.\\[font-weight\\:inherit\\]{font-weight:inherit}.\\[leading-trim\\:none\\]{leading-trim:none}.\\[letter-spacing\\:inherit\\]{letter-spacing:inherit}.\\[line-height\\:inherit\\]{line-height:inherit}.\\[scroll-margin-top\\:var\\(--top-height\\2c 80px\\)\\]{scroll-margin-top:var(--top-height,80px)}.backdrop\\:bg-\\[rgba\\(9\\2c 34\\2c 65\\)\\]::backdrop{--tw-bg-opacity:1;background-color:rgba(9,34,65,var(--tw-bg-opacity,1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.focus\\:not-sr-only:focus{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.focus\\:outline:focus{outline-style:solid}.focus\\:outline-2:focus{outline-width:2px}.focus\\:outline-offset-\\[3px\\]:focus{outline-offset:3px}.focus\\:outline-primary:focus{outline-color:var(--cp-dlr-blue-50)}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-4:focus-visible{outline-offset:4px}.focus-visible\\:outline-offset-\\[-2px\\]:focus-visible{outline-offset:-2px}.focus-visible\\:outline-offset-\\[3px\\]:focus-visible{outline-offset:3px}.focus-visible\\:outline-\\[\\#1456e0\\]:focus-visible{outline-color:#1456e0}.focus-visible\\:outline-primary:focus-visible{outline-color:var(--cp-dlr-blue-50)}.group:hover .group-hover\\:opacity-\\[0\\.04\\]{opacity:.04}.group:focus-visible .group-focus-visible\\:opacity-\\[0\\.12\\]{opacity:.12}@media not all and (min-width:600px){.max-tablet\\:snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.max-tablet\\:snap-mandatory{--tw-scroll-snap-strictness:mandatory}.max-tablet\\:snap-start{scroll-snap-align:start}.max-tablet\\:flex-nowrap{flex-wrap:nowrap}.max-tablet\\:\\[scrollbar-width\\:none\\]{scrollbar-width:none}}@media (min-width:600px){.tablet\\:mx-0{margin-left:0;margin-right:0}.tablet\\:my-32{margin-top:8rem;margin-bottom:8rem}.tablet\\:min-h-\\[447px\\]{min-height:447px}.tablet\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tablet\\:text-5xl{font-size:3rem;line-height:1}.tablet\\:leading-\\[57px\\]{line-height:57px}}@media (min-width:601px){.min-\\[601px\\]\\:text-\\[34px\\]{font-size:34px}.min-\\[601px\\]\\:leading-10{line-height:2.5rem}.min-\\[601px\\]\\:tracking-\\[0\\.35px\\]{letter-spacing:.35px}}@media (min-width:900px){.laptop\\:mb-\\[48px\\]{margin-bottom:48px}.laptop\\:max-w-\\[635px\\]{max-width:635px}.laptop\\:px-\\[35px\\]{padding-left:35px;padding-right:35px}.laptop\\:pb-10{padding-bottom:2.5rem}.min-\\[900px\\]\\:-top-10{top:-2.5rem}.min-\\[900px\\]\\:left-8{left:2rem}.min-\\[900px\\]\\:\\!mt-8{margin-top:2rem!important}.min-\\[900px\\]\\:ml-8{margin-left:2rem}.min-\\[900px\\]\\:mr-6{margin-right:1.5rem}.min-\\[900px\\]\\:mt-14{margin-top:3.5rem}.min-\\[900px\\]\\:flex-row-reverse{flex-direction:row-reverse}.min-\\[900px\\]\\:pt-0{padding-top:0}.min-\\[900px\\]\\:\\!text-\\[34px\\]{font-size:34px!important}.min-\\[900px\\]\\:\\!leading-10{line-height:2.5rem!important}}@media (min-width:1024px){.min-\\[1024px\\]\\:max-w-\\[679px\\]{max-width:679px}}@media (min-width:1200px){.lg\\:left-9{left:2.25rem}.lg\\:top-0{top:0}.lg\\:ml-\\[46px\\]{margin-left:46px}.lg\\:mr-9{margin-right:2.25rem}.lg\\:mt-4{margin-top:1rem}.lg\\:mt-\\[140px\\]{margin-top:140px}.lg\\:w-1\\/4{width:25%}.lg\\:w-\\[828px\\]{width:828px}.lg\\:min-w-\\[252px\\]{min-width:252px}.lg\\:max-w-\\[828px\\]{max-width:828px}.lg\\:flex-\\[0_1_828px\\]{flex:0 1 828px}.lg\\:shrink{flex-shrink:1}.lg\\:flex-row{flex-direction:row}.desktop\\:order-3{order:3}.desktop\\:order-4{order:4}.desktop\\:mb-\\[80px\\]{margin-bottom:80px}.desktop\\:ml-\\[-40px\\]{margin-left:-40px}.desktop\\:min-h-\\[498px\\]{min-height:498px}.desktop\\:w-\\[260px\\]{width:260px}.desktop\\:border-none{border-style:none}.desktop\\:px-20{padding-left:5rem;padding-right:5rem}.desktop\\:pb-\\[86px\\]{padding-bottom:86px}.desktop\\:pt-\\[147px\\]{padding-top:147px}.desktop\\:section-divider{padding-bottom:2rem;border-bottom:1px;border-color:rgba(9,34,65,.12);border-style:solid}}@media (min-width:1536px){.min-\\[1536px\\]\\:grid-cols-\\[repeat\\(2\\2c 544px\\)\\]{grid-template-columns:repeat(2,544px)}.min-\\[1536px\\]\\:gap-6{gap:1.5rem}.min-\\[1536px\\]\\:border-none{border-style:none}.min-\\[1536px\\]\\:pr-\\[502px\\]{padding-right:502px}.min-\\[1536px\\]\\:pt-0{padding-top:0}.min-\\[1536px\\]\\:top-right{position:absolute;top:0;right:0;width:402px}}.\\[\\&\\.is-active\\]\\:animate-\\[kb-ripple_600ms_linear\\].is-active{animation:kb-ripple .6s linear}@media not all and (min-width:600px){.max-tablet\\:\\[\\&\\:\\:-webkit-scrollbar\\]\\:hidden::-webkit-scrollbar{display:none}} `,en=t`
|
|
409
|
+
`}var K=t` *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.dlr-text-default,:host,:host :root,:root,html{font-family:var(--root-primary-font);font-size:var(--text-default-size);line-height:var(--text-default-line-height);letter-spacing:var(--text-default-letter-spacing);font-weight:var(--text-default-weight);-webkit-text-decoration:var(--text-default-decoration);text-decoration:var(--text-default-decoration);text-transform:var(--text-default-transform)}.dlr-text-heading{font-size:var(--text-heading-size);line-height:var(--text-heading-line-height);letter-spacing:var(--text-heading-letter-spacing);font-weight:var(--text-heading-weight);-webkit-text-decoration:var(--text-heading-decoration);text-decoration:var(--text-heading-decoration);text-transform:var(--text-heading-transform)}.dlr-text-heading,.dlr-text-page-title{font-family:var(--root-secondary-font)}.dlr-text-page-title{font-size:var(--text-page-title-size);line-height:var(--text-page-title-line-height);letter-spacing:var(--text-page-title-letter-spacing);font-weight:var(--text-page-title-weight);-webkit-text-decoration:var(--text-page-title-decoration);text-decoration:var(--text-page-title-decoration);text-transform:var(--text-page-title-transform)}.dlr-text-link{font-family:var(--root-primary-font);font-size:var(--text-default-size);line-height:var(--text-default-line-height);letter-spacing:var(--text-default-letter-spacing);font-weight:var(--text-default-weight);color:var(--cp-dlr-blue-50);-webkit-text-decoration:var(--text-link-decoration);text-decoration:var(--text-link-decoration);text-transform:var(--text-link-transform)}.dlr-text-link:visited{color:var(--cp-neutral-blue-20)}:host{display:block;min-width:0;color:var(--clr-on-surface,#092241);overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-0{left:0}.left-4{left:1rem}.right-4{right:1rem}.top-0{top:0}.top-2{top:.5rem}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.m-0{margin:0}.m-auto{margin:auto}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1\\.5{margin-top:.375rem;margin-bottom:.375rem}.my-16{margin-top:4rem;margin-bottom:4rem}.mb-1{margin-bottom:.25rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-\\[var\\(--mb\\)\\]{margin-bottom:var(--mb)}.mt-4{margin-top:1rem}.mt-\\[188px\\]{margin-top:188px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16/9}.h-0{height:0}.h-6{height:1.5rem}.h-\\[122px\\]{height:122px}.h-\\[311px\\]{height:311px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.h-full{height:100%}.max-h-\\[60vh\\]{max-height:60vh}.max-h-full{max-height:100%}.min-h-11{min-height:2.75rem}.min-h-\\[356px\\]{min-height:356px}.min-h-full{min-height:100%}.w-0{width:0}.w-6{width:1.5rem}.w-\\[228px\\]{width:228px}.w-\\[252px\\]{width:252px}.w-\\[46px\\]{width:46px}.w-\\[90vw\\]{width:90vw}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.min-w-4{min-width:1rem}.min-w-full{min-width:100%}.max-w-4{max-width:1rem}.max-w-\\[1000px\\]{max-width:1000px}.max-w-\\[1614px\\]{max-width:1614px}.max-w-\\[402px\\]{max-width:402px}.max-w-\\[528px\\]{max-width:528px}.max-w-\\[544px\\]{max-width:544px}.max-w-\\[828px\\]{max-width:828px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-7{gap:1.75rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-3{row-gap:.75rem}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[12px\\]{border-radius:12px}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0}.border-none{border-style:none}.border-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.12\\)\\]{border-color:rgba(9,34,65,.12)}.border-current{border-color:currentColor}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.bg-\\[\\#092241\\]{--tw-bg-opacity:1;background-color:rgb(9 34 65/var(--tw-bg-opacity,1))}.bg-\\[rgba\\(9\\2c 34\\2c 65\\)\\]{--tw-bg-opacity:1;background-color:rgba(9,34,65,var(--tw-bg-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-current{background-color:currentColor}.bg-surface-container-lowest{background-color:var(--cp-neutral-blue-100)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\\/50{background-color:hsla(0,0%,100%,.5)}.bg-none{background-image:none}.bg-cover{background-size:cover}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.fill-white{fill:#fff}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.object-left{-o-object-position:left;object-position:left}.p-0{padding:0}.p-2{padding:.5rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pt-14{padding-top:3.5rem}.pt-20{padding-top:5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.font-body{font-family:Open Sans,sans-serif}.font-heading{font-family:Red Hat Display,sans-serif}.\\!text-\\[20px\\]{font-size:20px!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.\\!leading-6{line-height:1.5rem!important}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-8{line-height:2rem}.leading-\\[18\\.52px\\]{line-height:18.52px}.tracking-\\[0\\.15px\\]{letter-spacing:.15px}.tracking-\\[0\\.25px\\]{letter-spacing:.25px}.tracking-\\[0\\.4px\\]{letter-spacing:.4px}.tracking-\\[1\\.25px\\]{letter-spacing:1.25px}.tracking-normal{letter-spacing:0}.text-\\[rgb\\(20\\2c 86\\2c 224\\)\\]{--tw-text-opacity:1;color:rgb(20 86 224/var(--tw-text-opacity,1))}.text-\\[rgb\\(9\\2c 34\\2c 65\\)\\]{--tw-text-opacity:1;color:rgb(9 34 65/var(--tw-text-opacity,1))}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.55\\)\\]{color:rgba(9,34,65,.55)}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.6\\)\\]{color:rgba(9,34,65,.6)}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.7\\)\\]{color:rgba(9,34,65,.7)}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 0\\.85\\)\\]{color:rgba(9,34,65,.85)}.text-\\[rgba\\(9\\2c 34\\2c 65\\2c 1\\)\\]{color:#092241}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\\/60{color:hsla(0,0%,100%,.6)}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.decoration-\\[rgba\\(20\\2c 86\\2c 224\\2c 0\\.4\\)\\]{text-decoration-color:rgba(20,86,224,.4)}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.outline{outline-style:solid}.drop-shadow-\\[0_1px_4px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.5\\)\\]{--tw-drop-shadow:drop-shadow(0 1px 4px rgba(0,0,0,.5))}.drop-shadow-\\[0_1px_4px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.5\\)\\],.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-\\[250ms\\]{transition-duration:.25s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.section-divider{padding-bottom:2rem;border-bottom:1px;border-color:rgba(9,34,65,.12);border-style:solid}.\\[font-family\\:inherit\\]{font-family:inherit}.\\[font-size\\:inherit\\]{font-size:inherit}.\\[font-weight\\:inherit\\]{font-weight:inherit}.\\[leading-trim\\:none\\]{leading-trim:none}.\\[letter-spacing\\:inherit\\]{letter-spacing:inherit}.\\[line-height\\:inherit\\]{line-height:inherit}.\\[scroll-margin-top\\:var\\(--top-height\\2c 80px\\)\\]{scroll-margin-top:var(--top-height,80px)}.backdrop\\:bg-\\[rgba\\(9\\2c 34\\2c 65\\)\\]::backdrop{--tw-bg-opacity:1;background-color:rgba(9,34,65,var(--tw-bg-opacity,1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.focus\\:not-sr-only:focus{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.focus\\:outline:focus{outline-style:solid}.focus\\:outline-2:focus{outline-width:2px}.focus\\:outline-offset-\\[3px\\]:focus{outline-offset:3px}.focus\\:outline-primary:focus{outline-color:var(--cp-dlr-blue-50)}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-4:focus-visible{outline-offset:4px}.focus-visible\\:outline-offset-\\[-2px\\]:focus-visible{outline-offset:-2px}.focus-visible\\:outline-offset-\\[3px\\]:focus-visible{outline-offset:3px}.focus-visible\\:outline-\\[\\#1456e0\\]:focus-visible{outline-color:#1456e0}.focus-visible\\:outline-primary:focus-visible{outline-color:var(--cp-dlr-blue-50)}.group:hover .group-hover\\:opacity-\\[0\\.04\\]{opacity:.04}.group:focus-visible .group-focus-visible\\:opacity-\\[0\\.12\\]{opacity:.12}@media not all and (min-width:600px){.max-tablet\\:snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.max-tablet\\:snap-mandatory{--tw-scroll-snap-strictness:mandatory}.max-tablet\\:snap-start{scroll-snap-align:start}.max-tablet\\:flex-nowrap{flex-wrap:nowrap}.max-tablet\\:\\[scrollbar-width\\:none\\]{scrollbar-width:none}}@media (min-width:600px){.tablet\\:mx-0{margin-left:0;margin-right:0}.tablet\\:my-32{margin-top:8rem;margin-bottom:8rem}.tablet\\:min-h-\\[447px\\]{min-height:447px}.tablet\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tablet\\:text-5xl{font-size:3rem;line-height:1}.tablet\\:leading-\\[57px\\]{line-height:57px}}@media (min-width:601px){.min-\\[601px\\]\\:text-\\[34px\\]{font-size:34px}.min-\\[601px\\]\\:leading-10{line-height:2.5rem}.min-\\[601px\\]\\:tracking-\\[0\\.35px\\]{letter-spacing:.35px}}@media (min-width:900px){.laptop\\:mb-\\[48px\\]{margin-bottom:48px}.laptop\\:max-w-\\[635px\\]{max-width:635px}.laptop\\:px-\\[35px\\]{padding-left:35px;padding-right:35px}.laptop\\:pb-10{padding-bottom:2.5rem}.min-\\[900px\\]\\:-top-10{top:-2.5rem}.min-\\[900px\\]\\:left-8{left:2rem}.min-\\[900px\\]\\:\\!mt-8{margin-top:2rem!important}.min-\\[900px\\]\\:ml-8{margin-left:2rem}.min-\\[900px\\]\\:mr-6{margin-right:1.5rem}.min-\\[900px\\]\\:mt-14{margin-top:3.5rem}.min-\\[900px\\]\\:flex-row-reverse{flex-direction:row-reverse}.min-\\[900px\\]\\:pt-0{padding-top:0}.min-\\[900px\\]\\:\\!text-\\[34px\\]{font-size:34px!important}.min-\\[900px\\]\\:\\!leading-10{line-height:2.5rem!important}}@media (min-width:1024px){.min-\\[1024px\\]\\:max-w-\\[679px\\]{max-width:679px}}@media (min-width:1200px){.lg\\:left-9{left:2.25rem}.lg\\:top-0{top:0}.lg\\:ml-\\[46px\\]{margin-left:46px}.lg\\:mr-9{margin-right:2.25rem}.lg\\:mt-4{margin-top:1rem}.lg\\:mt-\\[140px\\]{margin-top:140px}.lg\\:w-1\\/4{width:25%}.lg\\:w-\\[828px\\]{width:828px}.lg\\:min-w-\\[252px\\]{min-width:252px}.lg\\:max-w-\\[828px\\]{max-width:828px}.lg\\:flex-\\[0_1_828px\\]{flex:0 1 828px}.lg\\:shrink{flex-shrink:1}.lg\\:flex-row{flex-direction:row}.desktop\\:order-3{order:3}.desktop\\:order-4{order:4}.desktop\\:mb-\\[80px\\]{margin-bottom:80px}.desktop\\:ml-\\[-40px\\]{margin-left:-40px}.desktop\\:min-h-\\[498px\\]{min-height:498px}.desktop\\:w-\\[260px\\]{width:260px}.desktop\\:border-none{border-style:none}.desktop\\:px-20{padding-left:5rem;padding-right:5rem}.desktop\\:pb-\\[86px\\]{padding-bottom:86px}.desktop\\:pt-\\[147px\\]{padding-top:147px}.desktop\\:section-divider{padding-bottom:2rem;border-bottom:1px;border-color:rgba(9,34,65,.12);border-style:solid}}@media (min-width:1536px){.min-\\[1536px\\]\\:grid-cols-\\[repeat\\(2\\2c 544px\\)\\]{grid-template-columns:repeat(2,544px)}.min-\\[1536px\\]\\:gap-6{gap:1.5rem}.min-\\[1536px\\]\\:border-none{border-style:none}.min-\\[1536px\\]\\:pr-\\[502px\\]{padding-right:502px}.min-\\[1536px\\]\\:pt-0{padding-top:0}.min-\\[1536px\\]\\:top-right{position:absolute;top:0;right:0;width:402px}}.\\[\\&\\.is-active\\]\\:animate-\\[kb-ripple_600ms_linear\\].is-active{animation:kb-ripple .6s linear}@media not all and (min-width:600px){.max-tablet\\:\\[\\&\\:\\:-webkit-scrollbar\\]\\:hidden::-webkit-scrollbar{display:none}} `,nn=t`
|
|
410
410
|
:host {
|
|
411
411
|
display: block;
|
|
412
412
|
}
|
|
@@ -430,7 +430,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
430
430
|
grid-template-areas: 'left right';
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
`,
|
|
433
|
+
`,rn=t`
|
|
434
434
|
@keyframes kb-ripple {
|
|
435
435
|
from {
|
|
436
436
|
transform: scale(0);
|
|
@@ -441,9 +441,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
441
441
|
opacity: 0;
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
|
-
`,
|
|
445
|
-
These site rules apply to everyone who enters or uses any properties owned or managed by Digital Realty and its affiliates.`,body:
|
|
446
|
-
These site rules apply to everyone who enters or uses any properties owned or managed by Digital Realty and its affiliates.`,``),featured:!0,duration:void 0,dateAdded:`2023-02-14`,publishedAt:`2023-04-28T12:49:07.666Z`,topics:[{documentId:`ypucau2kzi95zv38sz9bt18c`,code:`operations`,name:`Operations`,icon:`house`}],category:{documentId:`pmt6iqnbgmo33sakbl5aj4rl`,uid:`operational-documents`,title:`Operational Documents`,subtitle:`Reference DLR's SOP documents.`,icon:`userguides`,image:null,behavior:`document_card`,order:100,showSortBy:!0,showFilterByTopic:!1},thumbnail:{url:`https://gp-uat.digitalrealty.com/_next/image?url=%2Fimages%2Fdefault-strapi-image.png&w=1920&q=75`,alternativeText:null,mime:`image/png`,name:`2026-05-08_12-52-26.png`,width:1499,height:851},video:null,documents:[{url:`http://127.0.0.1:10000/devstoreaccount1/assets/assets/Site_Rules2023_ddc9041213.pdf`,alternativeText:`Digital Realty Site Rules`,mime:`application/pdf`,name:`SiteRules2023.pdf`,width:void 0,height:void 0}]}],whatsNew:[{documentId:`d9i05bkwziza6v654okhyiz1`,uid:`welcome-to-the-global-portal`,title:`Welcome to the Global Portal!`,abstract:`We are delighted to welcome you to Digital Realty's new Global Portal! `,body:
|
|
444
|
+
`,an={indexPage:{heading:`Welcome to Knowledge Base!`,description:`Find information about our Portal, Products, Services and so much more on the Knowledge base pages.`,backgroundImage:{url:`https://gp-uat.digitalrealty.com/_next/image?url=https%3A%2F%2Fuat-cms-strapi.digitalrealtytrust.com%2Fuploads%2Fknowledge_base_banner_d4dcd9e2f4.webp&w=1920&q=75`,alternativeText:`Knowledge Base banner`,mime:`image/webp`,name:`knowledge-base-banner.webp`,width:1840,height:514}},categories:[{documentId:`g5rq78kmd343fkt4hzdrb0hw`,uid:`whats-new`,title:`What's New`,subtitle:`Click here to find out more about our newly released functionality and enhancements!`,icon:`local_offer`,image:{url:`https://gp-uat.digitalrealty.com/_next/image?url=https%3A%2F%2Fuat-cms-strapi.digitalrealtytrust.com%2Fuploads%2Fdownload_c3901bb9c7.png&w=1920&q=75`,alternativeText:`servers.jpg`,mime:`image/jpeg`,name:`servers.jpg`,width:4060,height:2092},behavior:`accordion`,order:1,showSortBy:!0,showFilterByTopic:!0},{documentId:`ozvhy3lnmkhjg33tf57r0vij`,uid:`documentation`,title:`User Guides`,subtitle:`Find documents that will guide you through our Global Portal functionality here.`,icon:`assignment`,image:{url:`https://gp-uat.digitalrealty.com/_next/image?url=https%3A%2F%2Fuat-cms-strapi.digitalrealtytrust.com%2Fuploads%2Fdownload_c3901bb9c7.png&w=1920&q=75`,alternativeText:`city.jpg`,mime:`image/jpeg`,name:`city.jpg`,width:3980,height:2944},behavior:`document_card`,order:2,showSortBy:!0,showFilterByTopic:!0},{documentId:`aq1jyyyrwsrh1npo6c8s294f`,uid:`mediaresources`,title:`Media Resources`,subtitle:`The answers to all of your most frequently asked questions.`,icon:`web_asset`,image:{url:`https://gp-uat.digitalrealty.com/_next/image?url=https%3A%2F%2Fuat-cms-strapi.digitalrealtytrust.com%2Fuploads%2Fdownload_c3901bb9c7.png&w=1920&q=75`,alternativeText:`metro.jpg`,mime:`image/jpeg`,name:`metro.jpg`,width:3840,height:2160},behavior:`video_card`,order:4,showSortBy:!0,showFilterByTopic:!0},{documentId:`pmt6iqnbgmo33sakbl5aj4rl`,uid:`operational-documents`,title:`Operational Documents`,subtitle:`Reference DLR's SOP documents.`,icon:`userguides`,image:{url:`https://gp-uat.digitalrealty.com/_next/image?url=https%3A%2F%2Fuat-cms-strapi.digitalrealtytrust.com%2Fuploads%2Fdownload_c3901bb9c7.png&w=1920&q=75`,alternativeText:null,mime:`image/jpeg`,name:`Updated_DLRGlobalPortalLogin.jpg`,width:10003,height:5080},behavior:`document_card`,order:100,showSortBy:!0,showFilterByTopic:!1}],topics:[{documentId:`s629hzyncwphtl3iquv2v95s`,code:`facilityaccess`,name:`Facility Access`,icon:`key`},{documentId:`tqiyw62aqtehuf1njbzzakpx`,code:`usermanagement`,name:`User Management`,icon:`person`},{documentId:`iygzje1mz1fv2fmkh35hxbxo`,code:`rolemanagement`,name:`Role Management`,icon:`book`},{documentId:`yyhu0fen2ru3zqi0xkcnxnux`,code:`servicetickets`,name:`Service Tickets`,icon:`list`},{documentId:`ypucau2kzi95zv38sz9bt18c`,code:`operations`,name:`Operations`,icon:`house`},{documentId:`z7p302fogy2bveaa6qs7oy9g`,code:`reports`,name:`Reports`,icon:`report`}],featured:[{documentId:`emc4t20cdqw2wyyy6xl1c2fb`,uid:`global-portal-welcome-video`,title:`Global Portal Overview Video`,abstract:void 0,body:M(`<p>Welcome to the Global Portal! Discover how our Global Portal streamlines access to key services, integrates seamlessly with backend systems, and empowers you with self-service capabilities designed for scale and ease.</p>`,``),featured:!0,duration:229,dateAdded:`2025-06-11`,publishedAt:`2026-05-08T10:56:59.967Z`,topics:[],category:{documentId:`aq1jyyyrwsrh1npo6c8s294f`,uid:`mediaresources`,title:`Media Resources`,subtitle:`The answers to all of your most frequently asked questions.`,icon:`web_asset`,image:null,behavior:`video_card`,order:4,showSortBy:!0,showFilterByTopic:!0},thumbnail:{url:` https://gp-uat.digitalrealty.com/_next/image?url=%2Fimages%2Fdefault-strapi-image.png&w=1920&q=75`,alternativeText:null,mime:`image/png`,name:`2026-05-08_12-52-26.png`,width:1499,height:851},video:{url:`https://gp-uat.digitalrealty.com/api/files?url=%2Fuploads%2FAN_v6_FULL_36021addbb.mp4`,alternativeText:`Global Portal Overview`,mime:`video/mp4`,name:`AN v9 - Global Portal - FULL.mp4`,width:void 0,height:void 0,formats:{}},documents:[]},{documentId:`ifez9p97ezdtz9lohf9rikvl`,uid:`DLRSiteRules`,title:`Digital Realty Site Rules`,abstract:`This manual is written to provide the highest level of service while minimizing disruption to any stakeholders in our shared environments.
|
|
445
|
+
These site rules apply to everyone who enters or uses any properties owned or managed by Digital Realty and its affiliates.`,body:M(`This manual is written to provide the highest level of service while minimizing disruption to any stakeholders in our shared environments.
|
|
446
|
+
These site rules apply to everyone who enters or uses any properties owned or managed by Digital Realty and its affiliates.`,``),featured:!0,duration:void 0,dateAdded:`2023-02-14`,publishedAt:`2023-04-28T12:49:07.666Z`,topics:[{documentId:`ypucau2kzi95zv38sz9bt18c`,code:`operations`,name:`Operations`,icon:`house`}],category:{documentId:`pmt6iqnbgmo33sakbl5aj4rl`,uid:`operational-documents`,title:`Operational Documents`,subtitle:`Reference DLR's SOP documents.`,icon:`userguides`,image:null,behavior:`document_card`,order:100,showSortBy:!0,showFilterByTopic:!1},thumbnail:{url:`https://gp-uat.digitalrealty.com/_next/image?url=%2Fimages%2Fdefault-strapi-image.png&w=1920&q=75`,alternativeText:null,mime:`image/png`,name:`2026-05-08_12-52-26.png`,width:1499,height:851},video:null,documents:[{url:`http://127.0.0.1:10000/devstoreaccount1/assets/assets/Site_Rules2023_ddc9041213.pdf`,alternativeText:`Digital Realty Site Rules`,mime:`application/pdf`,name:`SiteRules2023.pdf`,width:void 0,height:void 0}]}],whatsNew:[{documentId:`d9i05bkwziza6v654okhyiz1`,uid:`welcome-to-the-global-portal`,title:`Welcome to the Global Portal!`,abstract:`We are delighted to welcome you to Digital Realty's new Global Portal! `,body:M(`<p>Our new Global Portal is your passport to DLR's a single global experience - any product, any service, any time and any where! Using the latest in technology and UX design is the culmination of our new best-in-class customer experience combining existing trusted capabilities along with expanded user management and control functionality which allows you to drive who and how they interact with products and services. The Global Portal introduces a clean and information-rich interface that is context-aware allowing single-click access for the most used and critical functions without leaving the Launchpad. This completely redesigned platform sits at the crossroads of DLR providing endless opportunities to securely integrate with products and service via our Global APIs.</p>`,``),featured:!1,duration:void 0,dateAdded:`2025-06-17`,publishedAt:`2022-08-03T00:38:14.022Z`,topics:[],category:{documentId:`g5rq78kmd343fkt4hzdrb0hw`,uid:`whats-new`,title:`What's New`,subtitle:`Click here to find out more about our newly released functionality and enhancements!`,icon:`local_offer`,image:null,behavior:`accordion`,order:1,showSortBy:!0,showFilterByTopic:!0},thumbnail:null,video:null,documents:[]},{documentId:`d9i05bkwziza6v654okhyiz1`,uid:`welcome-to-the-global-portal`,title:`Physical access requests are here!`,abstract:`Curabitur blandit tempus porttitor. Maecenas sed diam eget risus varius blandit sit amet non magna. Vestibulum id ligula porta felis euismod semper.`,body:M(`<p>Our new Global Portal is your passport to DLR's a single global experience - any product, any service, any time and any where! Using the latest in technology and UX design is the culmination of our new best-in-class customer experience combining existing trusted capabilities along with expanded user management and control functionality which allows you to drive who and how they interact with products and services. The Global Portal introduces a clean and information-rich interface that is context-aware allowing single-click access for the most used and critical functions without leaving the Launchpad. This completely redesigned platform sits at the crossroads of DLR providing endless opportunities to securely integrate with products and service via our Global APIs.</p>`,``),featured:!1,duration:void 0,dateAdded:`2024-04-07`,publishedAt:`2022-08-03T00:38:14.022Z`,topics:[],category:{documentId:`g5rq78kmd343fkt4hzdrb0hw`,uid:`whats-new`,title:`What's New`,subtitle:`Click here to find out more about our newly released functionality and enhancements!`,icon:`local_offer`,image:null,behavior:`accordion`,order:1,showSortBy:!0,showFilterByTopic:!0},thumbnail:null,video:null,documents:[]}]},q=class extends e{constructor(...e){super(...e),this.loading=!0,this.error=!1,this.data=null,this.request=0}static{this.styles=[K,rn,nn,Zt]}connectedCallback(){super.connectedCallback(),this.load(),this.unsubscribePreview=V(()=>void this.load())}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribePreview?.(),++this.request}async load(){let e=++this.request;this.loading=!0,this.error=!1;try{let t=await U().getLanding();e===this.request&&(this.data=t)}catch{e===this.request&&(this.data=an)}finally{e===this.request&&(this.loading=!1)}}render(){if(this.loading)return n`<div class="my-16 tablet:my-32">
|
|
447
447
|
<ix-progress
|
|
448
448
|
class="flex justify-center"
|
|
449
449
|
aria-label="Loading Knowledge Base"
|
|
@@ -460,32 +460,32 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
460
460
|
</button>
|
|
461
461
|
`;let{indexPage:e,categories:t,topics:r,featured:i,whatsNew:a}=this.data;return n`
|
|
462
462
|
<div class="mx-4 tablet:mx-0">
|
|
463
|
-
${
|
|
463
|
+
${Ht(e)}
|
|
464
464
|
<div class="relative pb-8 max-w-[1614px]">
|
|
465
465
|
<div class="flex flex-col min-[1536px]:pr-[502px]">
|
|
466
466
|
<section class="order-1 section-divider">
|
|
467
|
-
${
|
|
467
|
+
${G(`Categories`)} ${Wt(t)}
|
|
468
468
|
</section>
|
|
469
469
|
<section class="order-2 section-divider pt-8">
|
|
470
|
-
${
|
|
470
|
+
${G(`Topics`)} ${Qt(r)}
|
|
471
471
|
</section>
|
|
472
472
|
<section
|
|
473
473
|
class="order-4 pt-8 desktop:order-3 desktop:section-divider min-[1536px]:border-none"
|
|
474
474
|
>
|
|
475
|
-
${
|
|
475
|
+
${G(`Featured Resources`)} ${Yt(i)}
|
|
476
476
|
</section>
|
|
477
477
|
<section
|
|
478
478
|
class="order-3 pt-8 min-[1536px]:pt-0 desktop:order-4 section-divider desktop:border-none min-[1536px]:top-right"
|
|
479
479
|
>
|
|
480
|
-
${
|
|
480
|
+
${G(`What's New`,8)} ${tn(a)}
|
|
481
481
|
</section>
|
|
482
482
|
</div>
|
|
483
483
|
</div>
|
|
484
484
|
</div>
|
|
485
|
-
`}};
|
|
485
|
+
`}};W([s()],q.prototype,`loading`,void 0),W([s()],q.prototype,`error`,void 0),W([s()],q.prototype,`data`,void 0),q=W([a(`kb-landing-view`)],q);var on=new Intl.Collator(`en`,{sensitivity:`accent`});function sn(e,t){return on.compare(e.title,t.title)||(e.uid<t.uid?-1:+(e.uid>t.uid))}function cn(e){for(let t of e.topics){let e=t.name.trim();if(e)return e}}var ln=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}):(\d{2})(?:\.\d{1,9})?(Z|[+-]\d{2}:\d{2}))?$/;function un(e){if(typeof e!=`string`)return NaN;let t=ln.exec(e);if(!t||t[0]!==e)return NaN;let[,n,r,i,a,o,s,c]=t,l=Number(n),u=Number(r),d=Number(i);if(l<1||u<1||u>12)return NaN;let f=[31,l%4==0&&(l%100!=0||l%400==0)?29:28,31,30,31,30,31,31,30,31,30,31];if(d<1||d>f[u-1]||a!==void 0&&(Number(a)>23||Number(o)>59||Number(s)>59||c!==`Z`&&(Number(c.slice(1,3))>23||Number(c.slice(4,6))>59)))return NaN;let p=Date.parse(e);return Number.isFinite(p)?p:NaN}function dn(e,t=`newest`){return[...e].sort((e,n)=>{if(t===`topic`){let t=cn(e),r=cn(n);return t===void 0&&r!==void 0?1:r===void 0&&t!==void 0?-1:on.compare(t??``,r??``)||sn(e,n)}let r=un(e.dateAdded),i=un(n.dateAdded),a=Number.isFinite(r),o=Number.isFinite(i);return a===o?a&&o&&r!==i?t===`oldest`?r-i:i-r:sn(e,n):a?-1:1})}function J(e){return Number.isInteger(e)&&e>=1&&e<=9999}function fn(e){return[...new Set(e.filter(J))].sort((e,t)=>t-e)}function pn(e){if(typeof e!=`string`)return null;let t=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}):(\d{2})(?:\.\d{1,9})?(Z|[+-]\d{2}:\d{2}))?$/.exec(e);if(!t||t[0]!==e)return null;let[,n,r,i,a,o,s,c]=t,l=Number(n),u=Number(r),d=Number(i),f=[31,l%4==0&&(l%100!=0||l%400==0)?29:28,31,30,31,30,31,31,30,31,30,31];if(!J(l)||u<1||u>12||d<1||d>f[u-1])return null;if(a===void 0)return l;if(Number(a)>23||Number(o)>59||Number(s)>59||c!==`Z`&&(Number(c.slice(1,3))>23||Number(c.slice(4,6))>59))return null;let p=new Date(e).getUTCFullYear();return J(p)?p:null}function Y(e){return fn(e.map(e=>pn(e.dateAdded)).filter(e=>e!==null))}var mn=i`<svg
|
|
486
486
|
slot="icon" aria-hidden="true" focusable="false"
|
|
487
487
|
width="20" height="20" viewBox="0 0 24 24" fill="currentColor"
|
|
488
|
-
><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></svg>`,
|
|
488
|
+
><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></svg>`,X=[],hn=!1;function gn(e){e!==X[X.length-1]&&(e===X[X.length-2]?X.pop():X.push(e))}function _n(e){let t=e.detail?.location;gn(t?.pathname??window.location.pathname)}function vn(){hn||(hn=!0,gn(window.location.pathname),window.addEventListener(`vaadin-router-location-changed`,_n))}function yn(){return X.length>=2?X[X.length-2]:null}function bn(){let e=yn();e&&re(e)?window.history.back():c.go(h)}var xn=class extends e{static{this.styles=t`
|
|
489
489
|
:host {
|
|
490
490
|
display: inline-block;
|
|
491
491
|
font-family: var(--text-default-font, var(--root-primary-font, 'Open Sans', sans-serif));
|
|
@@ -502,16 +502,16 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
502
502
|
.label {
|
|
503
503
|
text-transform: uppercase;
|
|
504
504
|
}
|
|
505
|
-
`}connectedCallback(){super.connectedCallback(),
|
|
506
|
-
<ix-button appearance="text" has-icon @click=${()=>
|
|
507
|
-
${
|
|
505
|
+
`}connectedCallback(){super.connectedCallback(),vn()}render(){return n`
|
|
506
|
+
<ix-button appearance="text" has-icon @click=${()=>bn()}>
|
|
507
|
+
${mn}
|
|
508
508
|
<span class="label">Back</span>
|
|
509
509
|
</ix-button>
|
|
510
|
-
`}};
|
|
510
|
+
`}};xn=W([a(`kb-back-btn`)],xn);var Sn=n`
|
|
511
511
|
<svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true" focusable="false">
|
|
512
512
|
<path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>
|
|
513
513
|
</svg>
|
|
514
|
-
`,
|
|
514
|
+
`,Z=class extends e{constructor(...e){super(...e),this.current=``}static{this.styles=t`
|
|
515
515
|
:host {
|
|
516
516
|
display: block;
|
|
517
517
|
font-family: var(--text-default-font, var(--root-primary-font, 'Open Sans', sans-serif));
|
|
@@ -568,12 +568,12 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
568
568
|
<ol>
|
|
569
569
|
<li><a href=${h}>Knowledge Base</a></li>
|
|
570
570
|
${this.current?n`
|
|
571
|
-
<li class="sep" aria-hidden="true">${
|
|
571
|
+
<li class="sep" aria-hidden="true">${Sn}</li>
|
|
572
572
|
<li><span class="current" aria-current="page">${this.current}</span></li>
|
|
573
573
|
`:r}
|
|
574
574
|
</ol>
|
|
575
575
|
</nav>
|
|
576
|
-
`}};
|
|
576
|
+
`}};W([o({type:String})],Z.prototype,`current`,void 0),Z=W([a(`kb-breadcrumb`)],Z);var Q=class extends e{constructor(...e){super(...e),this.categories=[],this.currentUid=``,this.compact=!1}static{this.styles=t`
|
|
577
577
|
:host {
|
|
578
578
|
display: block;
|
|
579
579
|
min-inline-size: 0;
|
|
@@ -666,7 +666,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
666
666
|
`)}
|
|
667
667
|
</ul>
|
|
668
668
|
</nav>
|
|
669
|
-
`}};
|
|
669
|
+
`}};W([o({attribute:!1})],Q.prototype,`categories`,void 0),W([o({type:String,attribute:`current-uid`})],Q.prototype,`currentUid`,void 0),W([o({type:Boolean,reflect:!0})],Q.prototype,`compact`,void 0),Q=W([a(`kb-category-nav`)],Q);var Cn=class extends e{constructor(...e){super(...e),this.count=0,this.value=`newest`}static{this.styles=t`
|
|
670
670
|
:host {
|
|
671
671
|
display: block;
|
|
672
672
|
color: var(--clr-on-surface, #092241);
|
|
@@ -785,7 +785,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
785
785
|
</div>
|
|
786
786
|
</div>
|
|
787
787
|
</div>
|
|
788
|
-
`}};
|
|
788
|
+
`}};W([o({type:Number})],Cn.prototype,`count`,void 0),W([o({type:String})],Cn.prototype,`value`,void 0),Cn=W([a(`kb-sort-control`)],Cn);function wn(e){return n`<svg
|
|
789
789
|
class="topic-icon"
|
|
790
790
|
viewBox="0 0 24 24"
|
|
791
791
|
width="20"
|
|
@@ -799,7 +799,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
799
799
|
stroke-linejoin="round"
|
|
800
800
|
>
|
|
801
801
|
<path d=${e===`book`?`M12 5C9 3 5 3 2 4v15c3-1 7-1 10 1 3-2 7-2 10-1V4c-3-1-7-1-10 1Zm0 0v15`:e===`newspaper`?`M4 3h16v18H4V3Zm3 4h4v4H7V7Zm7 0h3m-3 4h3M7 15h10M7 18h10`:`M3 3h8l10 10-8 8L3 11V3Zm4 4h.01`}></path>
|
|
802
|
-
</svg>`}var Tn=class extends e{constructor(...e){super(...e),this.topics=[],this.selectedCode=``,this.canScrollBack=!1,this.canScrollForward=!1,this.measureOverflow=()=>{let e=this.viewport,t=e?Math.max(0,e.scrollWidth-e.clientWidth):0,n=e?Math.max(0,Math.min(t,e.scrollLeft)):0,r=t>1&&n>1,i=t>1&&n<t-1,a=this.shadowRoot?.activeElement;a?.matches(`.scroll-control`)&&(!r&&a.getAttribute(`aria-label`)===`Scroll topics left`||!i&&a.getAttribute(`aria-label`)===`Scroll topics right`)&&e?.focus({preventScroll:!0}),this.canScrollBack=r,this.canScrollForward=i}}static{this.styles=[
|
|
802
|
+
</svg>`}var Tn=class extends e{constructor(...e){super(...e),this.topics=[],this.selectedCode=``,this.canScrollBack=!1,this.canScrollForward=!1,this.measureOverflow=()=>{let e=this.viewport,t=e?Math.max(0,e.scrollWidth-e.clientWidth):0,n=e?Math.max(0,Math.min(t,e.scrollLeft)):0,r=t>1&&n>1,i=t>1&&n<t-1,a=this.shadowRoot?.activeElement;a?.matches(`.scroll-control`)&&(!r&&a.getAttribute(`aria-label`)===`Scroll topics left`||!i&&a.getAttribute(`aria-label`)===`Scroll topics right`)&&e?.focus({preventScroll:!0}),this.canScrollBack=r,this.canScrollForward=i}}static{this.styles=[Zt,t`
|
|
803
803
|
:host {
|
|
804
804
|
display: block;
|
|
805
805
|
min-width: 0;
|
|
@@ -921,7 +921,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
921
921
|
@focusin=${this.revealFocusedChip}
|
|
922
922
|
>
|
|
923
923
|
<div class="topics">
|
|
924
|
-
${f(t,e=>e.code,e=>
|
|
924
|
+
${f(t,e=>e.code,e=>Xt({label:e.name?.trim()?e.name:e.code,title:e.name?.trim()?e.name:e.code,code:e.code,icon:wn(e.icon),selected:this.selectedCode===e.code,onClick:()=>this.select(e.code)}))}
|
|
925
925
|
</div>
|
|
926
926
|
</div>
|
|
927
927
|
<button
|
|
@@ -945,7 +945,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
945
945
|
</svg>
|
|
946
946
|
</button>
|
|
947
947
|
</div>
|
|
948
|
-
`:r}};
|
|
948
|
+
`:r}};W([o({attribute:!1})],Tn.prototype,`topics`,void 0),W([o({type:String,attribute:`selected-code`})],Tn.prototype,`selectedCode`,void 0),W([s()],Tn.prototype,`canScrollBack`,void 0),W([s()],Tn.prototype,`canScrollForward`,void 0),Tn=W([a(`kb-topic-filter`)],Tn);var En=class extends e{constructor(...e){super(...e),this.years=[],this.selectedYear=null}static{this.styles=[Zt,t`
|
|
949
949
|
:host {
|
|
950
950
|
display: block;
|
|
951
951
|
}
|
|
@@ -955,11 +955,11 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
955
955
|
gap: 0.5rem;
|
|
956
956
|
padding: 0.25rem;
|
|
957
957
|
}
|
|
958
|
-
`]}selectYear(e){
|
|
958
|
+
`]}selectYear(e){fn(this.years).includes(e)&&this.dispatchEvent(new CustomEvent(`kb-year-change`,{detail:{year:e},bubbles:!0,composed:!0}))}render(){let e=fn(this.years);return e.length?n`
|
|
959
959
|
<div class="years" role="group" aria-label="Filter release notes by year">
|
|
960
|
-
${f(e,e=>e,e=>
|
|
960
|
+
${f(e,e=>e,e=>Xt({label:e,selected:this.selectedYear===e,onClick:()=>this.selectYear(e)}))}
|
|
961
961
|
</div>
|
|
962
|
-
`:r}};
|
|
962
|
+
`:r}};W([o({attribute:!1})],En.prototype,`years`,void 0),W([o({attribute:!1})],En.prototype,`selectedYear`,void 0),En=W([a(`kb-whats-new-year-filter`)],En);function Dn(e){for(let t of[e.dateAdded,e.publishedAt]){if(!t)continue;let e=new Date(t);if(Number.isFinite(e.getTime()))return e}}var On=class extends e{constructor(...e){super(...e),this.post=null}static{this.styles=t`
|
|
963
963
|
:host {
|
|
964
964
|
display: block;
|
|
965
965
|
min-inline-size: 0;
|
|
@@ -1102,7 +1102,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1102
1102
|
<div class="body">${e.body}</div>
|
|
1103
1103
|
</div>
|
|
1104
1104
|
</article>
|
|
1105
|
-
`}};
|
|
1105
|
+
`}};W([o({attribute:!1})],On.prototype,`post`,void 0),On=W([a(`kb-post-text`)],On);function kn(e){if(e)try{let t=new URL(e);return(t.protocol===`https:`||t.protocol===`http:`)&&!t.username&&!t.password?t.href:void 0}catch{return}}var An=class extends e{constructor(...e){super(...e),this.post=null}static{this.styles=t`
|
|
1106
1106
|
:host {
|
|
1107
1107
|
display: block;
|
|
1108
1108
|
min-inline-size: 0;
|
|
@@ -1279,7 +1279,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1279
1279
|
</ul>`:r}
|
|
1280
1280
|
</div>
|
|
1281
1281
|
</article>
|
|
1282
|
-
`}};
|
|
1282
|
+
`}};W([o({attribute:!1})],An.prototype,`post`,void 0),An=W([a(`kb-post-document-card`)],An);function jn(e){if(e<=0)return 0;let t=e/36;return Math.round(10*(4+15*t**.25+t/5))}var Mn=0,Nn=class extends e{constructor(...e){super(...e),this.post=null,this.expanded=!1,this.retaining=!1,this.fromHeight=0,this.motionPreference=()=>{this.reduceMotion?.matches&&(this.cancelMotion(),this.retaining=!1)},this.buttonId=`kb-accordion-button-${++Mn}`,this.panelId=`${this.buttonId}-panel`}connectedCallback(){super.connectedCallback(),this.reduceMotion=window.matchMedia?.(`(prefers-reduced-motion: reduce)`),this.reduceMotion?.addEventListener?.(`change`,this.motionPreference)}disconnectedCallback(){this.cancelMotion(),this.retaining=!1,this.reduceMotion?.removeEventListener?.(`change`,this.motionPreference),super.disconnectedCallback()}cancelMotion(){this.motionTimer!==void 0&&clearTimeout(this.motionTimer),this.motionTimer=void 0,this.motion&&(this.motion.onfinish=null,this.motion.cancel()),this.motion=void 0}willUpdate(e){if(!e.has(`expanded`)&&!e.has(`post`))return;let t=this.shadowRoot?.querySelector(`.panel`);this.fromHeight=t?.getBoundingClientRect().height??0,this.cancelMotion(),this.retaining=this.hasUpdated&&!e.has(`post`)&&!!t?.animate&&!this.reduceMotion?.matches,!this.expanded&&t?.contains(this.shadowRoot?.activeElement??null)&&this.shadowRoot?.querySelector(`button`)?.focus()}updated(e){if(!this.retaining||!e.has(`expanded`)||!this.isConnected)return;let t=this.shadowRoot.querySelector(`.panel`),n=this.shadowRoot.querySelector(`.panel-content`);if(!t||!n){this.retaining=!1;return}let r=n.getBoundingClientRect().height,i=jn(r),a=this.expanded?r:0;if(!i||this.fromHeight===a){this.retaining=!1;return}let o=t.animate([{height:`${this.fromHeight}px`},{height:`${a}px`}],{duration:i,easing:`cubic-bezier(0.4, 0, 0.2, 1)`});this.motion=o;let s=()=>{this.motion===o&&(this.cancelMotion(),this.retaining=!1)};o.onfinish=s,this.motionTimer=setTimeout(s,i+60)}static{this.styles=t`
|
|
1283
1283
|
:host {
|
|
1284
1284
|
display: block;
|
|
1285
1285
|
color: var(--clr-on-surface, #092241);
|
|
@@ -1420,7 +1420,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1420
1420
|
<div class="panel-content">${this.expanded||this.retaining?e.body:r}</div>
|
|
1421
1421
|
</div>
|
|
1422
1422
|
</article>
|
|
1423
|
-
`:r}};
|
|
1423
|
+
`:r}};W([o({attribute:!1})],Nn.prototype,`post`,void 0),W([o({type:Boolean})],Nn.prototype,`expanded`,void 0),W([s()],Nn.prototype,`retaining`,void 0),Nn=W([a(`kb-post-accordion`)],Nn);var Pn=t`
|
|
1424
1424
|
.sr-only {
|
|
1425
1425
|
position: absolute;
|
|
1426
1426
|
width: 1px;
|
|
@@ -1734,7 +1734,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1734
1734
|
</svg>
|
|
1735
1735
|
</button>
|
|
1736
1736
|
</div>`:r}
|
|
1737
|
-
</dialog>`}};
|
|
1737
|
+
</dialog>`}};W([o({attribute:!1})],Ln.prototype,`post`,void 0),W([s()],Ln.prototype,`expanded`,void 0),W([s()],Ln.prototype,`playbackMessage`,void 0),W([s()],Ln.prototype,`captionMessage`,void 0),Ln=W([a(`kb-post-video-card`)],Ln);var $=class extends e{constructor(...e){super(...e),this.uid=``,this.loading=!0,this.error=!1,this.data=null,this.categories=[],this.categoriesLoading=!0,this.categoriesError=!1,this.topic=``,this.sort=`newest`,this.year=null,this.expandedUid=null,this.wide=!1,this.navigationOpen=!1,this.resizeNavigation=()=>{let e=this.shadowRoot?.activeElement,t=e?.closest(`[data-navigation]`)||e?.id===`category-disclosure`;this.wide=this.media?.matches??!1,this.navigationOpen=!1,t&&this.updateComplete.then(()=>this.focusHeading())},this.outsideNavigation=e=>{let t=e.composedPath(),n=this.shadowRoot?.querySelector(`#category-disclosure`),r=this.shadowRoot?.querySelector(`#category-navigation`);(!n||!t.includes(n))&&(!r||!t.includes(r))&&this.closeNavigation(!0)},this.navigationFocus=e=>{let t=e.composedPath(),n=this.shadowRoot?.querySelector(`#category-disclosure`),r=this.shadowRoot?.querySelector(`#category-navigation`);(!n||!t.includes(n))&&(!r||!t.includes(r))&&this.closeNavigation()},this.postUid=``,this.request=0,this.categoriesRequest=0,this.initialOpenVersion=0}static{this.styles=[K]}connectedCallback(){super.connectedCallback(),this.media=window.matchMedia?.(`(min-width: 900px)`),this.wide=this.media?.matches??!1,this.media?.addEventListener(`change`,this.resizeNavigation),document.addEventListener(`pointerdown`,this.outsideNavigation),this.renderRoot.addEventListener(`focusin`,this.navigationFocus),document.addEventListener(`focusin`,this.navigationFocus),this.unsubscribePreview=V(()=>{this.load(),this.loadCategories()})}focusHeading(){this.shadowRoot?.querySelector(`#category-heading`)?.focus()}closeNavigation(e=!1){this.navigationOpen&&=(e&&this.shadowRoot?.activeElement?.closest(`[data-navigation]`)&&this.shadowRoot.querySelector(`#category-disclosure`)?.focus(),!1)}navigationKey(e){let t=e.composedPath(),n=this.shadowRoot?.querySelector(`#category-disclosure`),r=this.shadowRoot?.querySelector(`#category-navigation`),i=n&&t.includes(n)||r&&t.includes(r);e.key===`Escape`&&this.navigationOpen&&i&&(e.preventDefault(),this.shadowRoot?.querySelector(`#category-disclosure`)?.focus(),this.closeNavigation())}cancelInitialOpen(){++this.initialOpenVersion,this.initialOpenFrame!==void 0&&cancelAnimationFrame(this.initialOpenFrame),this.initialOpenFrame=void 0}async openInitialMonth(e,t){let n=this.initialOpenVersion;if(!t)return;await this.updateComplete;let r=()=>this.isConnected&&e===this.request&&n===this.initialOpenVersion;r()&&(this.initialOpenFrame=requestAnimationFrame(()=>{r()&&(this.initialOpenFrame=requestAnimationFrame(()=>{r()&&(this.initialOpenFrame=void 0,this.expandedUid===null&&(this.expandedUid=t))}))}))}onAfterEnter(e){this.focusBeforePageChange(),this.closeNavigation(!0),this.uid=String(e.params.uid??``),this.postUid=String(e.params.postUid??``),this.topic=``,this.sort=`newest`,this.year=null,this.expandedUid=null,this.load(),this.loadCategories()}disconnectedCallback(){this.media?.removeEventListener(`change`,this.resizeNavigation),document.removeEventListener(`pointerdown`,this.outsideNavigation),this.renderRoot.removeEventListener(`focusin`,this.navigationFocus),document.removeEventListener(`focusin`,this.navigationFocus),super.disconnectedCallback(),this.unsubscribePreview?.(),this.cancelInitialOpen(),++this.request,++this.categoriesRequest}focusBeforePageChange(){let e=this.shadowRoot?.activeElement;e&&e.id!==`category-heading`&&(e.closest(`[data-content]`)||e.closest(`[data-navigation]`))&&this.shadowRoot?.querySelector(`#category-heading`)?.focus()}async load(){this.cancelInitialOpen(),this.focusBeforePageChange();let e=++this.request,t=this.postUid,n=null;this.loading=!0,this.error=!1,this.data=null;try{let r=this.uid?await U().getCategory(this.uid):null;if(e!==this.request)return;this.data=r;let i=t&&r?.category?r.posts.find(e=>e.uid===t&&this.behavior(e)===`accordion`):void 0;this.year=this.uid===`whats-new`?i?pn(i.dateAdded):Y(r?.posts??[])[0]??null:null,n=t?i?.uid??null:this.firstAccordion(this.visiblePosts()),this.expandedUid=this.uid===`whats-new`?null:n}catch{e===this.request&&(this.error=!0)}finally{e===this.request&&(this.loading=!1)}e===this.request&&!this.error&&this.uid===`whats-new`&&this.openInitialMonth(e,n)}async loadCategories(){this.shadowRoot?.activeElement?.closest(`[data-navigation]`)&&this.shadowRoot.querySelector(`#category-heading`)?.focus();let e=++this.categoriesRequest;this.categoriesLoading=!0,this.categoriesError=!1,this.categories=[];try{let t=await U().getCategories();e===this.categoriesRequest&&(this.categories=[...t])}catch{e===this.categoriesRequest&&(this.categoriesError=!0)}finally{e===this.categoriesRequest&&(this.categoriesLoading=!1)}}behavior(e){return e.behavior??this.data?.category?.behavior??`text`}visiblePosts(e=this.topic,t=this.year){let n=this.data?.category,r=(this.data?.posts??[]).filter(r=>(!n?.showFilterByTopic||!e||r.topics.some(t=>t.code===e))&&(this.uid!==`whats-new`||t===null||pn(r.dateAdded)===t));return n?.showSortBy||this.uid===`whats-new`?dn(r,this.sort):r}firstAccordion(e){return e.find(e=>this.behavior(e)===`accordion`)?.uid??null}focusBeforePostsChange(e,t){let n=this.shadowRoot?.activeElement,r=n?.closest(`[data-post]`);n&&r&&(e.some(e=>e.uid===r.dataset.post)?n.localName===`kb-post-accordion`&&r.dataset.post!==t&&(n.shadowRoot?.activeElement)?.closest(`[role="region"]`)&&n.shadowRoot?.querySelector(`button`)?.focus():this.shadowRoot?.querySelector(`#posts-heading`)?.focus())}filter(e,t){this.cancelInitialOpen();let n=this.visiblePosts(),r=this.visiblePosts(e,t),i=n.length===r.length&&n.every(e=>r.includes(e))?this.expandedUid:this.firstAccordion(r);this.focusBeforePostsChange(r,i),this.topic=e,this.year=t,this.expandedUid=i}onTopicChange(e){if(!this.data?.category?.showFilterByTopic)return;let t=e.detail.code;(!t||this.data.posts.some(e=>e.topics.some(e=>e.code===t)))&&this.filter(t,this.year)}onYearChange(e){let t=e.detail.year;this.uid===`whats-new`&&Y(this.data?.posts??[]).includes(t)&&this.filter(this.topic,t)}onSortChange(e){let t=e.detail.value;this.data?.category?.showSortBy&&[`newest`,`oldest`,`topic`].includes(t)&&(this.cancelInitialOpen(),this.sort=t)}onAccordionToggle(e){let{uid:t,expanded:n}=e.detail,r=this.visiblePosts();if(!r.some(e=>e.uid===t&&this.behavior(e)===`accordion`))return;this.cancelInitialOpen();let i=n?t:null;this.focusBeforePostsChange(r,i),this.expandedUid=i}renderPost(e){switch(this.behavior(e)){case`document_card`:return n`<kb-post-document-card .post=${e}></kb-post-document-card>`;case`video_card`:return n`<kb-post-video-card .post=${e}></kb-post-video-card>`;case`accordion`:return n`<kb-post-accordion
|
|
1738
1738
|
.post=${e}
|
|
1739
1739
|
.expanded=${this.expandedUid===e.uid}
|
|
1740
1740
|
@kb-accordion-toggle=${this.onAccordionToggle}
|
|
@@ -1745,7 +1745,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1745
1745
|
@click=${()=>void this.load()}
|
|
1746
1746
|
>
|
|
1747
1747
|
Retry category
|
|
1748
|
-
</button>`;if(!this.data?.category)return n`<p>This category is unavailable.</p>`;let{category:e,posts:t}=this.data,i=new Map;for(let e of t.flatMap(e=>e.topics))e.code.trim()&&!i.has(e.code)&&i.set(e.code,e);let a=[...i.values()],o=this.uid===`whats-new`?
|
|
1748
|
+
</button>`;if(!this.data?.category)return n`<p>This category is unavailable.</p>`;let{category:e,posts:t}=this.data,i=new Map;for(let e of t.flatMap(e=>e.topics))e.code.trim()&&!i.has(e.code)&&i.set(e.code,e);let a=[...i.values()],o=this.uid===`whats-new`?Y(t):[],s=this.visiblePosts();return n`
|
|
1749
1749
|
<kb-search-bar class="min-[900px]:!mt-8" .category=${this.uid}></kb-search-bar>
|
|
1750
1750
|
${e.subtitle?n`<p>${e.subtitle}</p>`:r}
|
|
1751
1751
|
${o.length?n`<kb-whats-new-year-filter .years=${o} .selectedYear=${this.year} @kb-year-change=${this.onYearChange}></kb-whats-new-year-filter>`:r}
|
|
@@ -1816,7 +1816,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1816
1816
|
${this.renderContent()}
|
|
1817
1817
|
</section>
|
|
1818
1818
|
</div>
|
|
1819
|
-
</div>`}};
|
|
1819
|
+
</div>`}};W([s()],$.prototype,`uid`,void 0),W([s()],$.prototype,`loading`,void 0),W([s()],$.prototype,`error`,void 0),W([s()],$.prototype,`data`,void 0),W([s()],$.prototype,`categories`,void 0),W([s()],$.prototype,`categoriesLoading`,void 0),W([s()],$.prototype,`categoriesError`,void 0),W([s()],$.prototype,`topic`,void 0),W([s()],$.prototype,`sort`,void 0),W([s()],$.prototype,`year`,void 0),W([s()],$.prototype,`expandedUid`,void 0),W([s()],$.prototype,`wide`,void 0),W([s()],$.prototype,`navigationOpen`,void 0),$=W([a(`kb-category-view`)],$);var Rn=class extends e{constructor(...e){super(...e),this.code=``,this.loading=!0,this.error=!1,this.data=null,this.expandedUid=null,this.request=0}static{this.styles=[K]}connectedCallback(){super.connectedCallback(),this.unsubscribePreview=V(()=>void this.load()),this.hasUpdated&&this.code&&this.load()}onAfterEnter(e){this.code=String(e.params.code??``),this.load()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribePreview?.(),++this.request}async load(){let e=++this.request;this.loading=!0,this.error=!1,this.data=null,this.expandedUid=null;let t=()=>e===this.request;try{let e=this.code?await U().getTopic(this.code):null;t()&&(this.data=e)}catch{t()&&(this.error=!0)}finally{t()&&(this.loading=!1)}}behavior(e){return e.behavior??e.category?.behavior??`text`}onAccordionToggle(e){let{uid:t,expanded:n}=e.detail;this.data?.posts.some(e=>e.uid===t&&this.behavior(e)===`accordion`)&&(this.expandedUid=n?t:null)}renderPost(e){switch(this.behavior(e)){case`document_card`:return n`<kb-post-document-card .post=${e}></kb-post-document-card>`;case`video_card`:return n`<kb-post-video-card .post=${e}></kb-post-video-card>`;case`accordion`:return n`<kb-post-accordion
|
|
1820
1820
|
.post=${e}
|
|
1821
1821
|
.expanded=${this.expandedUid===e.uid}
|
|
1822
1822
|
@kb-accordion-toggle=${this.onAccordionToggle}
|
|
@@ -1846,7 +1846,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1846
1846
|
${f(this.data.posts,e=>`${this.code}:${e.documentId||e.uid}`,e=>n`<li class="min-w-0" data-post=${e.uid}>${this.renderPost(e)}</li>`)}
|
|
1847
1847
|
</ul>`:n`<p role="status">No posts in this topic yet.</p>`}
|
|
1848
1848
|
`:n`<h1 id="topic-heading" class="dlr-text-page-title">Topic not found</h1>
|
|
1849
|
-
<p>This topic is unavailable.</p>`}};
|
|
1849
|
+
<p>This topic is unavailable.</p>`}};W([s()],Rn.prototype,`code`,void 0),W([s()],Rn.prototype,`loading`,void 0),W([s()],Rn.prototype,`error`,void 0),W([s()],Rn.prototype,`data`,void 0),W([s()],Rn.prototype,`expandedUid`,void 0),Rn=W([a(`kb-topic-view`)],Rn);function zn(e){if(e)try{let t=new URL(e);return(t.protocol===`https:`||t.protocol===`http:`)&&!t.username&&!t.password?t.href:void 0}catch{return}}function Bn(e,t=``){let i=zn(e?.url);return!i||e?.mime&&!e.mime.startsWith(`image/`)?r:n`<img
|
|
1850
1850
|
src=${i}
|
|
1851
1851
|
alt=${e?.alternativeText??t}
|
|
1852
1852
|
loading="lazy"
|
|
@@ -1958,7 +1958,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1958
1958
|
>
|
|
1959
1959
|
</li>`:r})}
|
|
1960
1960
|
</ul>`:r}
|
|
1961
|
-
`}};
|
|
1961
|
+
`}};W([o({attribute:!1})],Vn.prototype,`post`,void 0),W([o({type:Boolean})],Vn.prototype,`preview`,void 0),W([o({type:Boolean,attribute:`show-title`})],Vn.prototype,`showTitle`,void 0),Vn=W([a(`kb-post-content`)],Vn);var Hn=class extends e{constructor(...e){super(...e),this.uid=``,this.loading=!0,this.error=!1,this.post=null,this.request=0}static{this.styles=[K]}connectedCallback(){super.connectedCallback(),this.unsubscribePreview=V(()=>void this.load())}onAfterEnter(e){this.uid=String(e.params.uid??``),this.load()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribePreview?.(),++this.request}async load(){let e=++this.request;this.loading=!0,this.error=!1,this.post=null;try{let t=this.uid?await U().getPost(this.uid):null;e===this.request&&(this.post=t)}catch{e===this.request&&(this.error=!0)}finally{e===this.request&&(this.loading=!1)}}render(){return n`<div class="p-4 space-y-4">${this.renderContent()}</div>`}renderContent(){let e=n`<a
|
|
1962
1962
|
class="dlr-text-link inline-flex min-h-11 items-center focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-[3px] focus-visible:outline-primary"
|
|
1963
1963
|
href=${h}
|
|
1964
1964
|
>← Knowledge Base</a
|
|
@@ -1976,7 +1976,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1976
1976
|
<kb-post-content .post=${this.post} .showTitle=${!1}></kb-post-content>
|
|
1977
1977
|
`:n`${e}
|
|
1978
1978
|
<h1 class="dlr-text-page-title">Article not found</h1>
|
|
1979
|
-
<p>This article is unavailable.</p>`}};
|
|
1979
|
+
<p>This article is unavailable.</p>`}};W([s()],Hn.prototype,`uid`,void 0),W([s()],Hn.prototype,`loading`,void 0),W([s()],Hn.prototype,`error`,void 0),W([s()],Hn.prototype,`post`,void 0),Hn=W([a(`kb-details-view`)],Hn);var Un={Landing:`kb-landing`,Category:`kb-category`,Topic:`kb-topic`,Details:`kb-details`},Wn=[{path:h,children:[{name:Un.Landing,path:`/`,component:`kb-landing-view`},{name:Un.Category,path:`/category/:uid/:postUid?`,component:`kb-category-view`},{name:Un.Topic,path:`/topic/:code`,component:`kb-topic-view`},{name:Un.Details,path:`/details/:uid`,component:`kb-details-view`}]},{path:`(.*)`,component:`no-elem`}],Gn=class extends e{constructor(...e){super(...e),this.drafts=It(),this.onToggle=e=>{let t=e.currentTarget.querySelector(`md-switch`)?.selected??!this.drafts;this.drafts=t,Lt(t)}}static{this.styles=[K,t`
|
|
1980
1980
|
:host {
|
|
1981
1981
|
display: block;
|
|
1982
1982
|
position: absolute;
|
|
@@ -1984,7 +1984,7 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
1984
1984
|
right: 12px;
|
|
1985
1985
|
z-index: 50;
|
|
1986
1986
|
}
|
|
1987
|
-
`]}render(){return
|
|
1987
|
+
`]}render(){return Ft()?n`
|
|
1988
1988
|
<div
|
|
1989
1989
|
class="flex items-center gap-3 rounded-full border border-[rgba(9,34,65,0.12)] bg-white px-4 py-2 text-sm text-[rgba(9,34,65,0.85)] shadow-lg"
|
|
1990
1990
|
role="region"
|
|
@@ -2002,9 +2002,9 @@ These site rules apply to everyone who enters or uses any properties owned or ma
|
|
|
2002
2002
|
>${this.drafts?`— includes unpublished edits`:`— what production shows`}</span
|
|
2003
2003
|
>
|
|
2004
2004
|
</div>
|
|
2005
|
-
`:r}};
|
|
2005
|
+
`:r}};W([s()],Gn.prototype,`drafts`,void 0),Gn=W([a(`kb-preview-toggle`)],Gn);var Kn=class extends e{constructor(...e){super(...e),this.baseUrl=`/`,this.active=!1,this.outlet=document.createElement(`main`),this.onLocationChanged=e=>{let{router:t,location:n}=e.detail;t===te()&&(this.active=re(n.pathname))}}static{this.styles=t`
|
|
2006
2006
|
:host {
|
|
2007
2007
|
display: block;
|
|
2008
2008
|
position: relative;
|
|
2009
2009
|
}
|
|
2010
|
-
`}connectedCallback(){super.connectedCallback(),window.addEventListener(`vaadin-router-location-changed`,this.onLocationChanged),ee(this.outlet,this.baseUrl,Wn),this.dispatchEvent(new CustomEvent(`mfe-loaded`,{detail:{routes:Wn}}))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(`vaadin-router-location-changed`,this.onLocationChanged),ne(),this.active=!1}render(){return this.active?n`<kb-preview-toggle></kb-preview-toggle>${this.outlet}`:r}};
|
|
2010
|
+
`}connectedCallback(){super.connectedCallback(),window.addEventListener(`vaadin-router-location-changed`,this.onLocationChanged),ee(this.outlet,this.baseUrl,Wn),this.dispatchEvent(new CustomEvent(`mfe-loaded`,{detail:{routes:Wn}}))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(`vaadin-router-location-changed`,this.onLocationChanged),ne(),this.active=!1}render(){return this.active?n`<kb-preview-toggle></kb-preview-toggle>${this.outlet}`:r}};W([o({type:String})],Kn.prototype,`baseUrl`,void 0),W([s()],Kn.prototype,`active`,void 0),Kn=W([a(`ui-knowledgebase`)],Kn);export{Kn as UiKnowledgebase};
|