1"use strict";(self.webpackChunkcelebrity=self.webpackChunkcelebrity||[]).push([[1812],{61812:(h,n,l)=>{l.r(n),l.d(n,{rcg_radio_group:()=>c});var i=l(76658);const c=(()=>{let d=class{constructor(e){(0,i.r)(this,e),this.optionSelected=(0,i.c)(this,"optionSelected"),this.selectedOption="",this.layout="column",this.labels=[]}handleOptions(){this.labels=JSON.parse(this.options)}componentWillLoad(){this.options&&(this.labels=JSON.parse(this.options))}handleOptionChange(e){this.disabled||(this.selectedOption=e,this.optionSelected.emit(e))}handleKeyDown(e,r){if(this.disabled)return;const o=Array.from(this.el.shadowRoot.querySelectorAll(".radio-group__input"));if(!o.length)return;let a=r;const t="row"===this.layout;switch(e.key){case"Enter":case" ":e.preventDefault(),this.handleOptionChange(o[r].value);break;case"ArrowDown":t&&(e.preventDefault(),a=(r+1)%o.length);break;case"ArrowUp":t&&(e.preventDefault(),a=(r-1+o.length)%o.length);break;case"ArrowRight":t||(e.preventDefault(),a=(r+1)%o.length);break;case"ArrowLeft":t||(e.preventDefault(),a=(r-1+o.length)%o.length)}a!==r&&(o.forEach((s,u)=>s.tabIndex=u===a?0:-1),o[a].focus())}render(){return(0,i.h)("div",{key:"fc6da2831c11bca613343cc777031bcbb4e8c6e2"},this.arialabel&&(0,i.h)("label",{key:"72c6b2f56fc095e39d81d42c755353fced4717f7",class:"radio-group-label",part:"radio-group-label",id:`${this.name}-label`},this.arialabel),(0,i.h)("div",{key:"69e11e8275a27f18eb01279eb3512caa33d090ba",class:{"radio-group":!0,"radio-group--disabled":this.disabled,[`radio-group--${this.layout}`]:!0},role:"radiogroup",onFocus:e=>{if(e.target.classList.contains("radio-group__input"))return;const o=Array.from(this.el.shadowRoot.querySelectorAll(".radio-group__input"));o.length&&(o.find(t=>t.checked)||o[0]).focus()},"aria-labelledby":this.arialabel?`${this.name}-label`:void 0},this.labels.map((e,r)=>{var o;const a=null!==(o=e?.disabled)&&void 0!==o?o:this.disabled,t=`radio-button-${this.name}-${r}`;return(0,i.h)("div",{class:"radio-group__radio",key:e.value,style:e.styles},(0,i.h)("input",{class:"radio-group__input",type:"radio",id:t,value:e.value,checked:String(this.selectedOption)===String(e.value),onChange:()=>this.handleOptionChange(e.value),disabled:a,name:this.name,onKeyDown:s=>this.handleKeyDown(s,r),tabIndex:this.selectedOption===e.value||!this.selectedOption&&0===r?0:-1}),(0,i.h)("label",{htmlFor:t,class:"radio-group__label",style:e.labelStyles},(0,i.h)("div",{class:"radio-group__toggle"}),e.icon&&(0,i.h)("span",{class:"radio-group__icon"},e.icon),e.label))})))}get el(){return(0,i.g)(this)}static get watchers(){return{options:["handleOptions"]}}};return d.style={celebrity:'.radio-group{display:flex;flex-direction:column;padding:5px;border:1px solid transparent;border-radius:6px;outline:none;transition:border-color 0.2s ease, box-shadow 0.2s ease;margin-bottom:2px}.radio-group:has(.radio-group__input:focus-visible){border-color:#006af4;box-shadow:0 0 0 1px rgba(0, 106, 244, 0.3)}.radio-group--disabled{pointer-events:none;opacity:0.5}.radio-group--row{flex-direction:row}.radio-group--column{flex-direction:column}.radio-group__toggle{display:flex;position:relative}.radio-group__toggle:before{content:"";position:relative;top:13px;min-width:24px;width:24px;height:24px;min-height:24px;background-color:transparent;border:1px solid #006af4;border-radius:50%;transform:translateY(-50%);transition:border-color 400ms ease;margin-right:8px}.radio-group__toggle:after{content:"";position:absolute;width:16px;height:16px;background-color:white;border:1px solid white;border-radius:50%;top:13px;left:4px;transform:translateY(-50%) scale(0);transition:transform 400ms ease}.radio-group__radio{display:flex;align-items:center}.radio-group__label{position:relative;display:flex;align-items:center;font-size:16px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:-0.15px}.radio-group__input{position:relative;display:flex;align-items:center;opacity:0;width:1px;height:1px;margin:0;padding:0;border:0;cursor:pointer;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;overflow:hidden}.radio-group__input:checked+.radio-group__label .radio-group__toggle::before{background-color:#006af4}.radio-group__input:checked+.radio-group__label .radio-group__toggle::after{transform:translateY(-50%) scale(0.55)}.radio-group__icon{display:flex;margin-right:17px}.radio-group-label{font-size:16px}.radio-group__toggle:before{border:1px solid #1673AF}.radio-group__input:checked+.radio-group__label .radio-group__toggle::before{background-color:#1673AF}
1',royal:'.radio-group{display:flex;flex-direction:column;padding:5px;border:1px solid transparent;border-radius:6px;outline:none;transition:border-color 0.2s ease, box-shadow 0.2s ease;margin-bottom:2px}.radio-group:has(.radio-group__input:focus-visible){border-color:#006af4;box-shadow:0 0 0 1px rgba(0, 106, 244, 0.3)}.radio-group--disabled{pointer-events:none;opacity:0.5}.radio-group--row{flex-direction:row}.radio-group--column{flex-direction:column}.radio-group__toggle{display:flex;position:relative}.radio-group__toggle:before{content:"";position:relative;top:13px;min-width:24px;width:24px;height:24px;min-height:24px;background-color:transparent;border:1px solid #006af4;border-radius:50%;transform:translateY(-50%);transition:border-color 400ms ease;margin-right:8px}.radio-group__toggle:after{content:"";position:absolute;width:16px;height:16px;background-color:white;border:1px solid white;border-radius:50%;top:13px;left:4px;transform:translateY(-50%) scale(0);transition:transform 400ms ease}.radio-group__radio{display:flex;align-items:center}.radio-group__label{position:relative;display:flex;align-items:center;font-size:16px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:-0.15px}.radio-group__input{position:relative;display:flex;align-items:center;opacity:0;width:1px;height:1px;margin:0;padding:0;border:0;cursor:pointer;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;overflow:hidden}.radio-group__input:checked+.radio-group__label .radio-group__toggle::before{background-color:#006af4}.radio-group__input:checked+.radio-group__label .radio-group__toggle::after{transform:translateY(-50%) scale(0.55)}.radio-group__icon{display:flex;margin-right:17px}.radio-group-label{font-size:16px}.radio-group__toggle:before{border:1px solid #006AF4}.radio-group__input:checked+.radio-group__label .radio-group__toggle::before{background-color:#006AF4}'},d})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.