PageSourceSearch

https://www.flyroyalbrunei.com/em-assets/trfx-static-1/_next/static/chunks/2802.2bf235722af20305cfcd.js

js flyroyalbrunei.com collected 2026-09-24 18:56:17 UTC 29,901 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2802],{88589:function(e,o,l){l.d(o,{Z:function(){return oe}});var n,t=l(92809),r=l(10219),i=l(67294),a=l(39516),u=l(61363),d=l(95389),s=l(31147),c=l(94192),v=l(73781),p=l(14227),f=l(19946),b=l(16723),m=l(3855),h=l(23784),_=l(31591),g=l(46045),y=l(64103),O=l(84575),w=l(18689),x=l(32984),C=l(15466),k=l(12351),R=((n=R||{})[n.RegisterOption=0]="RegisterOption",n[n.UnregisterOption=1]="UnregisterOption",n);let j={0(e,o){let l=[...e.options,{id:o.id,element:o.element,propsRef:o.propsRef}];return{...e,options:(0,O.z2)(l,(e=>e.element.current))}},1(e,o){let l=e.options.slice(),n=e.options.findIndex((e=>e.id===o.id));return-1===n?e:(l.splice(n,1),{...e,options:l})}},Z=(0,i.createContext)(null);function L(e){let o=(0,i.useContext)(Z);if(null===o){let o=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,L),o}return o}Z.displayName="RadioGroupDataContext";let P=(0,i.createContext)(null);function S(e){let o=(0,i.useContext)(P);if(null===o){let o=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,S),o}return o}function T(e,o){return(0,x.E)(o.type,j,e,o)}P.displayName="RadioGroupActionsContext";var E=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(E||{});let N=(0,k.yV)((function(e,o){let l=(0,f.M)(),{id:n=`headlessui-radiogroup-${l}`,value:t,defaultValue:r,form:p,name:b,onChange:m,by:y=((e,o)=>e===o),disabled:x=!1,...R}=e,j=(0,v.z)("string"==typeof y?(e,o)=>{let l=y;return(null==e?void 0:e[l])===(null==o?void 0:o[l])}:y),[L,S]=(0,i.useReducer)(T,{options:[]}),E=L.options,[N,G]=(0,d.b)(),[B,I]=(0,a.f)(),A=(0,i.useRef)(null),M=(0,h.T)(A,o),[$,D]=(0,s.q)(t,m,r),F=(0,i.useMemo)((()=>E.find((e=>!e.propsRef.current.disabled))),[E]),z=(0,i.useMemo)((()=>E.some((e=>j(e.propsRef.current.value,$)))),[E,$]),V=(0,v.z)((e=>{var o;if(x||j(e,$))return!1;let l=null==(o=E.find((o=>j(o.propsRef.current.value,e))))?void 0:o.propsRef.current;return(null==l||!l.disabled)&&(null==D||D(e),!0)}));(0,_.B)({container:A.current,accept:e=>"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let q=(0,v.z)((e=>{let o=A.current;if(!o)return;let l=(0,C.r)(o),n=E.filter((e=>!1===e.propsRef.current.disabled)).map((e=>e.element.current));switch(e.key){case u.R.Enter:(0,w.g)(e.currentTarget);break;case u.R.ArrowLeft:case u.R.ArrowUp:if(e.preventDefault(),e.stopPropagation(),(0,O.jA)(n,O.TO.Previous|O.TO.WrapAround)===O.fE.Success){let e=E.find((e=>e.element.current===(null==l?void 0:l.activeElement)));e&&V(e.propsRef.current.value)}break;case u.R.ArrowRight:case u.R.ArrowDown:if(e.preventDefault(),e.stopPropagation(),(0,O.jA)(n,O.TO.Next|O.TO.WrapAround)===O.fE.Success){let e=E.find((e=>e.element.current===(null==l?void 0:l.activeElement)));e&&V(e.propsRef.current.value)}break;case u.R.Space:{e.preventDefault(),e.stopPropagation();let o=E.find((e=>e.element.current===(null==l?void 0:l.activeElement)));o&&V(o.propsRef.current.value)}}})),X=(0,v.z)((e=>(S({type:0,...e}),()=>S({type:1,id:e.id})))),H=(0,i.useMemo)((()=>({value:$,firstOption:F,containsCheckedOption:z,disabled:x,compare:j,...L})),[$,F,z,x,j,L]),U=(0,i.useMemo)((()=>({registerOption:X,change:V})),[X,V]),W={ref:M,id:n,role:"radiogroup","aria-labelledby":N,"aria-describedby":B,onKeyDown:q},K=(0,i.useMemo)((()=>({value:$})),[$]),Y=(0,i.useRef)(null),J=(0,c.G)();return(0,i.useEffect)((()=>{Y.current&&void 0!==r&&J.addEventListener(Y.current,"reset",(()=>{V(r)}))}),[Y,V]),i.createElement(I,{name:"RadioGroup.Description"},i.createElement(G,{name:"RadioGroup.Label"},i.createElement(P.Provider,{value:U},i.createElement(Z.Provider,{value:H},null!=b&&null!=$&&(0,w.t)({[b]:$}).map((([e,o],l)=>i.createElement(g._,{features:g.A.Hidden,ref:0===l?e=>{var o;Y.current=null!=(o=null==e?void 0:e.closest("form"))?o:null}:void 0,...(0,k.oA)({key:e,as:"input",type:"radio",checked:null!=o,hidden:!0,readOnly:!0,form:p,name:e,value:o})}))),(0,k.sY)({ourProps:W,theirProps:R,slot:K,defaultTag:"div",name:"RadioGroup"})))))}
1)),G=(0,k.yV)((function(e,o){var l;let n=(0,f.M)(),{id:t=`headlessui-radiogroup-option-${n}`,value:r,disabled:u=!1,...s}=e,c=(0,i.useRef)(null),_=(0,h.T)(c,o),[g,O]=(0,d.b)(),[w,x]=(0,a.f)(),{addFlag:C,removeFlag:R,hasFlag:j}=(0,p.V)(1),Z=(0,m.E)({value:r,disabled:u}),P=L("RadioGroup.Option"),T=S("RadioGroup.Option");(0,b.e)((()=>T.registerOption({id:t,element:c,propsRef:Z})),[t,T,c,Z]);let E=(0,v.z)((e=>{var o;if((0,y.P)(e.currentTarget))return e.preventDefault();T.change(r)&&(C(2),null==(o=c.current)||o.focus())})),N=(0,v.z)((e=>{if((0,y.P)(e.currentTarget))return e.preventDefault();C(2)})),G=(0,v.z)((()=>R(2))),B=(null==(l=P.firstOption)?void 0:l.id)===t,I=P.disabled||u,A=P.compare(P.value,r),M={ref:_,id:t,role:"radio","aria-checked":A?"true":"false","aria-labelledby":g,"aria-describedby":w,"aria-disabled":!!I||void 0,tabIndex:I?-1:A||!P.containsCheckedOption&&B?0:-1,onClick:I?void 0:E,onFocus:I?void 0:N,onBlur:I?void 0:G},$=(0,i.useMemo)((()=>({checked:A,disabled:I,active:j(2)})),[A,I,j]);return i.createElement(x,{name:"RadioGroup.Description"},i.createElement(O,{name:"RadioGroup.Label"},(0,k.sY)({ourProps:M,theirProps:s,slot:$,defaultTag:"div",name:"RadioGroup.Option"})))})),B=Object.assign(N,{Option:G,Label:d._,Description:a.d});var I=l(93967),A=l.n(I),M=l(53255),$=l(87877);const D=["eds"];function F(e,o){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),l.push.apply(l,n)}return l}function z(e){for(var o=1;o<arguments.length;o++){var l=null!=arguments[o]?arguments[o]:{};o%2?F(Object(l),!0).forEach((function(o){(0,t.Z)(e,o,l[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):F(Object(l)).forEac
1h((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(l,o))}))}return e}var V=e=>{var o,l,n,t,i,a,u,d,s,c,v,p,f,b,m,h,_,g,y,O,w,x,C,k,R,j,Z,L,P,S,T,E,N,G,B,I,A,M,$,F,V,q,X,H;const{eds:U}=e,W=(0,r.Z)(e,D);return{_inputGroup:z({},null===W||void 0===W?void 0:W._inputGroup),_menu:z(z(z({minWidth:"180px"},null===U||void 0===U||null===(o=U.components)||void 0===o?void 0:o.menu),null===W||void 0===W?void 0:W._menu),{},{_option:z(z(z({},null===U||void 0===U||null===(l=U.components)||void 0===l||null===(n=l.menu)||void 0===n?void 0:n._option),null===W||void 0===W||null===(t=W._menu)||void 0===t?void 0:t._option),{},{_description:z({},null===W||void 0===W||null===(i=W._menu)||void 0===i||null===(a=i._option)||void 0===a?void 0:a._description),__highlighted:z(z({},null===U||void 0===U||null===(u=U.components)||void 0===u||null===(d=u.menu)||void 0===d||null===(s=d._option)||void 0===s?void 0:s.__highlighted),null===W||void 0===W||null===(c=W._menu)||void 0===c||null===(v=c._option)||void 0===v?void 0:v.__highlighted),__selected:z(z({},null===U||void 0===U||null===(p=U.components)||void 0===p||null===(f=p.menu)||void 0===f||null===(b=f._option)||void 0===b?void 0:b.__selected),null===W||void 0===W||null===(m=W._menu)||void 0===m||null===(h=m._option)||void 0===h?void 0:h.__selected)}),_nonSelectableOption:z(z({},null===U||void 0===U||null===(_=U.components)||void 0===_||null===(g=_.menu)||void 0===g?void 0:g._option),null===W||void 0===W||null===(y=W._menu)||void 0===y?void 0:y._nonSelectableOption)}),_radioGroup:{_option:z(z(z({},null===U||void 0===U||null===(O=U.typographies)||void 0===O?void 0:O.fs5),{},{borderBottom:`1px solid ${null===U||void 0===U||null===(w=U.colors)||void 0===w?void 0:w.borders}`},null===W||void 0===W||null===(x=W._radioGroup)||void 0===x?void 0:x._option),{},{_description:z({},null===W||void 0===W||null===(C=W._radioGroup)||void 0===C||null===(k=C._option)||void 0===k?void 0:k._description),__highlighted:z(z({},null===U||void 0===U||null===(R=U.utilities)||void 0===R?void 0:R.focusRing),null===W||void 0===W||null===(j=W._radioGroup)||void 0===j||null===(Z=j._option)||void 0===Z?void 0:Z.__highlighted),__selected:z(z({},null===U||void 0===U||null===(L=U.typographies)||void 0===L||null===(P=L.fs5)||void 0===P?void 0:P._bold),null===W||void 0===W||null===(S=W._radioGroup)||void 0===S||null===(T=S._option)||void 0===T?void 0:T.__selected),_icon:z(z({},U.typographies.fsIcon),{},{fontSize:"20px",color:null===U||void 0===U||null===(E=U.colors)||void 0===E?void 0:E.primary})}),_nonSelectableOption:z({},null===W||void 0===W||null===(N=W._radioGroup)||void 0===N?void 0:N._nonSelectableOption)},_modal:{_header:{backgroundColor:null===U||void 0===U||null===(G=U.colors)||void 0===G?void 0:G.backgroundSoft,_title:z(z({},null===U||void 0===U||null===(B=U.typographies)||void 0===B?void 0:B.fs5),null===U||void 0===U||null===(I=U.typographies)||void 0===I||null===(A=I.fs5)||void 0===A?void 0:A._bold),_backButton:z(z({},null===U||void 0===U||null===(M=U.components)||void 0===M||null===($=M.buttons)||void 0===$?void 0:$.ghostPrimaryIcon),{},{height:"2.5rem"})},_footer:{backgroundColor:null===U||void 0===U||null===(F=U.colors)||void 0===F?void 0:F.backgroundMain,boxShadow:"0px -1px 2px rgba(0, 0, 0, 0.25)",_doneButton:z(z({},null===U||void 0===U||null===(V=U.components)||void 0===V||null===(q=V.buttons)||void 0===q?void 0:q.ghostPrimary),null===U||void 0===U||null===(X=U.components)||void 0===X||null===(H=X.datepicker)||void 0===H?void 0:H._doneButton)},_overlay:{"@media (min-width: 576px)":{backdropFilter:"blur(5px)",background:"rgba(0,0,0,0.5)"}},_container:{background:U.colors.backgroundMain,top:"0",left:"0",height:"100%",width:"100%","@media (min-width: 576px)":{top:"50%",left:"50%",transform:"translate(-50%, -50%)",height:"90vh",maxHeight:"926px",width:"428px"}}}}},q=l(35944);const X=["id","inputGroupVariant","icon","labels","isRTL","value","options","onChange","nonSelectableOptions","_style"],H=["id","isRTL","value","options","nonSelectableOptions","onChange","labels","inputGroupVariant","icon","_style"],U=["isModal"];function W(e,o){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),l.push.apply(l,n)}return l}function K(e){for(var o=1;o<arguments.length;o++){var l=null!=arguments[o]?arguments[o]:{};
1o%2?W(Object(l),!0).forEach((function(o){(0,t.Z)(e,o,l[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):W(Object(l)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(l,o))}))}return e}let Y=!1;const J=i.forwardRef(((e,o)=>{var l,n;const[t]=(0,M.Me)(1),{id:a=t,inputGroupVariant:u,icon:d,labels:s,isRTL:c,value:v,options:p,onChange:f,nonSelectableOptions:b,_style:m}=e,h=(0,r.Z)(e,X),_=V(m),g=(0,i.useRef)(),y=(0,M.pA)(h),O=p.find((e=>(null===e||void 0===e?void 0:e.value)===v)),w=null!==(l=null===O||void 0===O?void 0:O.label)&&void 0!==l?l:null===O||void 0===O?void 0:O.value,x=null===s||void 0===s?void 0:s.inputGroupLabel,C="string"===typeof(null===s||void 0===s?void 0:s.innerLabel)&&s.innerLabel.length>0?s.innerLabel:w,k="string"===typeof(null===s||void 0===s?void 0:s.ariaLabel)&&s.ariaLabel.length>0?s.ariaLabel:C;return(0,i.useEffect)((()=>{var e;Y&&(null===(e=g.current)||void 0===e||e.focus(),Y=!1)}),[]),(0,q.tZ)($.kC,{className:"w-full flex-col",children:(0,q.tZ)($.BZ,K(K({},y),{},{ref:o,label:x,className:"cursor-pointer",variant:u,rightIcon:d,_style:null===_||void 0===_?void 0:_._inputGroup,onClick:()=>function(){var e;null===g||void 0===g||null===(e=g.current)||void 0===e||e.click()}(),hasValue:!0,isRTL:c,errorMessage:null!==(n=null===s||void 0===s?void 0:s.error)&&void 0!==n?n:"",errorMessageId:`${a}-error`,children:(0,q.tZ)($.kC,{children:(0,q.BX)($.Ph,{ref:g,label:C,"aria-label":k,"aria-describedby":`${a}-error`,"aria-invalid":null!==s&&void 0!==s&&s.error?"true":"false",value:v,onChange:e=>{var o;f(e),null===(o=g.current)||void 0===o||o.focus(),Y=!0},_style:{_menu:K({},null===_||void 0===_?void 0:_._menu)},children:[p.map((e=>{const{label:o,value:l,description:n}=e;return(0,q.tZ)($.Ph.Option,{className:"flex w-full items-center",value:l,children:({selected:e,active:t})=>{var r,i,a,u,d,s,c;return(0,q.BX)($.kC,{"data-att":l,className:"w-full justify-start items-center px-2",_style:K(K(K({},null===_||void 0===_||null===(r=_._menu)||void 0===r?void 0:r._option),t?null===_||void 0===_||null===(i=_._menu)||void 0===i||null===(a=i._option)||void 0===a?void 0:a.__highlighted:{}),e?null===_||void 0===_||null===(u=_._menu)||void 0===u||null===(d=u._option)||void 0===d?void 0:d.__selected:{}),children:[(0,q.tZ)($.xv,{as:"span",className:"w-full",children:null!==o&&void 0!==o?o:l}),n&&(0,q.tZ)($.xv,{as:"span",className:"w-full",_style:K({},null===_||void 0===_||null===(s=_._menu)||void 0===s||null===(c=s._option)||void 0===c?void 0:c._description),children:n})]})}},l)})),Array.isArray(b)&&b.length>0&&b.map(((e,o)=>{const{optionLabel:l,ariaLabel:n}=e;return(0,q.tZ)($.Ph.Option,{className:"flex w-full items-center","aria-label":`${l} - ${n}`,value:`nonSelectable_option_${o}`,children:({active:e})=>{var o,n,t,r,i,a;return(0,q.tZ)($.kC,{className:"w-full justify-start items-center px-2",_style:K(K(K({},null===_||void 0===_||null===(o=_._menu)||void 0===o?void 0:o._option),null===_||void 0===_||null===(n=_._menu)||void 0===n?void 0:n._nonSelectableOption),e?K(K({},null===_||void 0===_||null===(t=_._menu)||void 0===t||null===(r=t._option)||void 0===r?void 0:r.__highlighted),null===_||void 0===_||null===(i=_._menu)||void 0===i||null===(a=i._nonSelectableOption)||void 0===a?void 0:a._focus):{}),children:(0,q.tZ)($.xv,{as:"span",className:"w-full",children:l})})}},o)}))]})})}))})})),Q=i.forwardRef(((e,o)=>{var l,n,t,a,u,d,s,c,v,p,f,b;const[m]=(0,M.Me)(1),{id:h=m,isRTL:_,value:g,options:y,nonSelectableOptions:O,onChange:w,labels:x,inputGroupVariant:C,icon:k,_style:R}=e,j=(0,r.Z)(e,H),Z=V(R),L=(0,M.pA)(j),{0:P,1:S}=(0,i.useState)(!1);function T(){S(!1)}const E=y.find((e=>(null===e||void 0===e?void 0:e.value)===g)),N=null!==(l=null===E||void 0===E?void 0:E.label)&&void 0!==l?l:null===E||void 0===E?void 0:E.value,G=null===x||void 0===x?void 0:x.inputGroupLabel,I="string"===typeof(null===x||void 0===x?void 0:x.innerLabel)&&x.innerLabel.length>0?x.innerLabel:N,D="string"===typeof(null===x||void 0===x?void 0:x.ariaLabel)&&x.ariaLabel.length>0?x.ariaLabel:I;return(0,q.BX)($.kC,{className:"w-full flex-col",children:[(0,q.tZ)($.BZ,K(K({},L),{},{ref:o,label:G,hasValue:!0,className:"cursor-pointer",variant:C,rightIcon:k,onClick:()=>{S(!0)},_style:null===Z||void 0===Z?void 0:Z._inputGroup,isRTL:_,errorMessage:null!==(n=null===x||void 0===x?void 0:x.error)&&void 0!==n?n:"",errorMessageId:`${h}-error`,children:(0,q.tZ)($.zx,{className:"focus:outline-none text-inherit ltr:text-left rtl:text-right w-full whitespace-nowrap text-ellipsis overflow-hidden","aria-haspopup":"dialog","aria-expanded":P,"aria-controls":`${h}-modal`,"aria-label":D,"aria-describedby":`${h}-error`,"aria-invalid":null!==x&&void 0!==x&&x.error?"true":"false",children:I})})),(0,q.tZ)($.Bn,{id:`${h}-modal`,title:null===x||void 0===x?void 0:x.modalTitle,description:null===x||void 0===x?void 0:x.modalDe
1scription,open:P,isRTL:_,header:(0,q.BX)($.kC,{className:"h-10 w-full justify-center items-center",_style:null===Z||void 0===Z||null===(t=Z._modal)||void 0===t?void 0:t._header,children:[(0,q.tZ)($.kC,{className:"absolute ltr:left-0 rtl:right-0",children:(0,q.tZ)($.zx,{"aria-label":"Back","data-att":"back",onClick:()=>T(),className:"flex justify-start",_style:null===Z||void 0===Z||null===(a=Z._modal)||void 0===a||null===(u=a._header)||void 0===u?void 0:u._backButton,children:_?"keyboard_arrow_right":"keyboard_arrow_left"})}),(0,q.tZ)($.xv,{className:"truncate m-0",as:"h3",_style:null===Z||void 0===Z||null===(d=Z._modal)||void 0===d||null===(s=d._header)||void 0===s?void 0:s._title,children:null===x||void 0===x?void 0:x.modalTitle})]}),footer:(0,q.tZ)($.kC,{className:"w-full justify-end items-center p-2 space-x-2 rtl:space-x-reverse",_style:null===Z||void 0===Z||null===(c=Z._modal)||void 0===c?void 0:c._footer,children:(0,q.tZ)($.zx,{"data-att":"done",className:"px-4 py-2 items-center justify-center",_style:null===Z||void 0===Z||null===(v=Z._modal)||void 0===v||null===(p=v._footer)||void 0===p?void 0:p._doneButton,onClick:()=>T(),children:null===x||void 0===x?void 0:x.doneButton})}),onClose:T,_style:{_overlay:K({},null===Z||void 0===Z||null===(f=Z._modal)||void 0===f?void 0:f._overlay),_container:K({},null===Z||void 0===Z||null===(b=Z._modal)||void 0===b?void 0:b._container)},children:(0,q.tZ)($.kC,{className:"w-full px-5 pt-5 pb-10",children:(0,q.BX)(B,{className:"w-full",value:g,onChange:e=>w(e),children:[(0,q.tZ)(B.Label,{className:"sr-only",children:null===x||void 0===x?void 0:x.label}),y.map((e=>(0,q.tZ)(B.Option,{className:"w-full flex cursor-pointer outline-none",value:null===e||void 0===e?void 0:e.value,children:({active:o,checked:l})=>{var n,t,r,i,a,u,d,s,c,v;return(0,q.BX)($.kC,{className:"w-full flex justify-between py-5 px-2.5",_style:K(K(K({},null===Z||void 0===Z||null===(n=Z._radioGroup)||void 0===n?void 0:n._option),o?null===Z||void 0===Z||null===(t=Z._radioGroup)||void 0===t||null===(r=t._option)||void 0===r?void 0:r.__highlighted:{}),l?null===Z||void 0===Z||null===(i=Z._radioGroup)||void 0===i||null===(a=i._option)||void 0===a?void 0:a.__selected:{}),children:[(0,q.BX)($.kC,{children:[(0,q.tZ)($.xv,{as:"span",className:"w-full",children:null!==(u=null===e||void 0===e?void 0:e.label)&&void 0!==u?u:null===e||void 0===e?void 0:e.value}),(null===e||void 0===e?void 0:e.description)&&(0,q.tZ)($.xv,{as:"span",className:"w-full",_style:K({},null===Z||void 0===Z||null===(d=Z._menu)||void 0===d||null===(s=d._option)||void 0===s?void 0:s._description),children:null===e||void 0===e?void 0:e.description})]}),(0,q.tZ)($.xv,{as:"i",className:A()("transition-all duration-300 transform flex items-center",{"scale-100":l,"scale-0":!l}),_style:null===Z||void 0===Z||null===(c=Z._radioGroup)||void 0===c||null===(v=c._option)||void 0===v?void 0:v._icon,children:"check"})]})}},null===e||void 0===e?void 0:e.value))),O.map(((e,o)=>(0,q.tZ)(B.Option,{className:"w-full flex cursor-pointer outline-none","aria-label":`${null===e||void 0===e?void 0:e.optionLabel} - ${null===e||void 0===e?void 0:e.ariaLabel}`,value:`nonSelectable_option_${o}`,children:({active:o})=>{var l,n,t;return(0,q.tZ)($.kC,{className:"w-full flex justify-between py-5 px-2.5",_style:K(K({},null===Z||void 0===Z||null===(l=Z._radioGroup)||void 0===l?void 0:l._nonSelectableOption),o?null===Z||void 0===Z||null===(n=Z._radioGroup)||void 0===n||null===(t=n._option)||void 0===t?void 0:t.__highlighted:{}),children:(0,q.tZ)($.kC,{children:(0,q.tZ)($.xv,{as:"span",className:"w-full",children:null===e||void 0===e?void 0:e.optionLabel})})})}},o)))]})})})]})})),ee=i.forwardRef(((e,o)=>{const{isModal:l=!1}=e,n=(0,r.Z)(e,U);return l?(0,q.tZ)(Q,K(K({},n),{},{ref:o})):(0,q.tZ)(J,K(K({},n),{},{ref:o}))}));ee.defaultProps={options:[],inputGroupVariant:"2",isModal:!1,isRTL:!1,nonSelectableOptions:[],icon:"expand_more",_style:{}};var oe=ee},66826:function(e,o,l){l.d(o,{Z:function(){return v}});var n=l(92809),t=l(67294),r=l(53255),i=l(87877),a=l(99751),u=l(35944);function d(e,o){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),l.push.apply(l,n)}return l}function s(e){for(var o=1;o<arguments.length;o++){var l=null!=arguments[o]?arguments[o]:{};
1o%2?d(Object(l),!0).forEach((function(o){(0,n.Z)(e,o,l[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):d(Object(l)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(l,o))}))}return e}const c=t.forwardRef(((e,o)=>{const{id:l,inputGroupVariant:n,isModal:a,minCharactersCountToOpen:d=0,textTransform:v,isLoading:p,labels:f,leftIcon:b,rightIcon:m,clearIcon:h,value:_,options:g,menuHeightPopover:y,optionsToRenderPopover:O,onChange:w,onClear:x,searchConfig:C,isRTL:k,_style:R}=e,{label:j,ariaLabel:Z,placeholder:L,errorMessage:P,noOptionsMessage:S,clearButtonLabel:T}=f,E=(0,r.pA)(e),N=(0,t.useRef)(),G=(0,t.useRef)();(0,t.useImperativeHandle)(o,(()=>({focus:()=>{var e;return null===N||void 0===N||null===(e=N.current)||void 0===e?void 0:e.focus()}})));return a?(0,u.tZ)(c.Modal,s({},e)):(0,u.tZ)(i.BZ,s(s({},E),{},{ref:N,label:j,labelId:`${l}-label`,labelFor:`${l}-input`,clearButtonLabel:T,_style:R._inputGroup,errorMessage:P,errorMessageId:`${l}-error`,isLoading:p,hasValue:!!_,leftIcon:b,rightIcon:m,clearIcon:h,onClick:()=>{const e=null===N||void 0===N?void 0:N.current;if("function"===typeof(null===e||void 0===e?void 0:e.querySelector)){var o;const l=null===e||void 0===e?void 0:e.querySelector('[role="combobox"]'),n=null===e||void 0===e?void 0:e.querySelector("input"),t="true"===(null===l||void 0===l?void 0:l.getAttribute("aria-expanded"));(null===n||void 0===n||null===(o=n.value)||void 0===o?void 0:o.length)>=d&&!t?(()=>{const e=null===N||void 0===N?void 0:N.current,o=null===e||void 0===e?void 0:e.querySelector("button");null===o||void 0===o||o.click()})():(()=>{const e=null===N||void 0===N?void 0:N.current;if("function"===typeof(null===e||void 0===e?void 0:e.querySelector)){const o=null===e||void 0===e?void 0:e.querySelector("input");null===o||void 0===o||o.focus()}})()}},onClear:x,variant:n,isRTL:k,children:(0,u.tZ)(i.F2,{ref:G,id:l,inputId:`${l}-input`,labelId:`${l}-label`,ariaLabel:Z,describedBy:`${l}
1-error`,ariaInvalid:!!P,emptyLabel:S,placeholderLabel:L,value:_,options:g,dropdownHeight:y,optionsToRender:O,onChange:w,minCharactersCountToOpen:d,searchConfig:C,textTransform:v,_style:R})}))}));c.Modal=t.forwardRef(((e,o)=>{var l,n,d,c,v,p,f,b,m,h,_;const{id:g,inputGroupVariant:y="2",minCharactersCountToOpen:O,labels:w,leftIcon:x,rightIcon:C,clearIcon:k,value:R,options:j,optionHeightModal:Z,onChange:L,onClear:P,searchConfig:S,textTransform:T,isRTL:E,_style:N}=e,{label:G,ariaLabel:B,placeholder:I,errorMessage:A,noOptionsMessage:M,modalTitle:$,modalDescription:D,clearButtonLabel:F,modalClearButton:z,modalDoneButton:V}=w,{0:q,1:X}=(0,t.useState)(!1),{0:H,1:U}=(0,t.useState)(0),W=(0,t.useRef)(),K=(0,t.useRef)(),Y=(0,t.useRef)(),J=(0,t.useRef)(),Q=(0,r.pA)(e),ee=(0,a.Z)(null===W||void 0===W?void 0:W.current),oe=(0,a.Z)(null===K||void 0===K?void 0:K.current),le=()=>q&&X(!1),ne=()=>{const e=null===Y||void 0===Y?void 0:Y.current;if("function"===typeof(null===e||void 0===e?void 0:e.querySelector)){var o;const l=null===e||void 0===e?void 0:e.querySelector('[role="combobox"]'),n=null===e||void 0===e?void 0:e.querySelector("input"),t="true"===(null===l||void 0===l?void 0:l.getAttribute("aria-expanded"));(null===n||void 0===n||null===(o=n.value)||void 0===o?void 0:o.length)>=O&&!t?(()=>{const e=null===Y||void 0===Y?void 0:Y.current,o=null===e||void 0===e?void 0:e.querySelector("button");null===o||void 0===o||o.click()})():(()=>{const e=null===Y||void 0===Y?void 0:Y.current;if("function"===typeof(null===e||void 0===e?void 0:e.querySelector)){const o=null===e||void 0===e?void 0:e.querySelector("input");null===o||void 0===o||o.focus()}})()}};(0,t.useEffect)((()=>{q&&ne()}),[q]),(0,r.N7)((()=>{q&&(()=>{const e=ee-oe;H!==e&&U(e)})()}),[q,oe,ee]);const te=Array.isArray(j)&&j.length?j.filter((e=>e.value===R))[0]:null;return(0,u.BX)(i.kC,{ref:o,className:"w-full",children:[(0,u.tZ)(i.BZ,s(s({},Q),{},{label:G,clearButtonLabel:F,_style:N._inputGroup,errorMessage:A,errorMessageId:`${g}-error`,hasValue:!!R,leftIcon:x,rightIcon:C,clearIcon:k,onClick:()=>!q&&X(!0),onClear:P,variant:y,isRTL:E,children:(0,u.tZ)(i.zx,{"aria-label":B,"aria-describedby":`${g}-error`,"aria-haspopup":"dialog","aria-expanded":q,"aria-controls":`${g}-modal`,ariaInvalid:!!A,describedBy:`${g}-error`,className:"flex flex-nowrap truncate text-left focus:outline-none text-inherit border-none",children:te?te.label:I})})),(0,u.tZ)(i.Bn,{id:`${g}-modal`,title:$,description:D,open:q,isRTL:E,header:(0,u.BX)(i.kC,{className:"w-full h-10 justify-center items-center",_style:null===N||void 0===N||null===(l=N._modal)||void 0===l?void 0:l._header,children:[(0,u.tZ)(i.kC,{className:"absolute left-0",children:(0,u.tZ)(i.zx,{"data-att":"back",onClick:()=>le(),className:"flex justify-center",_style:null===N||void 0===N||null===(n=N._modal)||void 0===n||null===(d=n._header)||void 0===d?void 0:d._backButton,children:"keyboard_arrow_left"})}),(0,u.tZ)(i.xv,{className:"truncate m-0",as:"h3",_style:null===N||void 0===N||null===(c=N._modal)||void 0===c||null===(v=c._header)||void 0===v?void 0:v._title,children:$})]}),footer:(0,u.BX)(i.kC,{className:"w-full justify-end items-center p-2 space-x-2 rtl:space-x-reverse",_style:N._modal._footer,children:[(0,u.tZ)(i.zx,{"data-att":"clear",className:"px-4 py-2 justify-center items-center",_style:null===N||void 0===N||null===(p=N._modal)||void 0===p||null===(f=p._footer)||void 0===f?void 0:f._clearButton,onClick:()=>L(""),children:z}),(0,u.tZ)(i.zx,{"data-att":"done",className:"px-4 justify-center items-center",_style:null===N||void 0===N||null===(b=N._modal)||void 0===b||null===(m=b._footer)||void 0===m?void 0:m._doneButton,onClick:le,children:V})]}),onClose:()=>X(!1),_style:{_overlay:s(s({},null===N||void 0===N||null===(h=N._modal)||void 0===h?void 0:h._overlay),{},{"@media (min-width: 576px)":{backdropFilter:"blur(5px)",background:"rgba(0,0,0,0.5)"}}),_container:s(s({background:"#fff"},null===N||void 0===N||null===(_=N._modal)||void 0===_?void 0:_._container),{},{top:"0",left:"0",height:"100%",width:"100%","@media (min-width: 576px)":{top:"50%",left:"50%",transform:"translate(-50%, -50%)",height:"90vh",maxHeight:"926px",width:"428px"}})},children:(0,u.tZ)(i.kC,{ref:W,className:"w-full h-full items-start",children:(0,u.tZ)(i.kC,{ref:K,className:"w-full p-4",children:(0,u.tZ)(i.BZ,{ref:Y,"data-att":"modal-input-group",label:G,labelId:`${g}-label`,labelFor:`${g}-input`,clearButtonLabel:F,hasValue:!!R,leftIcon:x,rightIcon:C,clearIcon:k,onClick:ne,onClear:e=>P(e),variant:y,isRTL:E,_style:N._inputGroup,children:(0,u.tZ)(i.F2,{ref:J,inputId:`${g}-input`,labelId:`${g}-label`,ariaLabel:null===w||void 0===w?void 0:w.ariaLabel,emptyLabel:M,placeholderL
1abel:I,value:R,options:j,onChange:e=>{e&&q&&le(),L(e)},minCharactersCountToOpen:O,dropdownHeight:H,optionsToRender:Math.floor(H/Z),searchConfig:S,textTransform:T,_style:s(s({},N),{},{_menu:s(s({},N._menu),{},{boxShadow:"none !important",borderRadius:"0px",borderTop:"1px solid #e1e1e1",border:"none",marginTop:".8rem",_option:s(s({},N._menu._option),{},{borderRadius:"0px"})})})})})})})})]})})),c.defaultProps={variant:"4"};var v=c},45974:function(e,o,l){var n=l(67294);o.Z=function(e){const o=(0,n.useRef)(),{0:l,1:t}=(0,n.useState)(0);function r(){var e;null===(e=o.current)||void 0===e||e.disconnect(),o.current=null}return(0,n.useEffect)((()=>(o.current=new ResizeObserver((e=>{e.forEach((e=>{const{width:o}=e.target.getBoundingClientRect();l!==o&&t(o)}))})),r)),[]),(0,n.useEffect)((()=>{var l,n;o&&o.current&&(e instanceof Element||e instanceof SVGElement?null===(l=o.current)||void 0===l||l.observe(e):null===(n=o.current)||void 0===n||n.disconnect())}),[e]),[l]}},55291:function(e,o,l){l.d(o,{Z:function(){return f}});var n=l(27361),t=l.n(n),r=l(92809),i=l(11377);function a(e){return null!==e&&"object"===typeof e&&(e.constructor===Object||null===Object.getPrototypeOf(e))}function u(e,o){return Array.isArray(e)?function(e,o){const l=e.map(o);return l.some(((o,l)=>o!==e[l]))?l:e}(e,(e=>u(e,o))):a(e)?function(e,o){const l=Object.entries(e).map((([e,l])=>[e,o(e,l)]));return l.some((([o,l])=>l!==e[o]))?Object.fromEntries(l):e}(e,((e,l)=>{const n=o(e,l);return void 0!==n?n:u(l,o)})):e}function d(e,o){return Array.isArray(o)&&0!==o.length?u(e,((e,l)=>"headers"===e?function(e,o){if(!a(e))return e;if(!Array.isArray(o)||0===o.length)return e;const l=new Set(o.flatMap((e=>{if("string"!==typeof e)return[];const o=e.trim().toLowerCase();return o.length>0?[o]:[]})));if(0===l.size)return e;const n=Object.entries(e),t=n.filter((([e])=>!l.has(e.toLowerCase())));return t.length===n.length?e:Object.fromEntries(t)}(l,o):void 0)):e}function s(e,o){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),l.push.apply(l,n)}return l}function c(e){for(var o=1;o<arguments.length;o++){var l=null!=arguments[o]?arguments[o]:{};o%2?s(Object(l),!0).forEach((function(o){(0,r.Z)(e,o,l[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):s(Object(l)).forEac
1h((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(l,o))}))}return e}const v=["em-api-key"];const p={aa:e=>{if((0,i.yF)()||!e||!e.servicesConfig)return e;const o=d(e.servicesConfig,v);return o===e.servicesConfig?e:c(c({},e),{},{servicesConfig:o})}};var f=e=>{if(!e||"object"!==typeof e)return e;if(!t()(e,"settings.cmpConfigTransform.enabled",!1))return e;const o=String(t()(e,"context.airline.code","")).toLowerCase();if(!o)return e;const l=p[o];if("function"!==typeof l)return e;try{return l(e)||e}catch(n){return console.error(`tenantCmpConfigTransform[${o}] threw an error:`,n),e}}},14227:function(e,o,l){l.d(o,{V:function(){return r}});var n=l(67294),t=l(14879);function r(e=0){let[o,l]=(0,n.useState)(e),r=(0,t.t)(),i=(0,n.useCallback)((e=>{r.current&&l((o=>o|e))}),[o,r]),a=(0,n.useCallback)((e=>Boolean(o&e)),[o]),u=(0,n.useCallback)((e=>{r.current&&l((o=>o&~e))}),[l,r]),d=(0,n.useCallback)((e=>{r.current&&l((o=>o^e))}),[l]);return{flags:o,addFlag:i,hasFlag:a,removeFlag:u,toggleFlag: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.