/*! For license information please see SpOverlay.bundle.js.LICENSE.txt */
"use strict";(self.webpackChunkCCLibraries=self.webpackChunkCCLibraries||[]).push([[4537,7852],{28731:(t,e,s)=>{s.d(e,{o:()=>l});var n=s(12827),i=s(75429);const r=new Set;new MutationObserver((()=>{const t="rtl"===document.documentElement.dir?document.documentElement.dir:"ltr";r.forEach((e=>{e.setAttribute("dir",t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const o=t=>void 0!==t.startManagingContentDirection||"SP-THEME-1-0-228"===t.tagName;class l extends(function(t){return class extends t{get isLTR(){return"ltr"===this.dir}hasVisibleFocusInTree(){const t=((t=document)=>{var e;let s=t.activeElement;for(;null!=s&&s.shadowRoot&&s.shadowRoot.activeElement;)s=s.shadowRoot.activeElement;const n=s?[s]:[];for(;s;){const t=s.assignedSlot||s.parentElement||(null==(e=s.getRootNode())?void 0:e.host);t&&n.push(t),s=t}return n})(this.getRootNode())[0];if(!t)return!1;try{return t.matches(":focus-visible")||t.matches(".focus-visible")}catch(e){return t.matches(".focus-visible")}}connectedCallback(){if(!this.hasAttribute("dir")){let t=this.assignedSlot||this.parentNode;for(;t!==document.documentElement&&!o(t);)t=t.assignedSlot||t.parentNode||t.host;if(this.dir="rtl"===t.dir?t.dir:this.dir||"ltr",t===document.documentElement)r.add(this);else{const{localName:e}=t;e.search("-")>-1&&!customElements.get(e)?customElements.whenDefined(e).then((()=>{t.startManagingContentDirection(this)})):t.startManagingContentDirection(this)}this._dirParent=t}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?r.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}}(n.oi)){}l.VERSION=i.i},75429:(t,e,s)=>{s.d(e,{i:()=>n});const n="0.47.2"},56167:(t,e,s)=>{s.r(e),s.d(e,{LONGPRESS_INSTRUCTIONS:()=>n.LONGPRESS_INSTRUCTIONS,Overlay:()=>n.Overlay,OverlayTrigger:()=>d,OverlayTriggerDirective:()=>$,VirtualTrigger:()=>p.U,openOverlay:()=>u,trigger:()=>C});var n=s(31826),i=s(28731),r=s(12827),o=s(19392);const l=r.iv`
    :host([disabled]) ::slotted([slot=trigger]){pointer-events:none}slot[name=longpress-describedby-descriptor]{display:none}
`;var a=Object.defineProperty,h=Object.getOwnPropertyDescriptor,c=(t,e,s,n)=>{for(var i,r=n>1?void 0:n?h(e,s):e,o=t.length-1;o>=0;o--)(i=t[o])&&(r=(n?i(e,s,r):i(r))||r);return n&&r&&a(e,s,r),r};class d extends i.o{constructor(){super(...arguments),this.content="click hover longpress",this.offset=6,this.disabled=!1,this.receivesFocus="auto",this.clickContent=[],this.longpressContent=[],this.hoverContent=[],this.targetContent=[]}static get styles(){return[l]}getAssignedElementsFromSlot(t){return t.assignedElements({flatten:!0})}handleTriggerContent(t){this.targetContent=this.getAssignedElementsFromSlot(t.target)}handleSlotContent(t){switch(t.target.name){case"click-content":this.clickContent=this.getAssignedElementsFromSlot(t.target);break;case"longpress-content":this.longpressContent=this.getAssignedElementsFromSlot(t.target);break;case"hover-content":this.hoverContent=this.getAssignedElementsFromSlot(t.target)}}handleBeforetoggle(t){const{target:e}=t;let s;if(e===this.clickOverlayElement)s="click";else if(e===this.longpressOverlayElement)s="longpress";else{if(e!==this.hoverOverlayElement)return;s="hover"}"open"===t.newState?this.open=s:this.open===s&&(this.open=void 0)}update(t){var e,s,n,i,r,o;t.has("clickContent")&&(this.clickPlacement=(null==(e=this.clickContent[0])?void 0:e.getAttribute("placement"))||(null==(s=this.clickContent[0])?void 0:s.getAttribute("direction"))||void 0),t.has("hoverContent")&&(this.hoverPlacement=(null==(n=this.hoverContent[0])?void 0:n.getAttribute("placement"))||(null==(i=this.hoverContent[0])?void 0:i.getAttribute("direction"))||void 0),t.has("longpressContent")&&(this.longpressPlacement=(null==(r=this.longpressContent[0])?void 0:r.getAttribute("placement"))||(null==(o=this.longpressContent[0])?void 0:o.getAttribute("direction"))||void 0),super.update(t)}renderSlot(t){return r.dy`
            <slot name=${t} @slotchange=${this.handleSlotContent}></slot>
        `}renderClickOverlay(){s.e(5501).then(s.bind(s,35501));const t=this.renderSlot("click-content");return this.clickContent.length?r.dy`
            <sp-overlay-1-0-228
                id="click-overlay"
                ?disabled=${this.disabled||!this.clickContent.length}
                ?open=${"click"===this.open&&!!this.clickContent.length}
                .offset=${this.offset}
                .placement=${this.clickPlacement||this.placement}
                .triggerElement=${this.targetContent[0]}
                .triggerInteraction=${"click"}
                .type=${"modal"!==this.type?"auto":"modal"}
                @beforetoggle=${this.handleBeforetoggle}
                .receivesFocus=${this.receivesFocus}
            >
                ${t}
            </sp-overlay-1-0-228>
        `:t}renderHoverOverlay(){s.e(5501).then(s.bind(s,35501));const t=this.renderSlot("hover-content");return this.hoverContent.length?r.dy`
            <sp-overlay-1-0-228
                id="hover-overlay"
                ?open=${"hover"===this.open&&!!this.hoverContent.length}
                ?disabled=${this.disabled||!this.hoverContent.length||!!this.open&&"hover"!==this.open}
                .offset=${this.offset}
                .placement=${this.hoverPlacement||this.placement}
                .triggerElement=${this.targetContent[0]}
                .triggerInteraction=${"hover"}
                .type=${"hint"}
                @beforetoggle=${this.handleBeforetoggle}
                .receivesFocus=${this.receivesFocus}
            >
                ${t}
            </sp-overlay-1-0-228>
        `:t}renderLongpressOverlay(){s.e(5501).then(s.bind(s,35501));const t=this.renderSlot("longpress-content");return this.longpressContent.length?r.dy`
            <sp-overlay-1-0-228
                id="longpress-overlay"
                ?disabled=${this.disabled||!this.longpressContent.length}
                ?open=${"longpress"===this.open&&!!this.longpressContent.length}
                .offset=${this.offset}
                .placement=${this.longpressPlacement||this.placement}
                .triggerElement=${this.targetContent[0]}
                .triggerInteraction=${"longpress"}
                .type=${"auto"}
                @beforetoggle=${this.handleBeforetoggle}
                .receivesFocus=${this.receivesFocus}
            >
                ${t}
            </sp-overlay-1-0-228>
            <slot name="longpress-describedby-descriptor"></slot>
        `:t}render(){const t=this.content.split(" ");return r.dy`
            <slot
                id="trigger"
                name="trigger"
                @slotchange=${this.handleTriggerContent}
            ></slot>
            ${[t.includes("click")?this.renderClickOverlay():r.dy``,t.includes("hover")?this.renderHoverOverlay():r.dy``,t.includes("longpress")?this.renderLongpressOverlay():r.dy``]}
        `}updated(t){super.updated(t),this.disabled&&t.has("disabled")&&(this.open=void 0)}async getUpdateComplete(){return await super.getUpdateComplete()}}c([(0,o.Cb)()],d.prototype,"content",2),c([(0,o.Cb)({reflect:!0})],d.prototype,"placement",2),c([(0,o.Cb)()],d.prototype,"type",2),c([(0,o.Cb)({type:Number})],d.prototype,"offset",2),c([(0,o.Cb)({reflect:!0})],d.prototype,"open",2),c([(0,o.Cb)({type:Boolean,reflect:!0})],d.prototype,"disabled",2),c([(0,o.Cb)({attribute:"receives-focus"})],d.prototype,"receivesFocus",2),c([(0,o.SB)()],d.prototype,"clickContent",2),c([(0,o.SB)()],d.prototype,"longpressContent",2),c([(0,o.SB)()],d.prototype,"hoverContent",2),c([(0,o.SB)()],d.prototype,"targetContent",2),c([(0,o.IO)("#click-overlay",!0)],d.prototype,"clickOverlayElement",2),c([(0,o.IO)("#longpress-overlay",!0)],d.prototype,"longpressOverlayElement",2),c([(0,o.IO)("#hover-overlay",!0)],d.prototype,"hoverOverlayElement",2);var p=s(94697);async function u(t,e,s,i){return n.Overlay.open(t,e,s,i)}var g=s(60486),v=s(11273),m=s(59052);class y extends g.sR{render(t){return r.Ld}update(t,[e]){this.template=e,this.target!==t.element&&(this.target=t.element,this.renderBefore=this.target.children[0]),this.listenerHost=this.target,this.init()}handleSlottableRequest(t){if(t.target!==t.currentTarget)return;const e=t.data===m.p;(0,r.sY)(e?void 0:this.template(),this.target,{renderBefore:this.renderBefore})}init(){var t;null==(t=this.listeners)||t.abort(),this.listeners=new AbortController;const{signal:e}=this.listeners;this.listenerHost.addEventListener("slottable-request",(t=>this.handleSlottableRequest(t)),{signal:e})}disconnected(){var t;null==(t=this.listeners)||t.abort()}reconnected(){this.init()}}(0,g.XM)(y);var b=s(34028),f=s(95125);class $ extends y{constructor(){super(...arguments),this.defaultOptions={triggerInteraction:"click",overlayOptions:{type:"auto",offset:0}},this.options={...this.defaultOptions.overlayOptions}}render(t,e){return r.Ld}update(t,[e,s]){var n,i,r,o;this.options={...this.defaultOptions.overlayOptions,...null==s?void 0:s.overlayOptions},this.insertionOptions=null==s?void 0:s.insertionOptions,this.template=e,this.host=null==(n=t.options)?void 0:n.host;let l=!1;const a=(null==s?void 0:s.triggerInteraction)||this.defaultOptions.triggerInteraction,h=f.B[null==(i=this.strategy)?void 0:i.type]!==a;this.target!==t.element&&(this.target=t.element,l=!0),(l||h)&&(null==(r=this.strategy)||r.abort(),this.strategy=new v.A[a](this.target,{isPersistent:!0,handleOverlayReady:t=>{this.listenerHost=this.overlay=t,this.init()}})),this.strategy.open=null!=(o=null==s?void 0:s.open)&&o}handleSlottableRequest(t){var e,s;if(t.target!==t.currentTarget)return;const n=t.data===m.p,i={};if(this.host&&(i.host=this.host),(0,r.sY)(n?void 0:this.template(),this.overlay,i),n)this.overlay.remove();else{b.D.applyOptions(this.overlay,{...this.options,trigger:this.target});const t="function"==typeof(null==(e=this.insertionOptions)?void 0:e.el)?this.insertionOptions.el():(null==(s=this.insertionOptions)?void 0:s.el)||this.target,{where:n="afterend"}=this.insertionOptions||{};t.insertAdjacentElement(n,this.overlay)}}}const C=(0,g.XM)($)},59052:(t,e,s)=>{s.d(e,{p:()=>i,z:()=>n});class n extends Event{constructor(t,e,s){super("slottable-request",{bubbles:!1,cancelable:!0,composed:!1}),this.name=t,this.data=e,this.slotName=void 0!==s?`${t}.${s}`:t}}const i=Symbol("remove-slottable-request")},56146:(t,e,s)=>{s.d(e,{N:()=>r,y:()=>o});const n=["button","[focusable]","[href]","input","label","select","textarea","[tabindex]"],i=':not([tabindex="-1"])',r=n.join(`${i}, `)+i,o=n.join(", ")},52132:(t,e,s)=>{function n(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),(t=>`0${(255&t).toString(16)}`.slice(-2))).join("")}s.d(e,{c:()=>n})},66970:(t,e,s)=>{s.d(e,{OR:()=>r,hl:()=>l});var n=s(32785);const{I:i}=n.Al,r=t=>void 0===t.strings,o={},l=(t,e=o)=>t._$AH=e},42458:(t,e,s)=>{s.d(e,{XM:()=>i,Xe:()=>r,pX:()=>n});const n={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},i=t=>(...e)=>({_$litDirective$:t,values:e});class r{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},60486:(t,e,s)=>{s.d(e,{sR:()=>d,XM:()=>i.XM});var n=s(66970),i=s(42458);const r=(t,e)=>{var s,n;const i=t._$AN;if(void 0===i)return!1;for(const t of i)null===(n=(s=t)._$AO)||void 0===n||n.call(s,e,!1),r(t,e);return!0},o=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===(null==s?void 0:s.size))},l=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),c(e)}};function a(t){void 0!==this._$AN?(o(this),this._$AM=t,l(this)):this._$AM=t}function h(t,e=!1,s=0){const n=this._$AH,i=this._$AN;if(void 0!==i&&0!==i.size)if(e)if(Array.isArray(n))for(let t=s;t<n.length;t++)r(n[t],!1),o(n[t]);else null!=n&&(r(n,!1),o(n));else r(this,t)}const c=t=>{var e,s,n,r;t.type==i.pX.CHILD&&(null!==(e=(n=t)._$AP)&&void 0!==e||(n._$AP=h),null!==(s=(r=t)._$AQ)&&void 0!==s||(r._$AQ=a))};class d extends i.Xe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),l(this),this.isConnected=t._$AU}_$AO(t,e=!0){var s,n;t!==this.isConnected&&(this.isConnected=t,t?null===(s=this.reconnected)||void 0===s||s.call(this):null===(n=this.disconnected)||void 0===n||n.call(this)),e&&(r(this,t),o(this))}setValue(t){if((0,n.OR)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}},30959:(t,e,s)=>{s.d(e,{o:()=>i});var n=s(32785);const i=t=>null!=t?t:n.Ld},73719:(t,e,s)=>{s.d(e,{V:()=>r});var n=s(32785),i=s(42458);const r=(0,i.XM)(class extends i.Xe{constructor(t){var e;if(super(t),t.type!==i.pX.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,s)=>{const n=t[s];return null==n?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`}),"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ht){this.ht=new Set;for(const t in e)this.ht.add(t);return this.render(e)}this.ht.forEach((t=>{null==e[t]&&(this.ht.delete(t),t.includes("-")?s.removeProperty(t):s[t]="")}));for(const t in e){const n=e[t];if(null!=n){this.ht.add(t);const e="string"==typeof n&&n.endsWith(" !important");t.includes("-")||e?s.setProperty(t,e?n.slice(0,-11):n,e?"important":""):s[t]=n}}return n.Jb}})}}]);