PageSourceSearch

https://www.royalcaribbean.com/myaccount/2999.40863378a6771a9b.js

js royalcaribbean.com collected 2026-09-24 08:34:59 UTC 8,272 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkroyal=self.webpackChunkroyal||[]).push([[2999],{42999:(p,o,i)=>{i.r(o),i.d(o,{rcg_dropdown:()=>a});var t=i(87160),s=i(63602);const a=(()=>{let n=class{constructor(e){(0,t.r)(this,e),this.valueChanged=(0,t.c)(this,"valueChanged",7),this.hasError=(0,t.c)(this,"hasError",7),this.setInputFocus=()=>{this.focused=!0},this.setInputFocusOut=()=>{this.focused=!1},this.setInput=()=>{setTimeout(()=>this.selectInput.focus(),100)},this.label=void 0,this.name=void 0,this.type="text",this.inputId=void 0,this.inputTabIndex="0",this.required=!1,this.disabled=!1,this.readonly=!1,this.ariaLabel=void 0,this.submitted=void 0,this.errorMessages=void 0,this.options=void 0,this.brand="royal",this.value=void 0,this.maskForContentSquare=!1,this.focused=!1,this._options=[],this.errorMessage=void 0,this._errorMessages=void 0}watchSubmittedHandler(){this.validate()}validate(){var e;this.submitted&&this.required&&!this.value&&(this.errorMessage=null===(e=this._errorMessages)||void 0===e?void 0:e.required,this.hasError.emit({errorType:"required",errorValue:this.errorMessage}))}handleChange(e){this.value=e.target.value,this.errorMessage="",e.target.validity.valid&&this.valueChanged.emit({label:this.name,value:this.value,isValid:!0,isComplete:!0})}showErrorMessage(){return!(!this.errorMessage||this.focused&&this.value)}componentWillLoad(){this._options=(0,s.p)(this.options,"options invalid format"),this.errorMessages&&(this._errorMessages=(0,s.p)(this.errorMessages,"errors are not valid")),this.validate()}render(){return(0,t.h)(t.H,null,(0,t.h)("div",{class:`input-select\n          ${this.focused?"input-select--focus":""} input-select-${this.brand}\n          ${this.readonly?"input-select--readonly":""}\n          ${this.errorMessage?"input-select--error":""}`,onClick:this.setInput,"data-cs-mask":this.maskForContentSquare?"":null},(0,t.h)("select",{id:`input-select-${this.inputId}`,name:`input-select-${this.inputId}`,"aria-label":this.ariaLabel||this.label,onInput:this.handleChange.bind(this),onFocus:this.setInputFocus.bind(this),onFocusout:this.setInputFocusOut.bind(this),class:`input-select__input\n            ${this.errorMessage?"input-select__input--error":""}\n            ${this.value?"input-select__input--selected":""}\n            ${this.focused?"input-select__input--focus":""}`,required:this.required,disabled:this.disabled||!1,ref:e=>this.selectInput=e,tabindex:this.inputTabIndex},(0,t.h)("option",{disabled:!0,selected:!0,hidden:!0,value:""},this.label),this._options.map(e=>(0,t.h)("option",{key:e.value,value:e.value,selected:e.value==this.value},e.name))),(0,t.h)("span",{class:"input-select__chevron"}),(0,t.h)("label",{class:`input-select__label\n          ${this.focused?"input-select__label--focus":""}\n          ${this.value?"input-select__label--selected":""}\n          ${this.errorMessage?"input-select__label--error":""}\n          `,htmlFor:`input-select-${this.inputId}`},this.label)),this.showErrorMessage()&&(0,t.h)("input-error",{errorMessage:this.errorMessage}))}get el(){return(0,t.d)(this)}static get watchers(){return{submitted:["watchSubmittedHandler"]}}};return n.style={celebrity:'.input-select{height:56px;padding:0 16px 5px 16px;border:1px solid #d2d5d9;border-radius:2px;background-color:#ffffff;display:flex;flex-direction:column;justify-content:center;margin-bottom:12px;position:relative}.input-select ::placeholder{color:transparent}.input-select ::-ms-input-placeholder{color:transparent}.input-select__input{position:relative;top:15px;color:#131516;caret-color:#131516;font-size:16px;font-weight:600;border:none;outline:none}:host{width:100%;outline:none}.input-select{padding-left:0;border:1px solid #d2d5d9}.input-select-celebrity.input-select--focus{border-color:#004275}.input-select.input-select--error{border-color:#e40f2f}.input-select--focus{border-color:#006AF4}.input-select--disable-border{border-width:0}.input-select--readonly{pointer-events:none}.input-select__label{position:relative;bottom:22px;color:#555f61;font-size:14px;font-weight:400;padding-top:1.6rem;transition:all 0.3s ease;display:none;padding-left:16px;bottom:40px}.input-select__label--float{font-size:12px;opacity:1}.input-select__label--error{color:#e40f2f}.input-select__label--focus{font-weight:400t;opacity:1}.input-select__label--focus,.input-select__label--selected{display:block;transform:translatey(-4px);font-size:10px;padding-top:4px}.input-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#555f61;font-size:14px;top:3px;background:transparent;position:relative;z-index:1;padding:0 16px;line-height:56px}@keyframes cdk-text-field-autofill-color-royal{to{background:transparent;color:#131516}}.input-select__input.cdk-text-field-autofill-monitored:-webkit-autofill{animation-fill-mode:both;animation-name:cdk-text-field-autofill-start, cdk-text-field-autofill-color-royal !important}.input-select__input option[disabled]:first-child{display:none}.input-select__input--error{color:var(--error-color-sign-in, #e40f2f)}.input-select__input--selected,.input-select__input--focus{color:#131516;opacity:1;top:15px}.input-select__input--selected+.input-select__label{display:block;opacity:0.8;transform:translatey(-4px);font-size:10px;padding-top:0}.input-select__input--selected+.input-select__chevron::before{border-style:solid;border-width:0.09em 0.09em 0 0;content:"";height:0.3em;position:absolute;vertical-align:top;width:0.3em;top:50%;right:18px;color:#555f61;transform:rotate(135deg)}.input-select__chevron::before{border-style:solid;border-width:0.09em 0.09em 0 0;content:"";height:0.3em;position:absolute;vertical-align:top;width:0.3em;top:27px;right:18px;color:#555f61;transform:rotate(135deg)}',royal:'.input-select{height:56px;padding:0 16px 5px 16px;border:1px solid #d2d5d9;border-radius:2px;background-color:#ffffff;display:flex;flex-direction:column;justify-content:center;margin-bottom:12px;position:relative}.input-select ::placeholder{color:transparent}.input-select ::-ms-input-placeholder{color:transparent}.input-select__input{position:relative;top:15px;color:#131516;caret-color:#131516;font-size:16px;font-weight:600;border:none;outline:none}:host{width:100%;outline:none}.input-select{padding-left:0;border:1px solid #d2d5d9}.input-select-celebrity.input-select--focus{border-color:#004275}.input-select.input-select--error{border-color:#e40f2f}.input-select--focus{border-color:#006AF4}.input-select--disable-border{border-width:0}.input-select--readonly{pointer-events:none}.input-select__label{position:relative;bottom:22px;color:#555f61;font-size:14px;font-weight:400;padding-top:1.6rem;transition:all 0.3s ease;display:none;padding-left:16px;bottom:40px}.input-select__label--float{font-size:12px;opacity:1}.input-select__label--error{color:#e40f2f}.input-select__label--focus{font-weight:400t;opacity:1}.input-select__label--focus,.input-select__label--selected{display:block;transform:translatey(-4px);font-size:10px;padding-top:4px}.input-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;color:#555f61;font-size:14px;top:3px;background:transparent;position:relative;z-index:1;padding:0 16px;line-height:56px}@keyframes cdk-text-field-autofill-color-royal{to{background:transparent;color:#131516}}.input-select__input.cdk-text-field-autofill-monitored:-webkit-autofill{animation-fill-mode:both;animation-name:cdk-text-field-autofill-start, cdk-text-field-autofill-color-royal !important}.input-select__input option[disabled]:first-child{display:none}.input-select__input--error{color:var(--error-color-sign-in, #e40f2f)}.input-select__input--selected,.input-select__input--focus{color:#131516;opacity:1;top:15px}.input-select__input--selected+.input-select__label{display:block;opacity:0.8;transform:translatey(-4px);font-size:10px;padding-top:0}.input-select__input--selected+.input-select__chevron::before{border-style:solid;border-width:0.09em 0.09em 0 0;content:"";height:0.3em;position:absolute;vertical-align:top;width:0.3em;top:50%;right:18px;color:#555f61;transform:rotate(135deg)}.input-select__chevron::before{border-style:solid;border-width:0.09em 0.09em 0 0;content:"";height:0.3em;position:absolute;vertical-align:top;width:0.3em;top:27px;right:18px;color:#555f61;transform:rotate(135deg)}'},n})()}}]);

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.